mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 19:53:59 -05:00
.eslintrc: Complain about default exports
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
2cd96f955d
commit
64b88e8488
1 changed files with 5 additions and 2 deletions
|
@ -13,7 +13,9 @@ module.exports = {
|
|||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/eslint-recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:@typescript-eslint/recommended-requiring-type-checking'
|
||||
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
||||
'plugin:import/recommended',
|
||||
'plugin:import/typescript'
|
||||
],
|
||||
'env': {
|
||||
'node': true
|
||||
|
@ -30,6 +32,7 @@ module.exports = {
|
|||
'object-curly-spacing': ['warn'],
|
||||
'one-var': ['warn'],
|
||||
'quotes': ['warn'],
|
||||
'space-infix-ops': ['warn']
|
||||
'space-infix-ops': ['warn'],
|
||||
'import/no-default-export': ['error']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue