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 Aug 3, 2021
1 parent b236748 commit 550714a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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 @@ -121,6 +123,8 @@ import bar from './bar.json';
import Component from './Component.jsx';

import * as path from 'path';

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

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

0 comments on commit 550714a

Please sign in to comment.