forked from forge-42/react-router-devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
27 lines (27 loc) · 800 Bytes
/
.eslintrc.cjs
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
module.exports = {
env: { browser: true, es2020: true },
ignorePatterns: [
"node_modules",
"dist",
".eslintrc.cjs",
"tailwind.config.js",
"src/external",
"src/test-apps",
],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"plugin:require-extensions/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: "latest", sourceType: "module" },
plugins: ["@typescript-eslint", "require-extensions"],
rules: {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-console": "warn",
"@typescript-eslint/no-unnecessary-type-constraint": "off",
},
};