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
34
35
36
37
38
39
40
41
42
43
|
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
},
extends: [
"next/core-web-vitals",
"eslint:recommended",
"plugin:react/recommended",
"plugin:@next/next/recommended",
"plugin:tailwindcss/recommended",
"plugin:@typescript-eslint/recommended",
"next",
"prettier",
"plugin:@tanstack/eslint-plugin-query/recommended",
],
plugins: ["tailwindcss", "@typescript-eslint", "@tanstack/query"],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
ignorePatterns: ["postcss.config.js"],
rules: {
"@next/next/no-html-link-for-pages": "off",
"tailwindcss/no-custom-classname": "off",
"tailwindcss/migration-from-tailwind-2": "off",
"@typescript-eslint/no-unused-vars": [
"off",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_",
},
],
},
overrides: [
{
files: ["*.ts", "*.tsx"],
parser: "@typescript-eslint/parser",
},
],
};
|