vscode-css-languageservice
Advanced tools
Comparing version 1.0.5-next.1 to 1.0.5-next.2
@@ -268,3 +268,3 @@ (function (factory) { | ||
for (var index = 0; index < elem.length; index++) { | ||
self.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay); | ||
self.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay, localize('rule.propertyIgnoredDueToDisplayInline', "Property is ignored due to the display. With 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect.")); | ||
} | ||
@@ -278,3 +278,3 @@ }); | ||
for (var index = 0; index < elem.length; index++) { | ||
this.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay); | ||
this.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay, localize('rule.propertyIgnoredDueToDisplayInlineBlock', "Property is ignored due to the display. With 'display: inline-block', float properties have no effect.")); | ||
} | ||
@@ -287,3 +287,3 @@ } | ||
for (var index = 0; index < elem.length; index++) { | ||
this.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay); | ||
this.addEntry(elem[index].node, lintRules_1.Rules.PropertyIgnoredDueToDisplay, localize('rule.propertyIgnoredDueToDisplayBlock', "Property is ignored due to the display. With 'display: block', vertical-align should not be used.")); | ||
} | ||
@@ -290,0 +290,0 @@ } |
@@ -45,3 +45,3 @@ (function (factory) { | ||
UnknownVendorSpecificProperty: new Rule('unknownVendorSpecificProperties', localize('rule.unknownVendorSpecificProperty', "Unknown vendor specific property."), Ignore), | ||
PropertyIgnoredDueToDisplay: new Rule('propertyIgnoredDueToDisplay', localize('rule.propertyIgnoredDueToDisplay', "Property is ignored due to the display. E.g. with 'display: inline', the width, height, margin-top, margin-bottom, and float properties have no effect"), Warning), | ||
PropertyIgnoredDueToDisplay: new Rule('propertyIgnoredDueToDisplay', localize('rule.propertyIgnoredDueToDisplay', "Property is ignored due to the display."), Warning), | ||
AvoidImportant: new Rule('important', localize('rule.avoidImportant', "Avoid using !important. It is an indication that the specificity of the entire CSS has gotten out of control and needs to be refactored."), Ignore), | ||
@@ -48,0 +48,0 @@ AvoidFloat: new Rule('float', localize('rule.avoidFloat', "Avoid using 'float'. Floats lead to fragile CSS that is easy to break if one aspect of the layout changes."), Ignore), |
{ | ||
"name": "vscode-css-languageservice", | ||
"version": "1.0.5-next.1", | ||
"version": "1.0.5-next.2", | ||
"description": "Language service for CSS, LESS and SCSS", | ||
@@ -5,0 +5,0 @@ "main": "./lib/cssLanguageService.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
713889
19027