From 86e1fdb1bb2f5b6b11ba821ba833f3d8db600fcc Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Sat, 12 Jun 2021 16:11:57 +0200 Subject: [PATCH] :wrench: (eslint) --- .eslintrc.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index e397752..acc1646 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -28,7 +28,19 @@ module.exports = { arrowParens: 'always' } ], - 'vue/no-v-html': 'off' + 'vue/no-v-html': 'off', + 'no-restricted-imports': [ + 'error', + { + paths: [ + { + name: 'vue-demi', + importNames: ['computed'], + message: 'Please use computed from vue instead.' + } + ] + } + ] }, overrides: [ {