Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/preactjs/eslint-config-preact

Unopinionated baseline ESLint config for Preact and Preact CLI codebases.
https://github.com/preactjs/eslint-config-preact

eslint preact

Last synced: 3 days ago
JSON representation

Unopinionated baseline ESLint config for Preact and Preact CLI codebases.

Awesome Lists containing this project

README

        

# eslint-config-preact

An unopinionated baseline ESLint configuration for Preact and Preact CLI codebases.

It helps you avoid bugs, and lets you know when there's a more optimal way to do things.

✅ **What's included:** sensible defaults for modern JS, JSX, Preact, Jest and Mocha.

⛔️ **What's not included:** no stylistic or subjective rules are provided.

## Installation

Install eslint and this config:

```
npm i -D eslint eslint-config-preact
```

Now in your `package.json`:

````
{
"eslintConfig": {
"extends": "preact"
}
}
````