Skip to content

Commit 91455cf

Browse files
shooter0106Extravert-ir
authored andcommitted
Updated ESLint configuration to better match project's code style
1 parent 8950b28 commit 91455cf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.eslintrc.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
"commonjs": true,
55
"es6": true
66
},
7-
"extends": "eslint:recommended",
7+
"extends": [
8+
"eslint:recommended",
9+
"plugin:react/recommended"
10+
],
811
"globals": {
912
"Atomics": "readonly",
1013
"SharedArrayBuffer": "readonly"
@@ -13,8 +16,8 @@
1316
"ecmaVersion": 2018
1417
},
1518
"rules": {
16-
"indent": ["error", "tab"],
17-
"linebreak-style": ["error", "windows"],
19+
"indent": ["error", 2],
20+
"linebreak-style": ["error", "unix"],
1821
"quotes": ["error", "single"],
1922
"semi": ["error", "always"]
2023
}

0 commit comments

Comments
 (0)