1.0.3 • Published 2 years ago

eslint-plugin-enforce-absolute-imports v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

eslint-plugin-enforce-absolute-imports

Getting Started

Use the recommended configuration

  "extends": ["plugin:enforce-absolute-imports/recommended"]

Rules

enforce-absolute-imports/imports

This rule enforces absolute imports.

...
"enforce-absolute-imports/imports": [<enabled>, { allowShorterRelative: <boolean> }]
...

Options

  • allowShorterRelative (default: false): Allow relative imports that have fewer segments than the absolute import.
1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago