Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Feb 14, 2024
1 parent cb9ce46 commit 7891bc3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
export default {
'**/*.vue': [
'prettier --write',
'eslint -c .eslintrc.cjs',
'stylelint --config stylelint.config.js'
],
'**/*.{ts,tsx,js,jsx}': ['eslint -c .eslintrc.cjs'],
'**/*.{ts,tsx,js,jsx}': ['eslint -c .eslintrc.cjs', 'prettier --write'],
'**/*.{ts,tsx,vue}': [() => 'tsc -p tsconfig.json --noEmit'],
'**/*.{scss,css,sass}': ['stylelint --config stylelint.config.js'],
'**/*.{scss,css,sass}': [
'stylelint --config stylelint.config.js',
'prettier --write'
],
'**/*.{json,md}': ['prettier --write']
}

0 comments on commit 7891bc3

Please sign in to comment.