eslint-config-bloq
Version:
Common ESLint config used at Bloq
24 lines (22 loc) • 471 B
JavaScript
module.exports = {
parserOptions: {
ecmaFeatures: {
modules: true
},
sourceType: 'module'
},
plugins: ['import'],
rules: {
'import/order': [
'warn',
{
'alphabetize': { caseInsensitive: true, order: 'asc' },
'groups': [['builtin', 'external'], ['internal', 'parent'], 'sibling'],
'newlines-between': 'always'
}
],
'no-duplicate-imports': 'warn',
'sort-imports': 'off'
}
}