Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

dabapps/eslint-plugin-dabapps

Repository files navigation

eslint-plugin-dabapps

Custom DabApps ESLint rules

Installation

npm i eslint-plugin-dabapps -D

Config

Include the plugin in your eslint config:

{
  "plugins": ["dabapps"]
}

Enable some rules:

{
  "rules": {
    "dabapps/no-relative-parent-import": 2
  }
}

Rules

no-relative-parent-import

Prevents the use of ../relative-parent imports.