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
{ | |
"workbench.startupEditor": "newUntitledFile", | |
"editor.fontSize": 14, | |
"editor.lineHeight": 1.8, | |
"javascript.suggest.autoImports": true, | |
"javascript.updateImportsOnFileMove.enabled": "always", | |
"editor.rulers": [ | |
80, | |
120 | |
], |
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
{ | |
"name": "Rojo template file", | |
"servePlaceIds": [ | |
0 | |
], | |
"tree": { | |
"$className": "DataModel", | |
"ReplicatedFirst": { | |
"$className": "ReplicatedFirst", | |
"$ignoreUnknownInstances": true, |
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 | |
}, |