We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule "@eslint-react/naming-convention/use-state" triggers in JSX/TSX files, but not in JS/TS files (hook implementations).
https://stackblitz.com/edit/vitejs-vite-cu2wkgxw
npm run lint
App.tsx
useTest.ts
Should trigger in useTest.ts too.
"@eslint-react/eslint-plugin": "^1.28.0"
No response
The text was updated successfully, but these errors were encountered:
fix: reimplement 'naming-convention/use-state', closes #953
6af9b66
3ba947a
No branches or pull requests
Describe the bug
Rule "@eslint-react/naming-convention/use-state" triggers in JSX/TSX files, but not in JS/TS files (hook implementations).
Reproduction
https://stackblitz.com/edit/vitejs-vite-cu2wkgxw
npm run lint
App.tsx
useTest.ts
tooExpected behavior
Should trigger in
useTest.ts
too.Platform and versions
Stack trace
Additional context
No response
The text was updated successfully, but these errors were encountered: