5.8 KiB
5.8 KiB
@backstage/eslint-plugin
0.3.0
Minor Changes
ab1cdbb: Added a newno-self-package-importslint rule, enabled aserrorin the recommended config, that reports when a package imports itself by its own name instead of using a relative path. This pattern causes circular initialization errors in bundled ESM and withjest.requireActual.
0.3.0-next.0
Minor Changes
ab1cdbb: Added a newno-self-package-importslint rule, enabled aserrorin the recommended config, that reports when a package imports itself by its own name instead of using a relative path. This pattern causes circular initialization errors in bundled ESM and withjest.requireActual.
0.2.3
Patch Changes
df43b0e: Fixedno-mixed-plugin-importsrule to returnnullfrom non-fixable suggestion handlers and added an explicitSuggestionReportDescriptor[]type annotation, matching the stricter type checking in TypeScript 6.0.
0.2.3-next.0
Patch Changes
df43b0e: Fixedno-mixed-plugin-importsrule to returnnullfrom non-fixable suggestion handlers and added an explicitSuggestionReportDescriptor[]type annotation, matching the stricter type checking in TypeScript 6.0.
0.2.2
Patch Changes
6738cf0: build(deps): bumpminimatchfrom 9.0.5 to 10.2.1
0.2.2-next.0
Patch Changes
6738cf0: build(deps): bumpminimatchfrom 9.0.5 to 10.2.1
0.2.1
Patch Changes
7455dae: Use node prefix on native imports
0.2.1-next.0
Patch Changes
7455dae: Use node prefix on native imports
0.2.0
Minor Changes
926389b: Added@backstage/no-ui-css-imports-in-non-frontendrule, which ensures that CSS from@backstage/uiis not imported outside of the frontend app.
0.2.0-next.0
Minor Changes
926389b: Added@backstage/no-ui-css-imports-in-non-frontendrule, which ensures that CSS from@backstage/uiis not imported outside of the frontend app.
0.1.12
Patch Changes
-
5e98e61: Minor doc updates -
a1dae71: Allow frontend plugin to import from another frontend plugin with same plugin id.This prevents the ESLint rule from incorrectly flagging these imports in the new frontend system where plugin override requires cross-plugin imports.
0.1.11
Patch Changes
-
098ef95: Fix custom rules package scanning performance. -
063b2d3: Added new eslint rule to restrict mixed plugin imports.New rule
@backstage/no-mixed-plugin-importsdisallows mixed imports between plugins that are mixing the backstage architecture. This rule forces that:- No imports from frontend plugins to backend plugins or other frontend plugins.
- No imports from backend plugins to frontend plugins or other backend plugins.
- No imports from common plugins to frontend or backend plugins.
The current recommended configuration is giving a warning for mixed imports. This is to be changed in the future to an error so please adjust your workspace accordingly.
0.1.11-next.0
Patch Changes
098ef95: Fix custom rules package scanning performance.
0.1.10
Patch Changes
0.1.10-next.1
Patch Changes
b1c2a2d: Exclude@material-ui/data-grid
0.1.10-next.0
Patch Changes
63963f6: Internal refactor to deal withestreeupgrade
0.1.9
Patch Changes
08895e3: Added support for linting dependencies on workspace packages with thebackstage.inlineflag.
0.1.9-next.0
Patch Changes
08895e3: Added support for linting dependencies on workspace packages with thebackstage.inlineflag.
0.1.8
Patch Changes
65ec043: add somepickersfixes
0.1.7
Patch Changes
9ef572d: fix lint rule fixer for more than oneComponent + Prop3a7eee7: eslint autofix for mui ThemeProviderd55828d: add fixer logic for import aliases
0.1.7-next.0
Patch Changes
9ef572d: fix lint rule fixer for more than oneComponent + Prop3a7eee7: eslint autofix for mui ThemeProvider
0.1.6
Patch Changes
999224f: Bump dependencyminimatchto v9
0.1.6-next.0
Patch Changes
999224f: Bump dependencyminimatchto v9
0.1.5
Patch Changes
995d280: Added new@backstage/no-top-level-material-ui-4-importsrule that forbids top level imports from Material UI v4 packages
0.1.5-next.0
Patch Changes
995d280: Added new@backstage/no-top-level-material-ui-4-importsrule that forbids top level imports from Material UI v4 packages
0.1.4
Patch Changes
107dc46: Theno-undeclared-importsrule will now prefer using version queries that already exist en the repo for the same dependency type when installing new packages.
0.1.4-next.0
Patch Changes
107dc46ab1: Theno-undeclared-importsrule will now prefer using version queries that already exist en the repo for the same dependency type when installing new packages.
0.1.3
Patch Changes
911c25de59: Add support for auto-fixing missing imports detected by theno-undeclared-importsrule.
0.1.3-next.0
Patch Changes
911c25de59: Add support for auto-fixing missing imports detected by theno-undeclared-importsrule.
0.1.2
Patch Changes
a061c466d6: Fixing a bug that we should check internal dependencies too
0.1.2-next.0
Patch Changes
a061c466d6: Fixing a bug that we should check internal dependencies too
0.1.0
Minor Changes
179d301518: Added a new ESLint plugin with common rules for Backstage projects. See the README for more details.
0.1.0-next.0
Minor Changes
179d301518: Added a new ESLint plugin with common rules for Backstage projects. See the README for more details.