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

build: update ESLint to v9 #766

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

build: update ESLint to v9 #766

wants to merge 1 commit into from

Conversation

matijs
Copy link
Member

@matijs matijs commented Sep 22, 2024

ESLint v8.x is end-of-life from 2024-10-05.

Left to do

  • make eslint-plugin-mdx work
  • decide whether to keep or remove name property from configs
  • go through eslint.rules.mjs to see what we need to keep and what could be removed

- Remove .eslint*.*
- Move rules to eslint.rules.mjs
- Move configuration to flat config in eslint.config.mjs
- Add typescript-eslint in favour of @eslint-typescript/parser and
  @eslint-typescript/eslint-plugin
- Use the [recommended][1] `config` function to enable autocompletion
  and documentation
- Fix a few violations

[1]: https://typescript-eslint.io/packages/typescript-eslint#config
Copy link

vercel bot commented Sep 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
example ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 22, 2024 9:17am


export default tseslint.config(
{
name: 'nlds/ignores',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We doen steeds erg ons best om niet nlds te gebruiken. Kunnen we ook hier nlds vermijden?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ja, ik haal het nog helemaal weg omdat het alleen voor te debuggen is.

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.

2 participants