-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
33 lines (33 loc) · 921 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
31
32
33
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"arrow-parens": ["error", "as-needed"],
"arrow-body-style": "off",
"comma-dangle": ["error", "never"],
"eol-last": ["error", "never"],
"import/no-extraneous-dependencies": "off",
"indent": ["error", "tab"],
"lines-between-class-members": "off",
"linebreak-style": ["error", "unix"],
"max-len": ["error", { "code": 150, "tabWidth": 4 }],
"one-var": "off",
"no-tabs": ["error", { "allowIndentationTabs": true }],
"no-shadow": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"one-var-declaration-per-line": "off",
"prefer-const": "off"
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}