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

Dev: Linter and Formatter #2104

Open
shadowspawn opened this issue Dec 16, 2023 · 0 comments
Open

Dev: Linter and Formatter #2104

shadowspawn opened this issue Dec 16, 2023 · 0 comments
Labels
pending release Merged into a branch for a future release, but not released yet

Comments

@shadowspawn
Copy link
Collaborator

ESLint has deprecating core formatting rules: https://eslint.org/blog/2023/10/deprecating-formatting-rules/

In ESLint v8.53.0, scheduled to be released on Friday, November 3, 2023, we will formally deprecate our formatting rules. Formatting rules are those rules that simply enforce code conventions around spacing, semicolons, string formats, etc.

The blog suggests using a code formatter (like Prettier), or adding ESLint Stylistic which is going to maintain the style rules separate from core.

We were using StandardJS directly, then via eslint settings, but I have found standard painful to maintain due especially to plugins needed for TypeScript and interested in looking at an alternative approach.

I am wondering about trying Prettier for the formatting, and ESLint for the linting?

@shadowspawn shadowspawn added the pending release Merged into a branch for a future release, but not released yet label Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending release Merged into a branch for a future release, but not released yet
Projects
None yet
Development

No branches or pull requests

1 participant