0.0.6 • Published 4 years ago

sankey-test v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

Boilerplate

Dot and starter files.

How to use?

  1. Download boilerplate.zip
  2. Extract files
  3. Change paths & fix package.json
  4. Profit

Set up VS Code

  1. install "ESLint (Dirk Baeumer)"
  2. install "Prettier - Code formatter (Esben Petersen)"
  3. Remove other ESLint / Prettier plugins...
  4. 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"
  }
}