-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
33 lines (33 loc) · 1.39 KB
/
.eslintrc.json
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
{
"extends": ["neon/common", "neon/node", "neon/typescript", "neon/no-deprecated", "neon/module", "neon/prettier"],
"parserOptions": {
"ecmaVersion": "latest",
"project": "./tsconfig.eslint.json",
"extraFileExtensions": [".mjs"]
},
"ignorePatterns": ["node_modules/", "dist/", "tests/"],
"rules": {
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-imports": ["error", { "fixStyle": "inline-type-imports" }],
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/no-import-type-side-effects": "error",
// "@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-throw-literal": "off",
// "@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/restrict-plus-operands": "off",
"curly": ["error", "multi-line", "consistent"],
"import/no-duplicates": ["error", { "prefer-inline": true }],
"jsdoc/check-param-names": "off",
"logical-assignment-operators": ["error", "always", { "enforceForIfStatements": true }],
"prefer-named-capture-group": "off",
"prefer-promise-reject-errors": "off",
"promise/prefer-await-to-callbacks": "off",
"promise/prefer-await-to-then": "off",
"quotes": ["error", "single", { "avoidEscape": true }],
"require-atomic-updates": "off",
"sonarjs/no-nested-switch": "off",
"tsdoc/syntax": "off",
"unicorn/no-unsafe-regex": "off",
"unicorn/prefer-string-replace-all": "off"
}
}