angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Tslint line length issue

Open seescode opened this issue 9 years ago • 2 comments

Windows 10 angular-cli: 1.0.0-beta.18

Hello when I write my unit tests I just copy and paste in giant json responses I get from an api. Unfortunately tslint complains that the line length is too long. One idea I had was to just move the json responses into a response.json file and have my unit test import them. Currently it appears that the angular cli (webpack 1) does not support importing json files. I could also increase the tslint line length from 200 to something much higher but generally I want my code to be within 200 characters but my test responses to be longer.

Do you have any suggestions on how I can achieve my goal?

seescode avatar Feb 13 '17 14:02 seescode

I'm sorry but this question isn't very well suited for the issue tracker. Stack overflow would be a better place to ask it in.

filipesilva avatar Feb 13 '17 15:02 filipesilva

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.