1.2.1 • Published 5 months ago

eslint-config-labrys v1.2.1

Weekly downloads
-
License
ISC
Repository
-
Last release
5 months ago

eslint-config-labrys

Description

Config for Typescript projects at Labrys which incorporates AirBnb, Shopify, prettier, and React Hook configs.

Usage

1. Install package and dependencies

If you have npm 5+ installed on your machine, use this shortcut

npx install-peerdeps --dev eslint-config-labrys -Y -x "-W"

Otherwise, run npm info "eslint-config-labrys@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency.

2. Create ESLint Config

Create a file named .eslintrc.js and add the following for a React project:

module.exports = {
  extends: "eslint-config-labrys",
  parser: "@typescript-eslint/parser",
};

and for a non-React project:

module.exports = {
  extends: "eslint-config-labrys/base",
  parser: "@typescript-eslint/parser",
};

Improving this config

See CONTRIBUTING.md in the GitLab repo for a guide on how to contribute to this config.

1.2.0

5 months ago

1.2.1

5 months ago

2.0.0-next.2

9 months ago

2.0.0-next.0

9 months ago

2.0.0-next.1

9 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.3

2 years ago

0.6.6

2 years ago

0.6.5

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.4

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.5.1

3 years ago

0.4.0

3 years ago

0.1.0

3 years ago

0.3.0

3 years ago

0.0.3

3 years ago

0.2.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago