jonaskello / tslint-immutable

TSLint rules to disable mutation in TypeScript.
MIT License
417 stars 14 forks source link

How to disable semicolon insertion? #144

Closed g5becks closed 5 years ago

g5becks commented 5 years ago

Hi, I am using these rules along with tslint-config-prettier , in my tslint.json I have set the rule "semicolon": [true, "never"], and also have my prettierrc set to not use semicolons.

When using "tslint-immutable/all", when vscode applies fixes on save it automatically inserts semicolons (overriding other settings) when adding the readonly modifier. Is there currently any way to tweak this behavior?

Thanks.

RebeccaStevens commented 5 years ago

None of the rules in this project do anything that effects semicolons. I suspect your issue lies elsewhere.

If you are sure it is this project at fault, could you provide a minimal code example?