-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.json
35 lines (35 loc) · 996 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
34
35
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": true,
"tsconfigRootDir": "."
},
"plugins": ["@typescript-eslint"],
"extends": ["airbnb-base", "plugin:@typescript-eslint/recommended", "prettier"],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"moduleDirectory": ["node_modules", "src/"]
}
}
},
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"max-len": ["warn", { "code": 120 }],
"no-console": "off",
"import/no-extraneous-dependencies": "off",
"no-use-before-define": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}