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.
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.
Learn how ESLint Plugin Boundaries describes the dependency metadata of each import — kind, relationship, specifiers, node kind, and source.
Match dependency metadata — import kind, element relationship, specifiers, and source — in eslint-plugin-boundaries.
Learn how to use element descriptors to classify files in your project for ESLint Plugin Boundaries.
Match the element an analyzed file belongs to — by type, path, captured values, and ancestor chain — in eslint-plugin-boundaries.
Learn how to use file descriptors to categorize files independently of the elements they belong to in ESLint Plugin Boundaries.
Match files by their category — independently of the element they belong to — in eslint-plugin-boundaries.
Match the resolved module an import points to — local, external, or core — in eslint-plugin-boundaries.
Learn how ESLint Plugin Boundaries classifies the module each import resolves to — local, external, or core.
Learn what ESLint Plugin Boundaries is and how it can help you enforce architectural boundaries in your JavaScript and TypeScript projects.
Define dependency policies for the boundaries/dependencies rule — the rules that allow or disallow dependencies between elements.
Use selectors to match elements, files, modules, and dependencies when defining architectural boundaries in eslint-plugin-boundaries.