Skip to content

yarn linc shouldn't fail because of file-has-not-changed warning #11615

Closed
@gaearon

Description

@gaearon

Just saw this after modifying ESLint config and running yarn linc:

/Users/gaearon/p/react/.eslintrc.js
  0:0  warning  File ignored by default.  Use a negated ignore pattern (like "--ignore-pattern '!<relative/path/to/filename>'") to override

✖ 1 problem (0 errors, 1 warning)

Lint failed for changed files.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
react)            

We should not treat this particular warning as an error.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions