Skip to content
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

Upgrade eslint from v8 to v9 #294

Merged
merged 4 commits into from
Nov 17, 2024
Merged

Upgrade eslint from v8 to v9 #294

merged 4 commits into from
Nov 17, 2024

Conversation

sjdemartini
Copy link
Owner

Move to flat configs for all plugins and configuration.

This PR includes new rule autofixes (plus prettier formatting of those fixes), plus a couple rule changes (enforce react/button-has-type, and remove unnecessary override for react-hooks/exhaustive-deps). We will also now lint the example/ project via our main config, thanks to typescript-eslint projectService.

A nice way to validate what rules and plugins are in effect is:

pnpm exec eslint --print-config src/demo/App.tsx > config.json

and view the resultant config.json file.

Move to flat configs for all plugins and configuration.

This commit includes new rule autofixes (plus prettier formatting of
those fixes).

We will also now lint the example/ project via our main config, thanks
to typescript-eslint `projectService`.

A nice way to validate what rules and plugins are in effect is:

```shell
pnpm exec eslint --print-config src/demo/App.tsx > config.json
```

and view the resultant `config.json` file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant