zch
zch

Reputation: 15

WebStorm, close the error code not written colon

Using WebStorm.

I do not want to write semicolon ; at the end, how to turn off the error ?

Upvotes: 0

Views: 52

Answers (1)

Chris
Chris

Reputation: 355

File > Settings > Editor > Inspections > JavaScript > Code Style Issues > uncheck 'Unterminated statement'.

You'll have to restart WebStorm.

You can also do this in 'Default Settings' so this applies to any future projects.

Upvotes: 1

Related Questions