forked from ultrasoundmoney/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
26 lines (26 loc) · 848 Bytes
/
.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
module.exports = {
extends: [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
],
ignorePatterns: ["next.config.js", "tailwind.config.js"],
parserOptions: {
project: ["tsconfig.json"],
},
plugins: ["@typescript-eslint"],
rules: {
"@next/next/no-img-element": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/consistent-type-imports": "warn",
"@typescript-eslint/no-misused-promises": "off",
},
// rules: {
// "react-hooks/rules-of-hooks": "error",
// "react/react-in-jsx-scope": "off",
// "react/prop-types": "off",
// "@typescript-eslint/camelcase": "off",
// "@typescript-eslint/explicit-function-return-type": ["warn"],
// },
};