Skip to content

Introduce lint-staged to Origami #290

@geekayush

Description

@geekayush

Description

Linting makes more sense when run before committing your code. By doing so you can ensure no errors go into the repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed.
I've setup lint-staged with husky in the past in one of my React App. I found it quite useful when working with a lot of people hence suggesting it here.

Expected Behavior

No new linting issues

Actual Behavior

There are no such pre-commit linters

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