@@ -20,6 +20,11 @@ module.exports = {
'warn',
{
pathGroups: [
+ {
+ pattern: 'react',
+ group: 'builtin',
+ position: 'before',
+ },
pattern: '^/**',
group: 'parent',
@@ -34,6 +39,7 @@ module.exports = {
alphabetize: {
order: 'asc',
},
+ pathGroupsExcludedImportTypes: ['react'],
'newlines-between': 'always',
],