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

ESLint v8.53.0 deprecated stylistic rules #1

Open
ElSaico opened this issue Mar 5, 2024 · 1 comment
Open

ESLint v8.53.0 deprecated stylistic rules #1

ElSaico opened this issue Mar 5, 2024 · 1 comment

Comments

@ElSaico
Copy link

ElSaico commented Mar 5, 2024

Too much added complexity and maintenance work in core - for something that's better handled by dedicated formatters - was the stated reason (see: eslint/eslint#17522), with the TypeScript and React plugins following suit.

There are two alternatives for the future, then:

  1. @stylistic/eslint-plugin as a 1:1 replacement - an immediate solution
  2. Create a new plugin for a tool like Prettier - which has the advantage of handling Svelte as well
@typhonrt
Copy link
Member

typhonrt commented Mar 5, 2024

Always good to note. Let me know if you see any actual deprecation warnings. I don't use ESLint for code formatting per se, but there may be some long standing rules that I need to redefine / change plugins if necessary.

The TyphonJS ESLint config setup is what I use for development and do have setup in the Foundry TRL demo repos, but it's not a requirement. You are free to modify things as you like for the rules / setup you prefer.

Once the Svelte 5 transition occurs I'll also be evaluating adding Svelte support and more, but waiting on all of that, so quite likely unless there are deprecation warnings the TJS config files will be updated later this year.

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

No branches or pull requests

2 participants