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

Please sign in to leave a comment.