Skip to content

Speed up build by disabling lint #7078

Closed
@tomasbruckner

Description

@tomasbruckner

My setup is CRA 3 with react-app, airbnb and prettier eslint config.

What I have is pipeline with stages that installs dependencies, build, lint, snapshot test and e2e cypress test (and deploy).

But right now, I do linting twice, because npm build only use react-app lint rules so I have to separate stage for linting.

From the discussion here I have a feeling that there is no planned support for custom eslint rules, so would it be possible to at least have option to disable linting during build?

Building takes almost 4 minutes on CI in our project so it would be nice if there were some ways to speed it up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions