Skip to content

Ignore "node_modules" by default #405

Open
@Chrico

Description

By default the node_modules-folder is not ignored. It should be considered - to align with ESLint and Stylelint - to ignore the folder by default.

ESLint
https://eslint.org/docs/latest/use/configure/ignore

In addition to any patterns in the .eslintignore file, ESLint always follows a couple of implicit ignore rules even if the --no-ignore flag is passed. The implicit rules are as follows:

  • node_modules/ is ignored.

Stylelint
https://stylelint.io/user-guide/configure/

Stylelint ignores the node_modules directory by default. However, this is overridden if ignoreFiles is set.

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions