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
Remove style rules #1872
Comments
I agree with the idea of removing ESLint formatting rules. This is also a good explanation to understand the difference Linter vs Prettier: https://prettier.io/docs/en/comparison.html. |
I disagree with removing them. It creates a need to add two tools rather than one. I prefer having it all in one tool. |
Personally, I would still like Standard to be an all in one tool. Going in the other direction, I think it would be nice to have formatting built in as well. E.g. one approach could be to remove the eslint style-rules, and add |
I agree that the one tool prospect is in theory preferable. How about we leave this issue open until something is decided. @LinusU , I will ask you something about your suggestion in another issue. |
Bumping up this topic, due to high relevancy, I wanted to add that I chose Standard, because it's zero config and simply works. Install - run - get results. Therefore I vote to stay opinionated and make a hard decisions but keep this project alive and stay zero-config. Configurable tools are basically all JS tools in 2023 and it's simply annoying. Keeping these concepts abstracted would be awesome! I could also imagine to install a second package to include formatting, like |
Strongly opposed removing the formatting style opinions and support from |
Closing in favor of #1949. |
Discussion on what to do continues in the above issue |
ESLint style rules with fixers can only go so far. Especially as syntax surface grows. See TypeScript's indent problems.
Deterministic re-formatting blows ESLint's formatting capabilities out of the water, and actually solves the problem.
Some of our users already report disabling our style rules and using a deterministic re-formatter.
One of our contributors even opened a PR to separate them (#1868).
Much effort went into Standard's style rules, granted. Yet:
I suggest:
Users would be advised to use a deterministic re-formatter, such as Prettier and dprint.
Configuration options for those re-formatters which result in a Standard-like style would be provided, in case our users would like to minimize code changes.
Our users would thank us, I imagine.
We would be relieving ourselves of providing an inferior solution to a problem for which a superior solution is readily available.
The text was updated successfully, but these errors were encountered: