Skip to content
This repository was archived by the owner on Mar 22, 2023. It is now read-only.

Commit 62e9e10

Browse files
authored
Merge pull request #129 from SeedCompany/improve-imports-rule
Improve import restrictions rule
2 parents 797392d + ce95b28 commit 62e9e10

File tree

6 files changed

+622
-440
lines changed

6 files changed

+622
-440
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"eslint-plugin-react-hooks": "^4.3.0",
4646
"ignore": "^5.2.0",
4747
"prettier": "^2.6.0",
48+
"pupa": "^2.1.1",
4849
"type-fest": "^2.0.0"
4950
},
5051
"peerDependencies": {

src/rules/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { noRestrictedImports } from './no-restricted-imports';
1+
import { rule as noRestrictedImports } from './no-restricted-imports';
22
import { noUnusedVars } from './no-unused-vars';
33

44
// eslint-disable-next-line import/no-default-export

0 commit comments

Comments
 (0)