eslint-config-rollup

A shareable ESLint configuration for Rollup projects

Usage no npm install needed!

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

README

eslint-config-rollup

A shareable ESLint configuration for Rollup projects

Install

This repository uses PNPM (https://pnpm.io/)

$ pnpm install eslint-config-rollup --save-dev

Usage

This config can be used one of two ways:

package.json:

{
  "name": "snoochi-boochies",
  "eslintConfig": {
    "extends": "rollup"
  }
}

.eslintrc

{
  "extends": "rollup"
}

Prettier

This package also exports the prettier config that is used in the eslint config.

License

LICENSE (MIT)