-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
34 lines (34 loc) · 937 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
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "import"],
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
],
"rules": {
"no-undef": "off",
"implicit-arrow-linebreak": "off",
"operator-linebreak": "off",
"function-paren-newline": "off",
"arrow-parens": "off",
"no-underscore-dangle": "off",
"import/group-exports": 2,
"import/prefer-default-export": "off",
"import/extensions": "off",
"import/namespace": [2, { "allowComputed": true }],
"import/no-extraneous-dependencies": [
"error",
{ "devDependencies": ["**/test/**/*.ts"] }
],
"@typescript-eslint/indent": ["error", 2],
"object-curly-newline": [
"error",
{
"ExportDeclaration": { "multiline": true, "minProperties": 5 }
}
]
}
}