@checkly/eslint-config

Shared eslint configuration for Checkly projects

Usage no npm install needed!

<script type="module">
  import checklyEslintConfig from 'https://cdn.skypack.dev/@checkly/eslint-config';
</script>

README

@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.