Add how the linter works on the README.md

1.1.101
Chris Fuertes 3 years ago
parent 913a10b712
commit c12e7cbc73

@ -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