-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
33 lines (33 loc) · 1.04 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 = {
extends: ["standard-with-typescript"],
parserOptions: {
project: "./tsconfig.json",
},
parser: "@typescript-eslint/parser",
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unused-vars-experimental": "error",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/prefer-reduce-type-parameter": "off",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/space-before-function-paren": "off",
"generator-star-spacing": ["error", { before: false, after: true }],
"yield-star-spacing": ["error", { before: false, after: true }],
"react-hooks/exhaustive-deps": "off",
"react-hooks/rules-of-hooks": "error",
"@typescript-eslint/member-delimiter-style": [
"error",
{
multiline: {
delimiter: "none",
requireLast: false,
},
singleline: {
delimiter: "comma",
requireLast: false,
},
},
],
},
};