diff --git a/packages/core/patch/slots.js b/packages/core/patch/slots.js index 76d88125..00abf460 100644 --- a/packages/core/patch/slots.js +++ b/packages/core/patch/slots.js @@ -58,5 +58,6 @@ async function patchSlots() { } patchSlots() + // eslint-disable-next-line no-console .then(() => console.log('slots patched')) .catch(console.error) diff --git a/tooling/eslint-config/index.js b/tooling/eslint-config/index.js index bc064361..50cee378 100644 --- a/tooling/eslint-config/index.js +++ b/tooling/eslint-config/index.js @@ -3,7 +3,7 @@ module.exports = { plugins: ['prettier'], rules: { 'vue/no-setup-props-destructure': 0, - 'no-console': 0, + 'no-console': ['error', { allow: ['warn', 'error'] }], 'unused-imports/no-unused-vars': 0, '@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }], 'prettier/prettier': [