Skip to content

NEW @W-21101982@ Adding ignore object in config file#408

Open
namrata111f wants to merge 2 commits intodevfrom
ng-ignore-config
Open

NEW @W-21101982@ Adding ignore object in config file#408
namrata111f wants to merge 2 commits intodevfrom
ng-ignore-config

Conversation

@namrata111f
Copy link
Contributor

Adding new ignore object in config file which users can use to add file paths/glob patterns to skip running rules for all the engines.

Testing:
Case-1) Tested with the ignore patterns:

ignores:
  files:
    - "**/*.js"
    - "**/*.jsx"
ignores:
  files:
    - "**/utils.js"

Violations reported skipped the files covered in these patterns.
Case-2) Tested with no ignores object in the config files. The output contained all the expected violations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant