New issue
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
Results of weekly scheduled smoke test #3178
Comments
Hmm, that particular file isn't valid JS at all, because |
That's right - this file should not be passed to rules by ESLint. It should crash at parsing step before ESLint passes the sources to rules. When testing this file at ASTExplorer it seems that We should exclude the eslintrc: {
...
- parser: '@typescript-eslint/parser',
+ overrides: [
+ {
+ files: ['*.ts', '*.tsx'],
+ parser: '@typescript-eslint/parser',
+ },
+ ], |
Detected 1 ESLint reports and/or crashes.
Scanned 2818 repositories.
Rules:
react/hook-use-state
Click to expand
Rule: react/hook-use-state
Cannot read property 'defs' of null Occurred while linting /github/workspace/node_modules/eslint-remote-tester/.cache-eslint-remote-tester/maxim-andrews/setup-app-suite/packages/setup-app-templates/templates/react/src/Components/ServerFetch/index.js:143 Rule: "react/hook-use-state"
maxim-andrews/setup-app-suite/packages/setup-app-templates/templates/react/src/Components/ServerFetch/index.js
The text was updated successfully, but these errors were encountered: