-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
23 lines (23 loc) · 816 Bytes
/
Copy path.eslintrc.cjs
File metadata and controls
23 lines (23 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/** @type {import("eslint").Linter.Config} */
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
extends: ["next/core-web-vitals"],
parserOptions: {
tsconfigRootDir: __dirname,
project: "./tsconfig.json",
},
rules: {
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/restrict-plus-operands": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/require-await": "off",
"react-hooks/exhaustive-deps": "warn"
}
};