Skip to content

Commit d30303c

Browse files
committed
docs(extensions): improved cases when using always
1 parent 1012eb9 commit d30303c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/rules/extensions.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ import foo from './foo';
109109
import bar from './bar';
110110

111111
import Component from './Component';
112+
113+
import foo from '@/foo'
112114
```
113115

114116
The following patterns are not considered problems when configuration set to "always":
@@ -120,7 +122,9 @@ import bar from './bar.json';
120122

121123
import Component from './Component.jsx';
122124

123-
import * as path from 'path';
125+
import foo from 'foo'
126+
127+
import foo from '@/foo.js'
124128
```
125129

126130
The following patterns are considered problems when configuration set to "ignorePackages":

0 commit comments

Comments
 (0)