forked from currenthandle/zupass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
30 lines (30 loc) · 832 Bytes
/
index.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
module.exports = {
extends: [
"eslint:recommended",
"turbo",
"prettier",
"turbo",
"plugin:@typescript-eslint/recommended"
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "react", "react-hooks"],
ignorePatterns: ["*.d.ts"],
rules: {
"no-case-declarations": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error",
{
argsIgnorePattern: "^_",
varsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "error",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "error",
"@typescript-eslint/no-empty-interface": "off",
"react/no-unescaped-entities": "off"
}
};