An open API service indexing awesome lists of open source software.

https://github.com/rollup/eslint-config-rollup

A shareable ESLint configuration for Rollup projects
https://github.com/rollup/eslint-config-rollup

Last synced: about 1 month ago
JSON representation

A shareable ESLint configuration for Rollup projects

Awesome Lists containing this project

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:

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

### .eslintrc

```json
{
"extends": "rollup"
}
```
## Prettier

This package also exports the [prettier config](./prettier.js) that is used in the eslint config.

## License

[LICENSE (MIT)](./LICENSE)