UNPKG

@nx/eslint-plugin

Version:

The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.

14 lines (13 loc) 559 B
export declare const WORKSPACE_RULES_PATH = "tools/eslint-rules"; export declare const WORKSPACE_PLUGIN_DIR: string; /** * We add a namespace so that we mitigate the risk of rule name collisions as much as * possible between what users might create in their workspaces and what we might want * to offer directly in @nx/eslint-plugin in the future. * * E.g. if a user writes a rule called "foo", then they will include it in their ESLint * config files as: * * "@nx/workspace-foo": "error" */ export declare const WORKSPACE_RULE_PREFIX = "workspace";