Skip to content

Commit

Permalink
docs(extensions): improved cases when using always
Browse files Browse the repository at this point in the history
  • Loading branch information
wenfangdu committed Jun 26, 2021
1 parent 1012eb9 commit d30303c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/rules/extensions.md
Expand Up @@ -109,6 +109,8 @@ import foo from './foo';
import bar from './bar';

import Component from './Component';

import foo from '@/foo'
```

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

import Component from './Component.jsx';

import * as path from 'path';
import foo from 'foo'

import foo from '@/foo.js'
```

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

0 comments on commit d30303c

Please sign in to comment.