SandDance/.eslintrc.json

67 строки
1.3 KiB
JSON

{
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"no-inner-declarations": [
"off"
],
"no-mixed-spaces-and-tabs": [
"off"
],
"no-prototype-builtins": [
"off"
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"no-unused-vars": [
"off"
],
"prefer-spread" :[
"off"
],
"quote-props": [
"error",
"consistent-as-needed"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
]
}
}