Skip to content
This repository was archived by the owner on Aug 4, 2024. It is now read-only.

Commit ffe56c7

Browse files
committed
feat(rules): add feature rule
add no-restricted-imports to restrict feature folder nested imports
1 parent f407eaa commit ffe56c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.js

+6
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ module.exports = {
119119
"no-useless-escape": "error",
120120
"no-useless-rename": "error",
121121
"no-with": "error",
122+
"no-restricted-imports": [
123+
"error",
124+
{
125+
patterns: ["@/features/*/*"],
126+
},
127+
],
122128
"spaced-comment": [
123129
"error",
124130
"always",

0 commit comments

Comments
 (0)