Skip to content

Commit 376dcaf

Browse files
fix: treat paths starting with # as internal
1 parent 081e628 commit 376dcaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/import.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const settings: Linter.Config = {
151151

152152
settings: {
153153
"import/external-module-folders": ["node_modules"],
154-
"import/internal-regex": "^(?:@|~)\\/.+",
154+
"import/internal-regex": "^(?:#|(?:@|~)\\/).*",
155155
"import/resolver": {
156156
node: {
157157
extensions: jsExtensions,

0 commit comments

Comments
 (0)