[ESLint] Prefer named exports (#427)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module.exports = {
|
||||
extends: ['airbnb', 'airbnb-typescript', 'prettier'],
|
||||
plugins: ['unused-imports', '@typescript-eslint', 'no-relative-import-paths', 'prettier', 'header'],
|
||||
plugins: ['unused-imports', 'eslint-plugin-import', '@typescript-eslint', 'no-relative-import-paths', 'prettier', 'header'],
|
||||
parserOptions: {
|
||||
project: ['./tsconfig.json', './tsconfig.node.json', './tools/scripts/tsconfig.json'],
|
||||
},
|
||||
@@ -10,6 +10,9 @@ module.exports = {
|
||||
rules: {
|
||||
'unused-imports/no-unused-imports': 'error',
|
||||
|
||||
'import/prefer-default-export': 'off',
|
||||
'import/no-default-export': 'error',
|
||||
|
||||
'header/header': [
|
||||
'error',
|
||||
'block', // comment type
|
||||
|
||||
Reference in New Issue
Block a user