@Override public void visitProperty(PropertyTree tree) { if ("*".equals(tree.hack()) && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the \"*\" hack."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if ("_".equals(tree.hack()) && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the \"_\" hack."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if ("*".equals(tree.hack()) && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the \"*\" hack."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if ("_".equals(tree.hack()) && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the \"_\" hack."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (tree.standardProperty().isObsolete() && !tree.isScssNamespace()) { addPreciseIssue( tree, MessageFormat.format( "Remove this usage of the obsolete / not on W3C Standards track \"{0}\" property.", tree.standardProperty().getName())); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (tree.standardProperty().isObsolete() && !tree.isScssNamespace()) { addPreciseIssue( tree, MessageFormat.format( "Remove this usage of the obsolete / not on W3C Standards track \"{0}\" property.", tree.standardProperty().getName())); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (!tree.isScssNamespace() && (tree.isVendorPrefixed() || tree.standardProperty().isExperimental())) { addPreciseIssue( tree, "Remove this usage of the experimental \"" + tree.standardProperty().getName() + "\" property."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (!tree.isScssNamespace() && !tree.standardProperty().getName().matches(propertiesToExclude) && (tree.isVendorPrefixed() || tree.standardProperty().isExperimental())) { addPreciseIssue( tree, "Remove this usage of the experimental \"" + tree.standardProperty().getName() + "\" property."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (tree.standardProperty() instanceof UnknownProperty && tree.property().isValidable() && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the unknown \"" + tree.standardProperty().getName() + "\" property."); } super.visitProperty(tree); }
@Override public void visitProperty(PropertyTree tree) { if (tree.standardProperty() instanceof UnknownProperty && tree.property().isValidable() && !tree.isScssNamespace()) { addPreciseIssue(tree, "Remove this usage of the unknown \"" + tree.standardProperty().getName() + "\" property."); } super.visitProperty(tree); }