From 8c14fb64c4ae00daa8ba2b90e5733d0d27a04939 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 10 Mar 2022 12:57:13 +0100 Subject: [PATCH] forbid inline style in admin --- admin/.eslintrc.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/admin/.eslintrc.js b/admin/.eslintrc.js index 8c410feba..96c602ef3 100644 --- a/admin/.eslintrc.js +++ b/admin/.eslintrc.js @@ -16,6 +16,12 @@ module.exports = { 'no-console': ['error'], 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', 'vue/component-name-in-template-casing': ['error', 'kebab-case'], + 'vue/no-static-inline-styles': [ + 'error', + { + allowBinding: false, + }, + ], 'prettier/prettier': [ 'error', {