-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
26 lines (26 loc) · 664 Bytes
/
.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
{
"plugins": ["simple-import-sort", "prettier"],
"extends": ["airbnb-typescript/base", "prettier"],
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"rules": {
"arrow-body-style": "off",
"capitalized-comments": "error",
"import/prefer-default-export": "off",
"no-console": "error",
"prettier/prettier": "error",
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error",
"yoda": ["error", "always"]
},
"overrides": [
{
"files": ["*.spec.ts"],
"rules": {
"@typescript-eslint/no-unused-expressions": "off"
}
}
],
"ignorePatterns": ["node_modules"]
}