ESLint shareable config for Preact to be used with eslint-config-xo
Note: This is eslint-config-xo-react adapted for Preact.
Install
$ npm install --save-dev eslint-config-xo eslint-config-xo-preact
Usage
Add some ESLint config to your package.json:
Or to .eslintrc:
You can also mix it with a XO sub-config:
Tip
Use with XO
$ npm install --save-dev eslint-config-xo-preact eslint-plugin-react
Related
- eslint-config-xo - ESLint shareable config for XO
- XO