You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, I have to explicitly add node_modules/** to the exclude list. Correct me if I'm wrong but this should not be the case, i.e. built in.
The text was updated successfully, but these errors were encountered:
LinusBorg
changed the title
explicite exclusion of node_modules/** should not be required.
TSLint: node_modules/** should be excluded by default
Apr 30, 2018
Looks like eslint ignores node_modules/** by default but tslint does not. Should be an easy fix to update the tslint plugin to match the eslint behavior
dhensche
pushed a commit
to dhensche/vue-cli
that referenced
this issue
Apr 30, 2018
TSLint doesn't ignore `node_modules/**` by default.
By using `linterOptions` in `tslint.json`, this makes glob argument more generic.
See <vuejs/vue-cli#1194>
See also #107
…108)
TSLint doesn't ignore `node_modules/**` by default.
By using `linterOptions` in `tslint.json`, this makes glob argument more generic.
See <vuejs/vue-cli#1194>
See also #107
Version
3.0.0-beta.6
Reproduction link
https://github.com/jubairsaidi/vue_exclusion_bug
Steps to reproduce
Create a new project, and then install vue-awesome
npm i vue-awesome
then in your main.ts file:
then run
npm run serve
What is expected?
What is actually happening?
To solve this, this is what my tslint.json looks like
As you can see, I have to explicitly add node_modules/** to the exclude list. Correct me if I'm wrong but this should not be the case, i.e. built in.
The text was updated successfully, but these errors were encountered: