mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/eslintrc",
|
|
"root": true,
|
|
"extends": [
|
|
"airbnb",
|
|
"airbnb-typescript",
|
|
"airbnb/hooks",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
|
"plugin:tailwindcss/recommended",
|
|
"next/core-web-vitals",
|
|
"prettier"
|
|
],
|
|
"plugins": ["tailwindcss"],
|
|
"rules": {
|
|
"@next/next/no-html-link-for-pages": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{ "argsIgnorePattern": "^_", "varsIgnorePattern": "^_" }
|
|
],
|
|
"consistent-return": "off",
|
|
"no-else-return": "off",
|
|
"no-nested-ternary": "off",
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{ "devDependencies": ["tests/**", "playwright.config.ts"] }
|
|
],
|
|
"import/prefer-default-export": "off",
|
|
"react/function-component-definition": "off",
|
|
"react/jsx-key": "off",
|
|
"react/jsx-props-no-spreading": "off",
|
|
"react/require-default-props": "off",
|
|
"tailwindcss/no-custom-classname": "off"
|
|
},
|
|
"settings": {
|
|
"tailwindcss": {
|
|
"callees": ["cn", "cva"],
|
|
"config": "./tailwind.config.js"
|
|
},
|
|
"next": {
|
|
"rootDir": ["./"]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
}
|
|
}
|
|
]
|
|
}
|