@nonsensebb/eslint-config-preact
v0.7.0
Published
Preact shareable eslint config by NonsenseBB
Downloads
20
Maintainers
Readme
@nonsensebb/eslint-config-preact
A shareable config for Preact projects by NonsenseBB
Installation
First, install eslint and other peer dependencies, if you haven't done so yet via npm:
npm install --save-dev @babel/eslint-parser eslint eslint-plugin-import eslint-plugin-promise eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks
and then you can install the config:
npm install --save-dev @nonsensebb/eslint-config-preact
Usage
If you've installed @nonsensebb/eslint-config-preact
locally within your project, just set your eslint
config to:
{
"extends": ["@nonsensebb/eslint-config-preact"]
}