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 @@