From da4727a9749cdbe9061fc9af0d085b74df50f83d Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Mon, 6 Apr 2020 08:28:51 +0200 Subject: [PATCH] lint --- index.js | 68 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/index.js b/index.js index 152c1b0..50ceecf 100644 --- a/index.js +++ b/index.js @@ -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' } }