Skip to content

[javascript-styleguide] Export restricted import paths - #200

Merged
jattasNI merged 5 commits into
ni:mainfrom
MiRo20261999:main
Sep 24, 2026
Merged

jattasNI merged 5 commits into
ni:mainfrom
MiRo20261999:main

Conversation

@MileaRobertStefan

Copy link
Copy Markdown
Contributor

Justification

Allow consuming projects to add restricted imports without replacing the style guide’s existing restrictions,

Implementation

Exported restrictedImportPaths from @ni/eslint-config-javascript and reused it in the default no-restricted-imports rule. Added a smoke-test configuration demonstrating extension through array spread.

robertMileaNi and others added 2 commits September 22, 2026 15:00
…-restricted-import-paths

[javascript-styleguide] Export restricted import paths
Comment thread change/@ni-eslint-config-javascript-7dbe24de-8ab8-4aa4-868e-a9f987950098.json Outdated
Comment thread tests/javascript/eslint.config.js
MileaRobertStefan and others added 2 commits September 24, 2026 12:41
…f987950098.json

Co-authored-by: Jesse Attas <jattasNI@users.noreply.github.com>
Comment thread tests/javascript/eslint.config.js Outdated
Comment thread tests/javascript/eslint.config.js
@jattasNI
jattasNI merged commit 92cb6d3 into ni:main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants