🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

eslint-config-preact

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
e

eslint-config-preact

Unopinionated base ESLint configuration for Preact and Preact CLI projects.

1.5.0
latest
96

Supply Chain Security

100

Vulnerability

100

Quality

100

Maintenance

100

License

Version published
Weekly downloads
41K
-24.11%
Maintainers
8
Weekly downloads
 
Created
Issues
6

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"
  }
}

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts