提交 5043998c 编写于 作者: M Martin Aeschlimann

css: valid properties

上级 61c0fe6f
...@@ -177,6 +177,12 @@ ...@@ -177,6 +177,12 @@
"default": "warning", "default": "warning",
"description": "%css.lint.unknownProperties.desc%" "description": "%css.lint.unknownProperties.desc%"
}, },
"css.lint.validProperties": {
"type": "string",
"scope": "resource",
"default": "",
"description": "%css.lint.validProperties.desc%"
},
"css.lint.ieHack": { "css.lint.ieHack": {
"type": "string", "type": "string",
"scope": "resource", "scope": "resource",
...@@ -417,6 +423,12 @@ ...@@ -417,6 +423,12 @@
"default": "warning", "default": "warning",
"description": "%scss.lint.unknownProperties.desc%" "description": "%scss.lint.unknownProperties.desc%"
}, },
"scss.lint.validProperties": {
"type": "string",
"scope": "resource",
"default": "",
"description": "%scss.lint.validProperties.desc%"
},
"scss.lint.ieHack": { "scss.lint.ieHack": {
"type": "string", "type": "string",
"scope": "resource", "scope": "resource",
...@@ -636,6 +648,12 @@ ...@@ -636,6 +648,12 @@
"default": "warning", "default": "warning",
"description": "%less.lint.unknownProperties.desc%" "description": "%less.lint.unknownProperties.desc%"
}, },
"less.lint.validProperties": {
"type": "string",
"scope": "resource",
"default": "",
"description": "%less.lint.validProperties.desc%"
},
"less.lint.ieHack": { "less.lint.ieHack": {
"type": "string", "type": "string",
"scope": "resource", "scope": "resource",
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
"css.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.", "css.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.",
"css.lint.unknownAtRules.desc": "Unknown at-rule.", "css.lint.unknownAtRules.desc": "Unknown at-rule.",
"css.lint.unknownProperties.desc": "Unknown property.", "css.lint.unknownProperties.desc": "Unknown property.",
"css.lint.validProperties.desc": "A comma separated list of properties thta are not validated.",
"css.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.", "css.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.",
"css.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.", "css.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.",
"css.lint.zeroUnits.desc": "No unit for zero needed.", "css.lint.zeroUnits.desc": "No unit for zero needed.",
...@@ -40,6 +41,7 @@ ...@@ -40,6 +41,7 @@
"less.lint.propertyIgnoredDueToDisplay.desc": "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.", "less.lint.propertyIgnoredDueToDisplay.desc": "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.",
"less.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.", "less.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.",
"less.lint.unknownProperties.desc": "Unknown property.", "less.lint.unknownProperties.desc": "Unknown property.",
"less.lint.validProperties.desc": "A comma separated list of properties thta are not validated.",
"less.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.", "less.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.",
"less.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.", "less.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.",
"less.lint.zeroUnits.desc": "No unit for zero needed.", "less.lint.zeroUnits.desc": "No unit for zero needed.",
...@@ -61,6 +63,7 @@ ...@@ -61,6 +63,7 @@
"scss.lint.propertyIgnoredDueToDisplay.desc": "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.", "scss.lint.propertyIgnoredDueToDisplay.desc": "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.",
"scss.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.", "scss.lint.universalSelector.desc": "The universal selector (`*`) is known to be slow.",
"scss.lint.unknownProperties.desc": "Unknown property.", "scss.lint.unknownProperties.desc": "Unknown property.",
"scss.lint.validProperties.desc": "A comma separated list of properties thta are not validated.",
"scss.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.", "scss.lint.unknownVendorSpecificProperties.desc": "Unknown vendor specific property.",
"scss.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.", "scss.lint.vendorPrefix.desc": "When using a vendor-specific prefix, also include the standard property.",
"scss.lint.zeroUnits.desc": "No unit for zero needed.", "scss.lint.zeroUnits.desc": "No unit for zero needed.",
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
}, },
"main": "./out/cssServerMain", "main": "./out/cssServerMain",
"dependencies": { "dependencies": {
"vscode-css-languageservice": "^3.0.12-next.2", "vscode-css-languageservice": "^3.0.12",
"vscode-languageserver": "^5.1.0" "vscode-languageserver": "^5.1.0"
}, },
"devDependencies": { "devDependencies": {
......
...@@ -229,10 +229,10 @@ supports-color@5.4.0: ...@@ -229,10 +229,10 @@ supports-color@5.4.0:
dependencies: dependencies:
has-flag "^3.0.0" has-flag "^3.0.0"
vscode-css-languageservice@^3.0.12-next.2: vscode-css-languageservice@^3.0.12:
version "3.0.12-next.2" version "3.0.12"
resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.12-next.2.tgz#593f07614852ea91dd94230aab405bf4b5ad41fe" resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.12.tgz#fb4aac5ae3c5b761b1db1d7224b78ff824284dc3"
integrity sha512-nZ0RyDCFrKQhhkeBTxNKSIO6tPAn2nV3M7l4BYQsuzoXlHYa+MII8fvQW0v7wW6JfyeJExyxH9NRwtrVFELJGg== integrity sha512-+FLQ9LcukIhnxaGTjDOqb3Nb1hesz9BLXf5yeoZxUsuK7joADPLPdxLwlZugFcMAvgmtnaFIGnzkQhGOVqf5yw==
dependencies: dependencies:
vscode-languageserver-types "^3.13.0" vscode-languageserver-types "^3.13.0"
vscode-nls "^4.0.0" vscode-nls "^4.0.0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册