Updated ESLint configuration to better match project's code style

This commit is contained in:
shooter0106 2019-09-11 22:23:49 +07:00 committed by Victor Perevertkin
parent 8950b28d93
commit 91455cf1a3

View File

@ -4,7 +4,10 @@
"commonjs": true,
"es6": true
},
"extends": "eslint:recommended",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
@ -13,8 +16,8 @@
"ecmaVersion": 2018
},
"rules": {
"indent": ["error", "tab"],
"linebreak-style": ["error", "windows"],
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"]
}