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

Possible bug with tslint.configFile #10

Open
CKGrafico opened this issue Dec 22, 2017 · 2 comments
Open

Possible bug with tslint.configFile #10

CKGrafico opened this issue Dec 22, 2017 · 2 comments

Comments

@CKGrafico
Copy link

If I've the option "tslint.configFile": "custom-tslint.json", the plugin is not working but if I remove this option the plugin is working (with the default name)

error

good

@krissrex
Copy link

I have the same issue. The plugin is NOT reading the tslint.json file from the project; it is rather ALWAYS using the default config. Any file you specify in options as a config, tslint will try to read from the VSCODE INSTALLATION FOLDER, which is obviously wrong.

To make this plugin respect ANY of your rules, you always have to set the config path to an absolute path, eg: "tslint.configFile": "/Development/Workspace/My-Vue-Project/tslint.json".

This is a serious bug, and really annoying.

@krissrex
Copy link

Setting the option to tslint.json gives the following output in the console:

[Info  - 2:28:19 PM] vscode-tslint: Cannot read tslint configuration - 'Could not find config file at: C:\Program Files\Microsoft VS Code\tslint.json'

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

No branches or pull requests

2 participants