From 07028ad3cd1c7f753feceded7c5cfd29c031fd75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Wed, 15 Jun 2016 23:27:35 +0200 Subject: [PATCH] Redundant tags selectors description mistake --- lib/metadata/policies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index fdd0881..44c2fcf 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -894,7 +894,7 @@ var policies = { "cssRedundantChildNodesSelectors": { "tool": "phantomas", "label": "Redundant tags selectors", - "message": "

Some tags included inside other tags are obvious. For example, when \"ul li\" is specified in a rule, \"ul\" can be removed because the \"li\" element is always inside a \"ul\". Same thing for \"tr td\", \"select option\", ...

Lowering compexity in CSS selectors can make the page load a little faster.

", + "message": "

Some tags included inside other tags are obvious. For example, when \"ul li\" is specified in a rule, \"ul\" can be removed because the \"li\" tag is nearly always inside an \"ul\" container (the \"ol\" container is quite rare). Same thing for \"tr td\", \"select option\", ...

Lowering compexity in CSS selectors can make the page load a little faster.

", "isOkThreshold": 0, "isBadThreshold": 60, "isAbnormalThreshold": 200,