Skip to content

Commit

Permalink
Dont use tsx unless needed
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinBrett committed Jan 12, 2025
1 parent ae13d0d commit 3bb5fec
Show file tree
Hide file tree
Showing 15 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -224,7 +227,7 @@
},
"overrides": [
{
"files": ["__tests__/**/*.spec.tsx"],
"files": ["__tests__/**/*.spec.ts"],
"rules": {
"playwright/no-standalone-expect": "off"
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3bb5fec

Please sign in to comment.