0.8.0 • Published 4 years ago

eslint-plugin-rock-kit v0.8.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

private: true

eslint-plugin-rock-kit

npm  build-status  MIT License  Code of Conduct

An eslint configuration for Rock Kit.

Installation

Install eslint

yarn add eslint --dev
yarn add eslint-plugin-rock-kit --dev

Configuration

Use our preset to get reasonable defaults:

  "extends": [
    "eslint:recommended",
    "plugin:rock-kit/recommended"
  ]

If you do not use a preset you will need to specify individual rules and add extra configuration.

Add "rock-kit" to the plugins section.

{
  "plugins": [
    "rock-kit"
  ]
}

Enable the rules that you would like to use.

  "rules": {
    "inst/no-relative-package-imports": "error"
  }