sjdemartini / mui-tiptap

A Material UI (MUI) styled WYSIWYG rich text editor, using Tiptap
MIT License
320 stars 44 forks source link

Upgrade eslint from v8 to v9 #294

Closed sjdemartini closed 1 week ago

sjdemartini commented 1 week ago

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.