forked from masb0ymas/expresso-sequelize
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.json
56 lines (56 loc) · 1.33 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{
"extends": ["airbnb-base", "plugin:prettier/recommended"],
"plugins": ["prettier", "@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"ecmaVersion": 2018,
"createDefaultProgram": true
},
"rules": {
"prettier/prettier": "error",
"semi": "off",
"radix": "off",
"func-names": "off",
"no-console": "off",
"no-shadow": "off",
"no-unused-vars": ["error", { "args": "none" }],
"consistent-return": "off",
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"import/no-unresolved": "off",
"new-cap": "off",
"no-new": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never",
"mjs": "never"
}
],
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error"
},
"env": {
"browser": true,
"node": true,
"es6": true,
"commonjs": true
},
"settings": {
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
},
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
},
"babel-module": {}
}
}
}