Last active
February 14, 2021 10:31
-
-
Save ger86/1df5f4a0b2a073fbc8cdb8b462838c5f to your computer and use it in GitHub Desktop.
eslint-plugin-import.config.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"import/order": ['warn', { | |
'groups': ['builtin', 'external', 'internal', 'parent', 'sibling'], | |
'alphabetize': { | |
order: 'asc' | |
}, | |
"pathGroups": [ | |
{ | |
"pattern": "react", | |
"group": "builtin", | |
"position": 'before' | |
} | |
], | |
"pathGroupsExcludedImportTypes": ["builtin"] | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment