From 21b1f8553bf4635b71c9512c4c0bd6be6c7796b9 Mon Sep 17 00:00:00 2001 From: Simon Praetorius Date: Mon, 3 Aug 2020 10:21:46 +0200 Subject: [PATCH] [BUGFIX] f:uri.image should be minor severity --- src/Configuration/default.fclint.json | 34 +++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/src/Configuration/default.fclint.json b/src/Configuration/default.fclint.json index e82a597..94bec97 100644 --- a/src/Configuration/default.fclint.json +++ b/src/Configuration/default.fclint.json @@ -240,11 +240,41 @@ "message": "Translate may be used within components, try to pass translations via component parameters instead", "severity": "info" }, - "f:uri.*": { - "viewHelperName": "f:uri.", + "f:uri.action": { + "viewHelperName": "f:uri.action", "message": "URIs must be generated outside of components and then passed as TypoLink parameter", "severity": "major" }, + "f:uri.email": { + "viewHelperName": "f:uri.email", + "message": "URIs must be generated outside of components and then passed as TypoLink parameter", + "severity": "major" + }, + "f:uri.external": { + "viewHelperName": "f:uri.external", + "message": "URIs must be generated outside of components and then passed as TypoLink parameter", + "severity": "major" + }, + "f:uri.page": { + "viewHelperName": "f:uri.page", + "message": "URIs must be generated outside of components and then passed as TypoLink parameter", + "severity": "major" + }, + "f:uri.resource": { + "viewHelperName": "f:uri.resource", + "message": "URIs must be generated outside of components and then passed as TypoLink parameter", + "severity": "major" + }, + "f:uri.typolink": { + "viewHelperName": "f:uri.typolink", + "message": "URIs must be generated outside of components and then passed as TypoLink parameter", + "severity": "major" + }, + "f:uri.image": { + "viewHelperName": "f:uri.image", + "message": "f:uri.image should be used deliberately within components (e. g. only in Atom.Image)", + "severity": "minor" + }, "f:widget.*": { "viewHelperName": "f:widget.", "message": "Widgets should be part of integration",