Skip to content

Unopinionated baseline ESLint config for Preact and Preact CLI codebases.

License

Notifications You must be signed in to change notification settings

imgalli/eslint-config-preact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Unopinionated baseline ESLint config for Preact and Preact CLI codebases.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%