Generate Setters: setVal() instead of set val
I want to follow AirBnB Style: https://airbnb.io/javascript/#accessors--no-getters-setters
How can I generate setVal accessors? I always get the set val methods.
// bad
class Dragon {
get age() {
// ...
}
set age(value) {
// ...
}
}
// good
class Dragon {
getAge() {
// ...
}
setAge(value) {
// ...
}
}
请先登录再写评论。
This can't be configured, please vote for https://youtrack.jetbrains.com/issue/WEB-37673 to be notified on any progress with this feature request