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?
Please sign in to leave a comment.
please follow https://youtrack.jetbrains.com/issue/WEB-38039 for updates
Thanks for the quick reply Elena!