1.1.4 • Published 3 years ago

@connctd/eslint-config-typescript v1.1.4

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

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

3 years ago

1.1.3

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.3

5 years ago