Skip to content

Commit

Permalink
Lint staged .es6 and vue files (#4398)
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach authored Sep 26, 2024
1 parent f319d07 commit 7266367
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default [{
"no-unused-vars": "warn",
},
}, {
files: ["**/*.spec.js", "**/*.spec.jsx"],
files: ["*.js", "*.vue", "*.es6", "**/*.spec.js", "**/*.spec.jsx"],

languageOptions: {
globals: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"*.js": [
"*.{js,es6,vue}": [
"prettier --write",
"eslint"
]
Expand Down

0 comments on commit 7266367

Please sign in to comment.