-
Notifications
You must be signed in to change notification settings - Fork 12k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfuleffort1: easy (hours)severity3: brokenseverity5: regressiontype: bug/fix
Description
Bug Report or Feature Request (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
Versions.
Repro steps.
I am trying to exclude my node_modules from linting.
I tried adding the excludes in the lint property in the .angular-cli.json file.
However it did not work.
"lint": [
{
"project": "src/tsconfig.app.json",
"exclude": "/node_modules//"
},
{
"project": "src/tsconfig.spec.json",
"exclude": "/node_modules//"
},
{
"project": "e2e/tsconfig.e2e.json",
"exclude": "/node_modules//*"
}
The log given by the failure.
Desired functionality.
To exclude the node_modules from linting.
Mention any other details that might be useful.
I tried a few different formats for the exclude, none of them worked:
"exclude": "/node_modules/"
"exclude": "/node_modules/"
"exclude": "/node_modules/"
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painfuleffort1: easy (hours)severity3: brokenseverity5: regressiontype: bug/fix