Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 2919141

Browse files
committed
feat(base): add new eslint-plugin-import rules
1 parent 9d89980 commit 2919141

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/eslint-config/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ module.exports = {
4848
],
4949
// https://github.com/benmosher/eslint-plugin-import
5050
'import/exports-last': 'error',
51+
'import/group-exports': 'error',
5152
'import/no-anonymous-default-export': 'error',
53+
'import/no-cycle': 'off',
54+
'import/no-default-export': 'off',
55+
'import/no-self-import': 'error',
56+
'import/no-useless-path-segments': 'error',
5257
'import/order': [
5358
'error',
5459
{

0 commit comments

Comments
 (0)