ESLint shareable config for linting AusPost javascript code
npm install eslint-config-auspost --save-dev
Add some ESLint config to your package.json
:
{
"eslintConfig": {
"extends": "auspost"
}
}
Add a run script to your package.json
:
{
"scripts": {
"lint": "eslint ."
},
}
Then lint with $ npm run lint
.
See CONTRIBUTING.md.
This software does not have a license.