add react suggestion example

This commit is contained in:
Philipp Kühn
2021-03-16 19:12:26 +01:00
parent 6841408e0d
commit 9201a7dff2
11 changed files with 288 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ export default {
.filter(item => {
return ['vue', 'ts', 'js', 'jsx', 'scss'].includes(item.extension)
})
.sortBy(item => item.path.split('/').length && !item.path.endsWith('index.vue'))
.sortBy(item => item.path.split('/').length && !item.path.endsWith('index.vue') && !item.path.endsWith('index.jsx'))
.toArray()
},
}