generated from CForrest97/ts-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
32 lines (32 loc) · 817 Bytes
/
.eslintrc.js
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
module.exports = {
env: {
es2020: true,
node: true,
jest: true,
},
extends: ["airbnb-base", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 11,
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {
"max-len": "off",
"arrow-body-style": ["error", "as-needed"],
"@typescript-eslint/no-explicit-any": "off",
"import/extensions": ["error", "never"],
"import/prefer-default-export": "off",
"no-useless-constructor": "off",
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"],
},
settings: {
"import/resolver": {
node: {
extensions: [".js", ".jsx", ".ts", ".tsx"],
},
},
},
};