1.0.0 • Published 3 years ago

@wacg/eslint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

WACG ESLint Config

ESLint configuration file for WACG projects

Installing

npm

npm i -D eslint @wacg/eslint-config

yarn

yarn add -D eslint @wacg/eslint-config

Configuration

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"
}