0.0.6 • Published 4 years ago
sankey-test v0.0.6
Boilerplate
Dot and starter files.
How to use?
- Download
boilerplate.zip
- Extract files
- Change paths & fix package.json
- Profit
Set up VS Code
- install "ESLint (Dirk Baeumer)"
- install "Prettier - Code formatter (Esben Petersen)"
- Remove other ESLint / Prettier plugins...
- Open VS Code settings
Code -> Preferences -> Settings
{
"editor.formatOnSave": true,
// Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through Eslint already
"prettier.disableLanguages": ["javascript"],
// tell the ESLint plugin to run on save
"editor.codeActionsOnSave": {
"source.fixAll": true
},
"[javascript]": {
"editor.rulers": [100],
"editor.formatOnSave": false
},
"[less]": {
"editor.rulers": [100],
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[handlebars]": {
"editor.rulers": [100],
"editor.tabSize": 2
},
"[html]": {
"editor.rulers": [100],
"editor.tabSize": 2
},
"[json]": {
"editor.rulers": [100],
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
0.0.6
4 years ago