1.0.0 • Published 4 years ago
@wacg/eslint-config v1.0.0
WACG ESLint Config
ESLint configuration file for WACG projects
Installing
npm
npm i -D eslint @wacg/eslint-configyarn
yarn add -D eslint @wacg/eslint-configConfiguration
add .eslintrc.js in the root dirictory of your project with following content:
module.exports = {
extends: [
'@wacg/eslint-config'
]
}Tasks
add the following task to the scripts section of your package.json
"scripts": {
"lint": "eslint **/*.js",
"lint:fix": "eslint **/*.js --fix"
}1.0.0
4 years ago