Skip to content
New issue

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

tslint configuration does not accept linterOptions - exclude #85

Closed
szwoelf opened this issue Apr 5, 2018 · 1 comment · Fixed by #377
Closed

tslint configuration does not accept linterOptions - exclude #85

szwoelf opened this issue Apr 5, 2018 · 1 comment · Fixed by #377

Comments

@szwoelf
Copy link

szwoelf commented Apr 5, 2018

If I add a section like

{ ... "linterOptions": { "exclude": [ "**/generated/product-rest.ts", "**/*.css.d.ts" ] } }

the given typescript files will be still be processed by the dojo build.

If I use this tslint.json when I run tslint from the command line this works.

@szwoelf
Copy link
Author

szwoelf commented Apr 10, 2018

Even though this works for the typescript-generator - it does not work if I have a different tslint flavor than dojo. But it would also be a solution if the auto-generated **/*.css.d.ts are excluded via /* tslint:disable */ ...

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

Successfully merging a pull request may close this issue.

3 participants