Skip to content

Commit

Permalink
chore: move lint-staged config out of package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssimon committed Jan 21, 2025
1 parent b5ce432 commit 53ae067
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions lint-staged.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export default {
'**/*.{js,mjs}': 'eslint',
}
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"/lib"
],
"scripts": {
"lint": "ESLINT_USE_FLAT_CONFIG=true eslint .",
"lint": "eslint .",
"commit": "cz",
"prepack": "pinst --disable",
"postpack": "pinst --enable",
Expand Down Expand Up @@ -56,9 +56,6 @@
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"**/*.{js,mjs}": "eslint"
},
"release": {
"branches": [
"main"
Expand Down

0 comments on commit 53ae067

Please sign in to comment.