-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.eslintrc
57 lines (57 loc) · 1.32 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2017
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"],
"paths": ["src"]
}
}
},
"rules": {
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
],
"import/order": [
2,
{
"alphabetize": {
"order": "asc",
"caseInsensitive": false
},
"groups": ["builtin", "external", "internal", "parent", "sibling", "index"],
"newlines-between": "always",
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": ["react"]
}
],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"no-use-before-define": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended",
"plugin:import/errors"
],
"plugins": ["@typescript-eslint", "prettier", "promise", "import"]
}