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

Latest commit

 

History

History
35 lines (24 loc) · 404 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 404 Bytes

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.