Tslint expects no semicolon for bound class methods, webstorm adds them when auto formatting

I have a function like this inside my class:

test = (test1) => {
}

Now WebStorm adds a semicolon like this:

selection = (event) => {
};


Then of course Tslint complains that there's unnecessary semicolons added which in turn gives me a sort of loop.

This only happens with arrow functions.

Any ideas on how to fix this?

2 comments
Comment actions Permalink

Thanks for the quick reply Elena!

0

Please sign in to leave a comment.