-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
31 lines (31 loc) · 937 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
module.exports = {
env: {
browser: true,
es2021: true,
jest: true
},
extends: ["airbnb-base", "prettier", "plugin:prettier/recommended"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module"
},
plugins: ["@typescript-eslint", "jest", "prettier"],
rules: {
semi: [2, "never"],
quotes: [2, "double", { avoidEscape: true }],
"@typescript-eslint/no-shadow": ["error", { ignoreTypeValueShadow: true }],
"@typescript-eslint/no-unused-vars": "error",
"comma-dangle": "off",
"import/extensions": "off",
"import/no-relative-packages": "off",
"import/no-unresolved": "off",
"no-console": "off",
"no-empty-function": "off",
"no-plusplus": [2, { allowForLoopAfterthoughts: true }],
"no-shadow": "off",
"no-useless-constructor": "off",
"prettier/prettier": "error"
},
ignorePatterns: ["output-data/dist/*"]
}