@ansaro/eslint-config

Shareable ESLint Configs for Ansaro

Usage no npm install needed!

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

README

eslint-config

Shareable ESLint Configs for Ansaro

Usage

1. Install @ansaro/eslint-config

yarn add --dev @ansaro/eslint-config

2. Install peer dependencies

yarn global add install-peerdeps

install-peerdeps --yarn --dev @ansaro/eslint-config

3. Add ESLint config to your package.json

"eslintConfig": {
  "extends": "@ansaro"
}

4. Optional: ignore any files and directories you do not want linted

"eslintIgnore": [
  "coverage"
]