File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,8 @@ import foo from './foo';
109
109
import bar from ' ./bar' ;
110
110
111
111
import Component from ' ./Component' ;
112
+
113
+ import foo from ' @/foo' ;
112
114
```
113
115
114
116
The following patterns are not considered problems when configuration set to "always":
@@ -121,6 +123,8 @@ import bar from './bar.json';
121
123
import Component from ' ./Component.jsx' ;
122
124
123
125
import * as path from ' path' ;
126
+
127
+ import foo from ' @/foo.js' ;
124
128
```
125
129
126
130
The following patterns are considered problems when configuration set to "ignorePackages":
@@ -145,6 +149,7 @@ import Component from './Component.jsx';
145
149
146
150
import express from ' express' ;
147
151
152
+ import foo from ' @/foo'
148
153
```
149
154
150
155
The following patterns are not considered problems when configuration set to ` ['error', 'always', {ignorePackages: true} ] ` :
@@ -156,6 +161,7 @@ import baz from 'foo/baz.js';
156
161
157
162
import express from ' express' ;
158
163
164
+ import foo from ' @/foo' ;
159
165
```
160
166
161
167
## When Not To Use It
You can’t perform that action at this time.
0 commit comments