SandDance/.eslintrc.json

72 строки
1.4 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": {
"comma-dangle": "off",
"@typescript-eslint/comma-dangle": [
"error",
"always-multiline"
],
"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"
]
}
}