@connctd/eslint-config-typescript

1.1.4 • Public • Published

@connctd/eslint-config-typescript

npm (scoped)

Recommended coding style for typescript projects.

This projects relies on eslint for recommendations and fixes.

Based on airbnb/javascript and typescript eslint recommended.

Usage

Add @connctd/eslint-config-typescript as a dev dependency to your project:

yarn add '@connctd/eslint-config-typescript' -D

Install the required peer dependencies:

npx install-peerdeps @connctd/eslint-config-typescript

OR

(Recommended if you are installing this config from a custom private registry, since install-peerdeps only can fetch from the public npm registry)

yarn add -D \
  typescript@4.1.2 \
  eslint@7.15.0 \
  @typescript-eslint/eslint-plugin@4.9.1 \
  @typescript-eslint/parser@4.9.1 \
  eslint-config-airbnb@18.2.1 \
  eslint-plugin-import@2.22.1 \
  eslint-plugin-jsx-a11y@6.4.1 \
  eslint-plugin-react@7.21.5 \
  eslint-plugin-react-hooks@4.2.0

Extend the .eslintrc of your target project by @connctd/typescript:

{
    "extends": ["@connctd/typescript"]
}

/@connctd/eslint-config-typescript/

    Package Sidebar

    Install

    npm i @connctd/eslint-config-typescript

    Weekly Downloads

    5

    Version

    1.1.4

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    4

    Last publish

    Collaborators

    • tobiaszwalczak
    • dereulenspiegel