Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 817 Bytes

linter.md

File metadata and controls

15 lines (9 loc) · 817 Bytes

Linter Configuration

This boilerplate uses ESLint as the linter, and uses the Standard preset with some small customizations.

If you are not happy with the default linting rules, you have several options:

  1. Overwrite individual rules in .eslintrc.js. For example, you can add the following rule to enforce semicolons instead of omitting them:
"semi": [2, "always"]
  1. Pick a different ESLint preset when generating the project, for example eslint-config-airbnb.

  2. Pick "none" for ESLint preset when generating the project and define your own rules. See ESLint documentation for more details.