-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Support tslint's '--out' option in @vue/cli-plugin-typescript #2360
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
Comments
Is the cli lint command even running tslint? Or is it running eslint? I get no errors when running |
If you have installed the eslint plugin as well, This behaviour isn't really what the README says:
tslint is used by the fork-ts-checker plugin if https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-typescript/index.js#L73 I think we really need to better document this behaviour, but it's unrelated to the current issue. Please consider opening a separate issue to track improvment of docs for this. |
Happy to make a new issue, but where I was going with my question, is like the original issue, I was hoping to be able to provide command line arguments to the lint command, specifically, to change the formatter to the verbose version, because otherwise I can't see which rules to modify in order to customize the tslinting. Is that possible? Or is there a better way? |
Well then it's two things:
|
This would be very helpful :) |
Now that TSLint is officially deprecated, TSLint support will be fully dropped in the next major version; as for the current major version, no more bug fixes or features will be implemented except for security reasons. So I'm closing this issue now. |
Any idea why
The following should produce the results in Also the options |
Version
3.0.1
Node and OS info
Node 10.9.0 / yarn 1.9.4 / MacOS 10.13.6
Steps to reproduce
yarn add @vue/cli-plugin-typescript
vue-cli-service lint --format junit --out tslint.xml
What is expected?
Save tslint's output in file using '--out' option.
What is actually happening?
'tslint.xml' file does not produce.
'--out' option supported in existing tslint(https://palantir.github.io/tslint/usage/cli/) does not work with tslint in @vue/cli-plugin-typescript.
The text was updated successfully, but these errors were encountered: