Browse Source

Add how the linter works on the README.md

1.1.101
Chris Fuertes 2 years ago
parent
commit
c12e7cbc73
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      README.md

+ 12
- 0
README.md View File

@ -15,3 +15,15 @@ You can parse the code with [Babel](https://babeljs.io/) in order to
catch syntax errors. After installing with `npm install` just run:
npm run syntaxCheck
## Run ESLint
You can run ESLint to check the style guides defined in `.eslintrc.json` with the npm script:
npm run lint
ESLint can auto fix some problems with the option `--fix` but most of them must be fixed manually:
npm run lint --fix

Loading…
Cancel
Save