source.fixAll.tslint has no effect
See original GitHub issueThe extension page says to use the setting below to enforce format on save:
"editor.codeActionsOnSave": {
"source.fixAll.tslint": true
}
This has no effect, however. tslint only formats on save if the key is source.fixAll
, adding the .tslint
to the end breaks it.
VS Code version 1.33.0-insider Extension version 1.0.0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:12
- Comments:29 (6 by maintainers)
Top Results From Across the Web
How to stop Visual Studio Code from adding a two spaces ...
Try adding this to your vscode settings: "editor.codeActionsOnSave": { "source.fixAll.tslint": true, },.
Read more >vscode-stylelint - Visual Studio Marketplace
⚠️ Stylelint is No Longer Bundled. Unlike 0.x, 1.x no longer provides a copy of Stylelint bundled with the extension. Bundling Stylelint ...
Read more >tslint auto fix vscode, tslint autofix on save, tslint --fix example, tslint ...
"tslint.exclude": "src/**/*.spec.ts" This has no effect. Tslint is still reporting violations in the editor and in the Problems pane. Any file ...
Read more >PhpStorm - Code Inspections in JavaScript and TypeScript
This is usually the case if the imported symbols are not used in the source file. To avoid side-effects, consider using bare import...
Read more >How to configure Prettier and VSCode
You can configure JavaScript code auto-formatting with Prettier to ... you have files that should not be formatted: auto-generated source ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I also confirm that after updating to v1.34, the autofix feature doesn’t work anymore.
Version: 1.34.0 (user setup) Commit: a622c65b2c713c890fcf4fbf07cf34049d5fe758 Date: 2019-05-15T21:59:37.030Z Electron: 3.1.8 Chrome: 66.0.3359.181 Node.js: 10.2.0 V8: 6.6.346.32 OS: Windows_NT x64 10.0.18362
Can confirm that the following setting is not working with vs-code 1.33.1: