forked from TheDrone7/Wumpi
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
30 lines (30 loc) · 899 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"env": {
"node": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"linebreak-style": ["error", "unix"],
"no-duplicate-imports": "error",
"no-use-before-define": "error",
"curly": ["error", "multi"],
"dot-notation": "error",
"eqeqeq": ["error", "always"],
"prefer-arrow-callback": "error",
"prefer-const": "error",
"multiline-ternary": ["error", "always-multiline"],
"no-extra-parens": ["error", "all", { "nestedBinaryExpressions": false }],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"prettier/prettier": 2,
"no-unused-vars": "off",
"max-len": ["error", 120, {"ignoreTemplateLiterals": true}]
},
"extends": ["eslint:recommended", "prettier"],
"plugins": ["prettier"],
"noInlineConfig": true
}