forked from iTwin/itwinjs-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
disallow using barrel imports internally lint rule (iTwin#1846)
- add an eslint rule that disallows barrel import usage - fixed some barrel import usage using the rule - ignored some barrel files (for now) in some packages where they are being used as a pattern
- Loading branch information
1 parent
f419a96
commit e4fe7d1
Showing
81 changed files
with
2,914 additions
and
1,619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...y/backend-itwin-client/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/backend-itwin-client", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/backend-itwin-client", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...tley/ecschema-metadata/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/ecschema-metadata", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/ecschema-metadata", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...@bentley/eslint-plugin/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/eslint-plugin", | ||
"comment": "add and recommend no-internal-barrel-imports rule", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/eslint-plugin", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...tley/frontend-devtools/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/frontend-devtools", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/frontend-devtools", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...@bentley/geometry-core/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/geometry-core", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/geometry-core", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...ntley/imodeljs-backend/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/imodeljs-backend", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/imodeljs-backend", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...entley/imodeljs-common/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/imodeljs-common", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/imodeljs-common", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...tley/imodeljs-frontend/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/imodeljs-frontend", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/imodeljs-frontend", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...bentley/mobile-manager/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/mobile-manager", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/mobile-manager", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...resentation-components/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/presentation-components", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/presentation-components", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...s/@bentley/ui-abstract/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/ui-abstract", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/ui-abstract", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...@bentley/ui-components/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/ui-components", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/ui-components", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
...anges/@bentley/ui-core/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/ui-core", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/ui-core", | ||
"email": "[email protected]" | ||
} |
11 changes: 11 additions & 0 deletions
11
.../@bentley/ui-framework/dont-use-barrel-imports-internally-lint-rule_2021-07-13-15-34.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"changes": [ | ||
{ | ||
"packageName": "@bentley/ui-framework", | ||
"comment": "remove internal barrel-import usage", | ||
"type": "none" | ||
} | ||
], | ||
"packageName": "@bentley/ui-framework", | ||
"email": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.