Skip to content

Commit

Permalink
Fix lint-staged config
Browse files Browse the repository at this point in the history
  • Loading branch information
alimpens committed Sep 10, 2024
1 parent ecc666f commit 6ec64d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MPL-2.0
// Copyright (C) 2020 - 2021 Gemeente Amsterdam
module.exports = {
'*.{js,ts,tsx}': 'eslint',
'*.{js,jsx,ts,tsx}': ['prettier --write', 'eslint'],
}
8 changes: 1 addition & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,5 @@
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
},
"private": true,
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint"
]
}
"private": true
}

0 comments on commit 6ec64d5

Please sign in to comment.