@putdotio/eslint-config

Shared eslint config for put.io

Usage no npm install needed!

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

README

@putdotio/eslint-config

Build Status npm (scoped) npm bundle size (scoped)

Shared ESLint config for put.io

Installation

yarn global add install-peerdeps ## sorry :'D
install-peerdeps @putdotio/eslint-config --yarn -D
npx install-peerdeps --dev @putdotio/eslint-config

Usage

Create .eslintrc.json file with the following contents:

{
  "extends": ["@putdotio"]
}

Create ESLint scripts in your package.json:

{
  "scripts": {
    "lint": "eslint src",
    "lint:fix": "npm run lint -- --fix"
  }
}