Skip to content

build: update ESLint to v9#766

Closed
matijs wants to merge 1 commit intomainfrom
build/eslint-v9
Closed

build: update ESLint to v9#766
matijs wants to merge 1 commit intomainfrom
build/eslint-v9

Conversation

@matijs
Copy link
Copy Markdown
Contributor

@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
@vercel
Copy link
Copy Markdown

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

Comment thread eslint.config.mjs

export default tseslint.config(
{
name: 'nlds/ignores',
Copy link
Copy Markdown
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
Copy Markdown
Contributor 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.

@sonarqubecloud
Copy link
Copy Markdown

@matijs matijs closed this Apr 11, 2025
@matijs matijs deleted the build/eslint-v9 branch April 11, 2025 10:43
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