Skip to content

Commit 550714a

Browse files
committed
docs(extensions): improved cases when using always
1 parent b236748 commit 550714a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: docs/rules/extensions.md

+4
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":
@@ -121,6 +123,8 @@ import bar from './bar.json';
121123
import Component from './Component.jsx';
122124

123125
import * as path from 'path';
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)