Skip to main content

12 docs tagged with "concepts"

View all tags

Classification

How ESLint Plugin Boundaries classifies every file through three independent layers — element, file, and module — and every dependency through two entities plus computed dependency metadata.

Dependency Metadata

Learn how ESLint Plugin Boundaries describes the dependency metadata of each import — kind, relationship, specifiers, node kind, and source.

Dependency Selector

Match dependency metadata — import kind, element relationship, specifiers, and source — in eslint-plugin-boundaries.

Element Descriptors

Learn how to use element descriptors to classify files in your project for ESLint Plugin Boundaries.

Element Selector

Match the element an analyzed file belongs to — by type, path, captured values, and ancestor chain — in eslint-plugin-boundaries.

File Descriptors

Learn how to use file descriptors to categorize files independently of the elements they belong to in ESLint Plugin Boundaries.

File Selector

Match files by their category — independently of the element they belong to — in eslint-plugin-boundaries.

Module Selector

Match the resolved module an import points to — local, external, or core — in eslint-plugin-boundaries.

Modules

Learn how ESLint Plugin Boundaries classifies the module each import resolves to — local, external, or core.

Overview

Learn what ESLint Plugin Boundaries is and how it can help you enforce architectural boundaries in your JavaScript and TypeScript projects.

Policies

Define dependency policies for the boundaries/dependencies rule — the rules that allow or disallow dependencies between elements.

Selectors

Use selectors to match elements, files, modules, and dependencies when defining architectural boundaries in eslint-plugin-boundaries.