This commit is contained in:
Timo Hocker 2020-04-06 08:28:51 +02:00
parent 8854bd68b9
commit da4727a974

View File

@ -12,45 +12,45 @@ module.exports = {
parser: 'babel-eslint',
extends: [
'@scode',
'@scode'
],
plugins: [
'eslint-plugin-import',
'eslint-plugin-import'
],
rules: {
'import/no-unresolved': 'error',
'import/named': 'error',
'import/default': 'error',
'import/namespace': 'error',
'import/no-absolute-path': 'error',
'import/no-dynamic-require': 'warn',
'import/no-webpack-loader-syntax': 'error',
'import/no-self-import': 'error',
'import/no-cycle': 'error',
'import/no-useless-path-segments': 'error',
'import/no-unused-modules': 'error',
'import/export': 'error',
'import/no-named-as-default': 'error',
'import/no-named-as-default-member': 'error',
'import/no-deprecated': 'error',
'import/no-extraneous-dependencies': 'error',
'import/no-mutable-exports': 'error',
'import/unambiguous': 'error',
'import/no-commonjs': 'error',
'import/no-amd': 'error',
'import/first': 'error',
'import/exports-last': 'error',
'import/no-duplicates': 'error',
'import/no-namespace': 'error',
'import/extensions': 'error',
'import/order': 'error',
'import/newline-after-import': 'error',
'import/prefer-default-export': 'error',
'import/no-unassigned-import': 'error',
'import/no-named-default': 'error',
'import/no-anonymous-default-export': 'error',
'import/group-exports': 'error'
'import/no-unresolved': 'error',
'import/named': 'error',
'import/default': 'error',
'import/namespace': 'error',
'import/no-absolute-path': 'error',
'import/no-dynamic-require': 'warn',
'import/no-webpack-loader-syntax': 'error',
'import/no-self-import': 'error',
'import/no-cycle': 'error',
'import/no-useless-path-segments': 'error',
'import/no-unused-modules': 'error',
'import/export': 'error',
'import/no-named-as-default': 'error',
'import/no-named-as-default-member': 'error',
'import/no-deprecated': 'error',
'import/no-extraneous-dependencies': 'error',
'import/no-mutable-exports': 'error',
'import/unambiguous': 'error',
'import/no-commonjs': 'error',
'import/no-amd': 'error',
'import/first': 'error',
'import/exports-last': 'error',
'import/no-duplicates': 'error',
'import/no-namespace': 'error',
'import/extensions': 'error',
'import/order': 'error',
'import/newline-after-import': 'error',
'import/prefer-default-export': 'error',
'import/no-unassigned-import': 'error',
'import/no-named-default': 'error',
'import/no-anonymous-default-export': 'error',
'import/group-exports': 'error'
}
}