1.1.45 • Published 25 days ago

eslint-config-os-team-node v1.1.45

Weekly downloads
113
License
MIT
Repository
gitlab
Last release
25 days ago

eslint-config-os-team-node NPM version

ESLint rules for Node.js, including TypeScript.

Uses the eslint-config-airbnb-typescript package to implement Airbnb JavaScript Style Guide.

Contains additional recommended rules for:

  • Jest.
  • Promise.
  • Typescript.
  • Node.
  • Prettier.

Installation

Step 1. Install the package

Install the exact version (-E) of the package in devDependencies (-D) using the following command:

yarn add -DE eslint-config-os-team-node

Step 2. Install ESLint plugins

ESLint plugins used by this config must be installed withing your project using the following command:

npx install-peerdeps -D eslint-config-os-team-node

Step 3. Extend your .eslintrc

Add "extends": "os-team-node" to your .eslintrc file and set parserOptions.project to the path of your tsconfig.json.

{
  "extends": "os-team-node",
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
1.1.45

25 days ago

1.1.44

4 months ago

1.1.43

5 months ago

1.1.42

11 months ago

1.1.37

11 months ago

1.1.41

11 months ago

1.1.34

1 year ago

1.1.33

1 year ago

1.1.36

1 year ago

1.1.35

1 year ago

1.1.32

1 year ago

1.1.31

1 year ago

1.1.30

1 year ago

1.1.29

1 year ago

1.1.28

2 years ago

1.1.27

2 years ago

1.1.26

3 years ago

1.1.25

3 years ago

1.1.24

3 years ago

1.1.23

3 years ago

1.1.22

3 years ago

1.1.20

3 years ago

1.1.19

3 years ago

1.1.18

3 years ago

1.1.17

3 years ago

1.1.16

3 years ago

1.1.15

3 years ago

1.1.14

3 years ago

1.1.13

3 years ago

1.1.12

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.11

3 years ago

1.1.10

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago