@nonsensebb/eslint-config-preact

Preact shareable eslint config by NonsenseBB

Usage no npm install needed!

<script type="module">
  import nonsensebbEslintConfigPreact from 'https://cdn.skypack.dev/@nonsensebb/eslint-config-preact';
</script>

README

@nonsensebb/eslint-config-preact

npm version

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

License