Skip to content

Commit

Permalink
add rule for import restrictions
Browse files Browse the repository at this point in the history
  • Loading branch information
ultraviolet10 committed Mar 8, 2024
1 parent f7013b5 commit 5180ec4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/webapp/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ const config = {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"no-restricted-imports": "off",
"@typescript-eslint/no-restricted-imports": [
"error",
{
patterns: ["!./*", "!../*"],
},
],

"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
Expand Down

0 comments on commit 5180ec4

Please sign in to comment.