-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
33 lines (33 loc) · 1.01 KB
/
.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
33
module.exports = {
env: {
mocha: true,
browser: true,
es2021: true,
},
extends: ["airbnb", "plugin:import/errors", "plugin:import/warnings", "plugin:prettier/recommended", "prettier"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["@typescript-eslint"],
rules: {
semi: [2, "always"],
"no-use-before-define": "off",
"no-restricted-syntax": "off",
"no-await-in-loop": "off",
"prefer-destructuring": "warn",
"import/extensions": "off",
"import/no-unresolved": "off",
"import/no-extraneous-dependencies": "warn",
"arrow-body-style": "off",
"consistent-return": "warn",
"import/prefer-default-export": "off",
"no-unused-vars": "off",
"no-plusplus": "off",
"func-names": "off",
"no-unused-expressions": "off",
"no-console": "off",
"no-param-reassign": "warn",
},
};