mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
Dont use tsx unless needed
This commit is contained in:
@@ -139,7 +139,10 @@
|
||||
"react/hook-use-state": "error",
|
||||
"react-hooks/exhaustive-deps": "error",
|
||||
"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-sort-props": [
|
||||
"error",
|
||||
@@ -224,7 +227,7 @@
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["__tests__/**/*.spec.tsx"],
|
||||
"files": ["__tests__/**/*.spec.ts"],
|
||||
"rules": {
|
||||
"playwright/no-standalone-expect": "off"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user