boost-me / engine

2 stars 0 forks source link

Alt linting setup #12

Closed steffenagger closed 5 years ago

steffenagger commented 5 years ago

Linting setup without semicolons and other opinionated options (what we usually use in-house at vertical, but that setup is not yet shared).

Use in vscode with fix on save by using the TSLint extension, and adding the following configuration in your User Settings:

Just a suggestion, but Prettier is run on save with this setup.

{
  "tslint.autoFixOnSave": true,
  "[typescript]": {
    "editor.formatOnSave": false,
  },
  "[typescriptreact]": {
    "editor.formatOnSave": false,
  },
}
casperstorm commented 5 years ago

I like this, what about you @kasperkronborg?