We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x
- [x] bug report -> please search issues before submitting (search: `linterOptions`) - [ ] feature request
- [ ] new - [ ] build - [ ] serve - [ ] test - [ ] e2e - [ ] generate - [ ] add - [ ] update - [x] lint - [ ] xi18n - [ ] run - [ ] config - [ ] help - [ ] version - [ ] doc
node: v8.11.2 npm: 6.0.1 ng:
Angular CLI: 1.6.3 Node: 8.11.2 OS: win32 x64 Angular: 5.2.11 ... animations, common, compiler, compiler-cli, core, forms ... http, language-service, platform-browser ... platform-browser-dynamic, router @angular/cli: 1.6.3 @angular-devkit/build-optimizer: 0.0.42 @angular-devkit/core: 0.0.29 @angular-devkit/schematics: 0.0.52 @ngtools/json-schema: 1.1.0 @ngtools/webpack: 1.9.3 @schematics/angular: 0.1.17 typescript: 2.5.3 webpack: 3.10.0
Add a linterOptions property in the tslint.json config file, and configure a exclude list of files globs to be ignored.
linterOptions
tslint.json
exclude
{ "linterOptions": { "exclude": [ "/**/*.spec.ts" ] }, }
spec files are linting anyway.
spec files should not be checked.
The text was updated successfully, but these errors were encountered:
Duplicate of #11773, as an temporary solution can you try to remove the leading /?
/
Sorry, something went wrong.
Will try. Thanks!
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Successfully merging a pull request may close this issue.
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
node: v8.11.2
npm: 6.0.1
ng:
Repro steps
Add a
linterOptions
property in thetslint.json
config file, and configure aexclude
list of files globs to be ignored.The log given by the failure
spec files are linting anyway.
Desired functionality
spec files should not be checked.
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: