The LaxarJS ESLint rules are a restrictive rule set extending the eslint:recommended
rule set.
The rules are applicable to ES2016 projects.
npm install --save-dev eslint eslint-config-laxarjs
In your project, create a file .eslintrc.json
with the following contents:
{
"extends": "laxarjs"
}
Or, if you are building a Node.js package:
{
"extends": "laxarjs/node"
}
If applicable, define additional configuration rules, or override the laxarjs rules.