Skip to content

Commit 5f63e42

Browse files
committed
Separate linting from formatting
1 parent 856295d commit 5f63e42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = {
1010
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1111
"plugin:import/typescript",
1212
"prettier/@typescript-eslint",
13-
"plugin:prettier/recommended",
13+
"prettier",
1414
],
1515
noInlineConfig: true,
1616
parser: "@typescript-eslint/parser",

lint-staged.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ module.exports = {
1717
* @param {string[]} files
1818
*/
1919
(files) => `eslint --fix ${eslintFiles(files)}`,
20+
"prettier --write",
2021
],
2122
};

0 commit comments

Comments
 (0)