From dcb4a67de26a19376ae0db67e14663cbb355680d Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Mon, 13 Sep 2021 11:31:02 +0800 Subject: [PATCH] fix: disable rules --- packages/typescript/index.js | 2 ++ packages/vue/index.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 5cfdc5e..6c79b4d 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -8,6 +8,8 @@ module.exports = { ], overrides: basic.overrides, rules: { + 'import/named': 'off', + // TS 'no-useless-constructor': 'off', '@typescript-eslint/semi': ['error', 'never'], diff --git a/packages/vue/index.js b/packages/vue/index.js index c73c6b3..e580935 100644 --- a/packages/vue/index.js +++ b/packages/vue/index.js @@ -21,5 +21,7 @@ module.exports = { 'vue/max-attributes-per-line': ['warn', { singleline: 5 }], 'vue/html-self-closing': 'off', 'vue/no-v-html': 'off', + 'vue/require-prop-types': 'off', + 'vue/require-default-prop': 'off', }, }