Skip to content

paulhfischer/eslint-config-typescript-react

Repository files navigation

eslint-config-typescript-react

ESLint-config for typed React projects. It is based on

and uses

to enable linting for more file types.

Usage

  1. Install via npm:

    npm install --save-dev @paulhfischer/eslint-config-typescript-react --engine-strict
    

    Note: The installation requires npm version 7 or higher (otherwise peer dependencies aren't installed automatically). Have a look at the .pre-commit-hooks.yaml-file for a list of all peer-dependencies.

  2. Add the plugin to your eslint-config:

    {
        "extends": ["@paulhfischer/eslint-config-typescript-react"]
    }
  3. Add the prettier configuration to your prettier-config:

    "@paulhfischer/prettier-config"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published