Files
lara-bermite/.eslintrc.json
2024-03-06 09:42:12 +01:00

49 lines
1.4 KiB
JSON

{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:tailwindcss/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks",
"tailwindcss"
],
"rules": {
"no-undef": ["error", {"typeof": true}],
"react-hooks/exhaustive-deps": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"semi": [2, "never"],
"tailwindcss/no-custom-classname": ["warn", {
"cssFiles": ["resources/css/app.css"],
"whitelist": []
}],
"tailwindcss/enforces-negative-arbitrary-values": "warn",
"tailwindcss/enforces-shorthand": "warn",
"tailwindcss/migration-from-tailwind-2": "warn",
// "tailwindcss/no-arbitrary-value": "off",
// "tailwindcss/no-arbitrary-value": "error",
"tailwindcss/no-contradicting-classname": "error"
},
"settings": {
"react": {
"version": "18.2"
}
}
}