From 1bbc3ba756728ea6b90d373629c3fe415e337069 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 12 Nov 2019 13:37:35 +0900 Subject: [PATCH] Enable to set touch coordination --- frontend/.eslintrc.js | 8 ++++++++ .../components/organisms/annotation/EntityItemBox.vue | 6 +++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index 6ac8426a..8bf771e6 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -13,5 +13,13 @@ module.exports = { ], // add your custom rules here rules: { + "no-console": "off", + "no-restricted-syntax": [ + "error", + { + "selector": "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]", + "message": "Unexpected property on console object was called" + } + ] } } diff --git a/frontend/components/organisms/annotation/EntityItemBox.vue b/frontend/components/organisms/annotation/EntityItemBox.vue index 6665b747..07b67dbd 100644 --- a/frontend/components/organisms/annotation/EntityItemBox.vue +++ b/frontend/components/organisms/annotation/EntityItemBox.vue @@ -1,5 +1,5 @@