パッケージの詳細

@4tw/eslint-config

4teamwork79ISC3.0.0

4teamwork eslint ruleset

readme

@4tw/eslint-config

Installation

Run the following:

$ yarn add --dev eslint prettier @4tw/eslint-config

Then add this in your .eslintrc.js:

module.exports = {
  extends: [
    '@4tw',
  ],
}

Finally add the lint command to your package.json:

{
  ...
  "scripts": {
    "lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
  }
}