mirror of
https://github.com/reactos/developer-web-interface.git
synced 2024-11-23 03:49:43 +00:00
Updated ESLint configuration to better match project's code style
This commit is contained in:
parent
8950b28d93
commit
91455cf1a3
@ -4,7 +4,10 @@
|
|||||||
"commonjs": true,
|
"commonjs": true,
|
||||||
"es6": true
|
"es6": true
|
||||||
},
|
},
|
||||||
"extends": "eslint:recommended",
|
"extends": [
|
||||||
|
"eslint:recommended",
|
||||||
|
"plugin:react/recommended"
|
||||||
|
],
|
||||||
"globals": {
|
"globals": {
|
||||||
"Atomics": "readonly",
|
"Atomics": "readonly",
|
||||||
"SharedArrayBuffer": "readonly"
|
"SharedArrayBuffer": "readonly"
|
||||||
@ -13,8 +16,8 @@
|
|||||||
"ecmaVersion": 2018
|
"ecmaVersion": 2018
|
||||||
},
|
},
|
||||||
"rules": {
|
"rules": {
|
||||||
"indent": ["error", "tab"],
|
"indent": ["error", 2],
|
||||||
"linebreak-style": ["error", "windows"],
|
"linebreak-style": ["error", "unix"],
|
||||||
"quotes": ["error", "single"],
|
"quotes": ["error", "single"],
|
||||||
"semi": ["error", "always"]
|
"semi": ["error", "always"]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user