SimonTest icon indicating copy to clipboard operation
SimonTest copied to clipboard

TS Lint issues

Open jtc10005 opened this issue 9 years ago • 5 comments

When I generate component tests, there are some lint errors. Ex. using " instead of ', indention issues... I realize that these are due to my lint rules and no issue with SimonTest.
Is there any way to configure Simon test to either use my tslint config file or allow me to specify configuration options (like a simonTest.config.json file)? For now I am adding /* tslint:disable */ at the top of the file to disable my lint rules. Thanks.

jtc10005 avatar Apr 04 '17 21:04 jtc10005

Working on it. I'll have it read tslint.json and use the appropriate quotation mark.

SimonTestNet avatar Apr 06 '17 16:04 SimonTestNet

Quick fix for incorrectly generated indentations: Cmd Palette -> Format Document :) And anything else: Cmd Palette -> TSLint: Fix all auto-fixable problems

intellix avatar Apr 08 '17 11:04 intellix

v0.11.0 now uses the quotation mark specified in the tslint.json file.

@intellix Are the indentations wrong? Right now it uses VSCode's settings. Is there another tslint setting it should be picking up automatically?

SimonTestNet avatar Apr 08 '17 17:04 SimonTestNet

I'm using 2 spaces indentation but was getting tabs on generated tests, which is defined in .editorconfig and tslint.json :)

intellix avatar Apr 08 '17 18:04 intellix

@intellix Pick up v0.11.1. Thanks for the heads up.

SimonTestNet avatar Apr 09 '17 15:04 SimonTestNet