Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Max line length and Prettier/ESLint #3

@tvharris

Description

@tvharris

Prettier handles max line length loosely, whereas ESLint's max-len is a hard upper limit. If we want to handle the formatting with Prettier, while letting long lines (e.g., strings) trigger ESLint, we could use Prettier as a soft limit of 100 characters and ESLint as a hard limit of 120.

Prettier rule: "printWidth": 100
ESLint rule: "max-len": ["error", {"code": 120}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions