Skip to content

Commit

Permalink
fix: lint-stagedで*.spec.tsを対象に含めるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
mii288 committed Dec 13, 2024
1 parent 53af931 commit cb67abf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/** @type {import('lint-staged').Config} */
export default {
'*.{css,scss,astro}': ['npm run fix:css', 'npm run fix:format'],
'*.{js,cjs,mjs,ts,jsx,tsx,astro}': [
'**.{css,scss,astro}': ['npm run fix:css', 'npm run fix:format'],
'**.{js,cjs,mjs,ts,jsx,tsx,astro}': [
'npm run fix:js',
'npm run fix:format',
() => 'npm run type-check'
],
'*.{md,html,json,yaml,yml}': ['npm run fix:format']
'**.{md,html,json,yaml,yml}': ['npm run fix:format']
}

0 comments on commit cb67abf

Please sign in to comment.