ESLint shareable config for the HTML Academy courses
$ npm install --save-dev eslint-config-htmlacademy
Package requires eslint
. You must install it manually.
Once the eslint-config-htmlacademy
package is installed, you can use it by specifying htmlacademy
in the extends
section of your ESLint configuration.
For validating Vanilla JS project use vanilla
version:
{ "parserOptions": { "ecmaVersion": 2018, "sourceType": "module" }, "env": { "es2017": true, "browser": true }, "extends": "htmlacademy/vanilla", "rules": { // Additional rules... } }
React.js and Node.js versions soon.