mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2025-12-06 00:20:05 +01:00
Dont use tsx unless needed
This commit is contained in:
parent
ae13d0da6b
commit
3bb5fec000
|
|
@ -139,7 +139,10 @@
|
||||||
"react/hook-use-state": "error",
|
"react/hook-use-state": "error",
|
||||||
"react-hooks/exhaustive-deps": "error",
|
"react-hooks/exhaustive-deps": "error",
|
||||||
"react/display-name": "off",
|
"react/display-name": "off",
|
||||||
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }],
|
"react/jsx-filename-extension": [
|
||||||
|
"error",
|
||||||
|
{ "allow": "as-needed", "extensions": [".tsx"] }
|
||||||
|
],
|
||||||
"react/jsx-props-no-spreading": "off",
|
"react/jsx-props-no-spreading": "off",
|
||||||
"react/jsx-sort-props": [
|
"react/jsx-sort-props": [
|
||||||
"error",
|
"error",
|
||||||
|
|
@ -224,7 +227,7 @@
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
{
|
{
|
||||||
"files": ["__tests__/**/*.spec.tsx"],
|
"files": ["__tests__/**/*.spec.ts"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"playwright/no-standalone-expect": "off"
|
"playwright/no-standalone-expect": "off"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user