@4tw/eslint-config

4teamwork eslint ruleset

Usage no npm install needed!

<script type="module">
  import 4twEslintConfig from 'https://cdn.skypack.dev/@4tw/eslint-config';
</script>

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