@wacg/eslint-config

1.0.0 • Public • Published

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

/@wacg/eslint-config/

    Package Sidebar

    Install

    npm i @wacg/eslint-config

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    4.54 kB

    Total Files

    4

    Last publish

    Collaborators

    • sewacg
    • wacg_tk