Skip to content

Commit

Permalink
Merge pull request #19353 from Snuffleupagus/ESLint-import/no-restric…
Browse files Browse the repository at this point in the history
…ted-paths

Enable the `import/no-restricted-paths` ESLint plugin rule for the viewer
  • Loading branch information
Snuffleupagus authored Jan 20, 2025
2 parents 850e605 + d91830c commit 23dc3ff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,17 @@ export default [
"import/no-empty-named-blocks": "error",
"import/no-commonjs": "error",
"import/no-mutable-exports": "error",
"import/no-restricted-paths": [
"error",
{
zones: [
{
target: "./web",
from: "./src",
},
],
},
],
"import/no-self-import": "error",
"import/no-unresolved": [
"error",
Expand Down

0 comments on commit 23dc3ff

Please sign in to comment.