-
Notifications
You must be signed in to change notification settings - Fork 11
/
.eslintrc
39 lines (39 loc) · 1.17 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"root": true,
"env": { "browser": true, "es2021": true, "node": true },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/typescript-estree",
"ignorePatterns": ["dist/**/*", "src/data/**/*", "node_modules/**/*"],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"object-curly-spacing": ["error", "always"],
"semi": ["error", "always"],
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
"indent": ["error", "tab", { "ObjectExpression": 1 }],
"camelcase": 0,
"class-methods-use-this": 0,
"consistent-return": 0,
"func-names": ["error", "never"],
"import/no-extraneous-dependencies": 0,
"max-len": ["error", { "code": 900 }],
"no-alert": "off",
"no-console": "off",
"no-continue": 0,
"no-multi-assign": ["error", { "ignoreNonDeclaration": true }],
"no-new": 0,
"no-param-reassign": ["error", { "props": false }],
"no-plusplus": 0,
"no-return-assign": 0,
"no-tabs": 0,
"no-underscore-dangle": 0,
"no-unused-vars": 0,
"prefer-destructuring": ["error", { "object": true, "array": false }]
}
}