-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
40 lines (40 loc) · 1.03 KB
/
.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"airbnb-base",
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:jest/recommended"
],
"plugins": ["prettier", "@typescript-eslint", "jest"],
"parserOptions": {
"ecmaVersion": 12
},
"rules": {
"quotes": ["warn", "single"],
"import/imports-first": 2,
"import/newline-after-import": 2,
"import/no-dynamic-require": 2,
"import/no-extraneous-dependencies": 2,
"import/no-named-as-default": 2,
"import/no-unresolved": [2, { "commonjs": true, "amd": true }],
"import/no-webpack-loader-syntax": 0,
"import/prefer-default-export": 0,
"no-unused-vars": 2,
"import/extensions": [2, { ".ts": false }],
"no-console": 2,
"prettier/prettier": 2,
"no-underscore-dangle": 2,
"@typescript-eslint/explicit-module-boundary-types": 0
}
}