npm.io
0.18.0 • Published 1 year ago

@checkly/eslint-config

Licence
MIT
Version
0.18.0
Deps
12
Size
8 kB
Vulns
0
Weekly
0

@checkly/eslint-config

This repository contains shared eslint configurations based on eslint-config-standard for Checkly projects. Beware that it's opinionated and primarly intended for internal use.

Installation

First, install eslint and @checkly/eslint-config:

npm install --save-dev eslint @checkly/eslint-config

Afterwards, extend your eslint config to include checkly by adding the following to your package.json:

 ...
  "eslintConfig": {
    "extends": [
      "@checkly/eslint-config",
      "@checkly/eslint-config/node"
    ]
  },
  ...

Or, if you rather using .eslintrc:

{
    "extends": [
      "checkly",
      "checkly/node"
    ]
  }

This config comes in 2 flavors: node & vue that includes specific configs for the environment.

Keywords