Skip to content

fix(typescript): respect excluded globs in tslint #2961

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

Merged
merged 1 commit into from
Nov 19, 2018
Merged

fix(typescript): respect excluded globs in tslint #2961

merged 1 commit into from
Nov 19, 2018

Conversation

johnfraney
Copy link
Contributor

@johnfraney johnfraney commented Nov 15, 2018

Updates tslint.js to respect linterOptions.exclude from tslint.json.

Previously, this configuration option was ignored in favour of the
following list of globs:

['src/**/*.ts', 'src/**/*.vue', 'src/**/*.tsx', 'tests/**/*.ts', 'tests/**/*.tsx']

See:
https://palantir.github.io/tslint/usage/configuration/

Updates `tslint.js` to respect `linterOptions.exclude`() from `tslint.json`.

Previously, this configuration option was ignored in favour of the
following list of globs:

```
['src/**/*.ts', 'src/**/*.vue', 'src/**/*.tsx', 'tests/**/*.ts', 'tests/**/*.tsx']
```

See:
https://palantir.github.io/tslint/usage/configuration/
@johnfraney johnfraney changed the title feat(typescript): respect excluded globs in tslint fix(typescript): respect excluded globs in tslint Nov 15, 2018
@johnfraney
Copy link
Contributor Author

The failing tests look to be unrelated to the changes in this PR

@haoqunjiang haoqunjiang merged commit af4e498 into vuejs:dev Nov 19, 2018
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.

2 participants