Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 29 days ago
JSON representation
Unopinionated baseline ESLint config for Preact and Preact CLI codebases.
- Host: GitHub
- URL: https://github.com/preactjs/eslint-config-preact
- Owner: preactjs
- License: mit
- Created: 2020-02-19T17:44:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T16:40:49.000Z (10 months ago)
- Last Synced: 2024-04-14T13:08:33.917Z (7 months ago)
- Topics: eslint, preact
- Language: JavaScript
- Homepage: https://npm.im/eslint-config-preact
- Size: 638 KB
- Stars: 92
- Watchers: 4
- Forks: 14
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"
}
}
````