Skip to content

Commit 9aa12f4

Browse files
committed
tweak eslintrc
1 parent 2399cb3 commit 9aa12f4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.eslintrc.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ module.exports = {
22
extends: [
33
// https://eslint.org/docs/rules/
44
"eslint:recommended",
5-
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/src/configs/recommended.json
5+
// https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/src/configs/recommended.ts
66
"plugin:@typescript-eslint/recommended",
7-
// https://prettier.io/docs/en/eslint.html
8-
"prettier",
97

108
// https://github.com/benmosher/eslint-plugin-import
119
"plugin:import/recommended",
1210
"plugin:import/typescript",
11+
12+
// https://prettier.io/docs/en/integrating-with-linters.html
13+
// > Make sure to put it last, so it gets the chance to override other configs.
14+
"prettier",
1315
],
1416
plugins: [],
1517
parser: "@typescript-eslint/parser",

0 commit comments

Comments
 (0)