Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-airbnb-base eslint-plugin-node eslint-config-node
Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-config-airbnb-base eslint-plugin-node eslint-config-node
player
is better than plr
.wasCalled
is better than hasBeenCalled
. notify
is better than doNotification
.isFirstRun
is better than firstRun
.increment
is better than plusOne
. unzip
is better than filesFromZip
.onClick
is better than click
.isFlying
instead of isNotFlying
. late
intead of notOnTime
.if not something then ... else ... end
.missingValue
instead of not hasValue
.player
is better than plr
.wasCalled
is better than hasBeenCalled
. notify
is better than doNotification
.isFirstRun
is better than firstRun
.increment
is better than plusOne
. unzip
is better than filesFromZip
.onClick
is better than click
.isFlying
instead of isNotFlying
. late
intead of notOnTime
.if not something then ... else ... end
.missingValue
instead of not hasValue
.{ | |
// START: Settings for Eslint and Prettier | |
"editor.defaultFormatter": "esbenp.prettier-vscode", | |
"editor.formatOnSave": true, | |
"[javascript]": { | |
"editor.formatOnSave": false | |
}, | |
"[javascriptreact]": { | |
"editor.formatOnSave": false | |
}, |