@inthepocket/eslint-config-preact

1.2.13 • Public • Published

@inthepocket/eslint-config-next

This contains all ESLint rules to lint the Preact boilerplate created by Team Spacebar.
It is recommended to use this config to ensure that any Preact project within In The Pocket is linted in the same way.

Usage

Install

npm i -D @inthepocket/eslint-config-preact

Configure ESLint

Within your package.json add the following:

{
  "eslintConfig": {
    "extends": ["@inthepocket/eslint-config-preact"]
  }
}

Add Lint script

{
  "scripts": {
    "lint": "eslint '**/*.{js,jsx,ts,tsx}'"
  }
}

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @inthepocket/eslint-config-preact

    Weekly Downloads

    22

    Version

    1.2.13

    License

    MIT

    Unpacked Size

    2.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • sieem
    • lode.vanhove
    • moutpessemier
    • stijnv
    • robrechtme
    • klukies
    • eliaslecomte
    • gertjanreynaert
    • itpit
    • thibmaek
    • brecht
    • jonasdegeest
    • kevinmeyvaert
    • tmons