Skip to content

Dev: Linter and Formatter #2104

@shadowspawn

Description

@shadowspawn

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions