mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 04:51:30 +01:00
39 lines
750 B
JSON
39 lines
750 B
JSON
{
|
|
"root": true,
|
|
"extends": [
|
|
"conventions",
|
|
"next/core-web-vitals",
|
|
"plugin:tailwindcss/recommended"
|
|
],
|
|
"plugins": ["import", "promise", "unicorn"],
|
|
"settings": {
|
|
"tailwindcss": {
|
|
"callees": ["classNames"]
|
|
},
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"rules": {
|
|
"react/self-closing-comp": [
|
|
"error",
|
|
{
|
|
"component": true,
|
|
"html": true
|
|
}
|
|
],
|
|
"react/void-dom-elements-no-children": "error",
|
|
"react/jsx-boolean-value": "error"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": ["@typescript-eslint"],
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json"
|
|
}
|
|
}
|
|
]
|
|
}
|