2018-03-20 21:57:58 +00:00
|
|
|
{
|
2018-03-20 23:48:40 +00:00
|
|
|
"name": "css-language-features",
|
2018-03-26 07:18:28 +00:00
|
|
|
"displayName": "%displayName%",
|
|
|
|
"description": "%description%",
|
2018-03-20 21:57:58 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
"publisher": "vscode",
|
2019-06-06 09:44:50 +00:00
|
|
|
"license": "MIT",
|
2018-03-20 21:57:58 +00:00
|
|
|
"engines": {
|
2018-12-13 02:07:22 +00:00
|
|
|
"vscode": "^1.29.0"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"icon": "icons/css.png",
|
|
|
|
"activationEvents": [
|
|
|
|
"onLanguage:css",
|
|
|
|
"onLanguage:less",
|
|
|
|
"onLanguage:scss",
|
|
|
|
"onCommand:_css.applyCodeAction"
|
|
|
|
],
|
2020-05-22 15:08:16 +00:00
|
|
|
"main": "./client/out/node/cssClientMain",
|
2020-05-27 20:35:37 +00:00
|
|
|
"browser": "./client/dist/browser/cssClientMain",
|
2019-01-28 15:05:18 +00:00
|
|
|
"enableProposedApi": true,
|
2018-03-20 21:57:58 +00:00
|
|
|
"scripts": {
|
2018-06-06 16:47:30 +00:00
|
|
|
"compile": "gulp compile-extension:css-language-features-client compile-extension:css-language-features-server",
|
|
|
|
"watch": "gulp watch-extension:css-language-features-client watch-extension:css-language-features-server",
|
2018-08-07 23:01:21 +00:00
|
|
|
"test": "mocha",
|
2018-03-20 21:57:58 +00:00
|
|
|
"postinstall": "cd server && yarn install",
|
2018-03-22 10:27:13 +00:00
|
|
|
"install-client-next": "yarn add vscode-languageclient@next"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
2018-04-17 16:18:03 +00:00
|
|
|
"categories": [
|
|
|
|
"Programming Languages"
|
|
|
|
],
|
2018-03-20 21:57:58 +00:00
|
|
|
"contributes": {
|
|
|
|
"configuration": [
|
|
|
|
{
|
|
|
|
"order": 22,
|
|
|
|
"id": "css",
|
|
|
|
"title": "%css.title%",
|
|
|
|
"properties": {
|
2019-08-27 16:25:15 +00:00
|
|
|
"css.customData": {
|
|
|
|
"type": "array",
|
2019-08-28 16:51:31 +00:00
|
|
|
"markdownDescription": "%css.customData.desc%",
|
2019-08-27 16:25:15 +00:00
|
|
|
"default": [],
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"scope": "resource"
|
|
|
|
},
|
2019-03-08 20:16:08 +00:00
|
|
|
"css.completion.triggerPropertyValueCompletion": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%css.completion.triggerPropertyValueCompletion.desc%"
|
|
|
|
},
|
2019-09-11 21:27:25 +00:00
|
|
|
"css.completion.completePropertyWithSemicolon": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%css.completion.completePropertyWithSemicolon.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"css.validate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%css.validate.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.compatibleVendorPrefixes": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.compatibleVendorPrefixes.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.vendorPrefix": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%css.lint.vendorPrefix.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.duplicateProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.duplicateProperties.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.emptyRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%css.lint.emptyRules.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.importStatement": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.importStatement.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.boxModel": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%css.lint.boxModel.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.universalSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%css.lint.universalSelector.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.zeroUnits": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.zeroUnits.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.fontFaceProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-10-20 17:58:01 +00:00
|
|
|
"markdownDescription": "%css.lint.fontFaceProperties.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.hexColorLength": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%css.lint.hexColorLength.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.argumentsInColorFunction": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%css.lint.argumentsInColorFunction.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.unknownProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%css.lint.unknownProperties.desc%"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"css.lint.validProperties": {
|
2018-10-31 19:49:41 +00:00
|
|
|
"type": "array",
|
|
|
|
"uniqueItems": true,
|
2018-11-01 15:50:21 +00:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"scope": "resource",
|
2018-10-31 19:49:41 +00:00
|
|
|
"default": [],
|
2018-10-29 16:03:21 +00:00
|
|
|
"description": "%css.lint.validProperties.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"css.lint.ieHack": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.ieHack.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.unknownVendorSpecificProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.unknownVendorSpecificProperties.desc%"
|
|
|
|
},
|
|
|
|
"css.lint.propertyIgnoredDueToDisplay": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%css.lint.propertyIgnoredDueToDisplay.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.important": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-10-20 17:58:01 +00:00
|
|
|
"markdownDescription": "%css.lint.important.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.float": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%css.lint.float.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"css.lint.idSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%css.lint.idSelector.desc%"
|
|
|
|
},
|
2018-06-18 18:10:48 +00:00
|
|
|
"css.lint.unknownAtRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%css.lint.unknownAtRules.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"css.trace.server": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "window",
|
|
|
|
"enum": [
|
|
|
|
"off",
|
|
|
|
"messages",
|
|
|
|
"verbose"
|
|
|
|
],
|
|
|
|
"default": "off",
|
|
|
|
"description": "%css.trace.server.desc%"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "scss",
|
|
|
|
"order": 24,
|
|
|
|
"title": "%scss.title%",
|
|
|
|
"properties": {
|
2019-10-02 20:16:46 +00:00
|
|
|
"scss.completion.triggerPropertyValueCompletion": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%scss.completion.triggerPropertyValueCompletion.desc%"
|
|
|
|
},
|
|
|
|
"scss.completion.completePropertyWithSemicolon": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%scss.completion.completePropertyWithSemicolon.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"scss.validate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%scss.validate.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.compatibleVendorPrefixes": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.compatibleVendorPrefixes.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.vendorPrefix": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%scss.lint.vendorPrefix.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.duplicateProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.duplicateProperties.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.emptyRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%scss.lint.emptyRules.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.importStatement": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.importStatement.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.boxModel": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.boxModel.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.universalSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.universalSelector.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.zeroUnits": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.zeroUnits.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.fontFaceProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.fontFaceProperties.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.hexColorLength": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%scss.lint.hexColorLength.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.argumentsInColorFunction": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%scss.lint.argumentsInColorFunction.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.unknownProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%scss.lint.unknownProperties.desc%"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"scss.lint.validProperties": {
|
2018-10-31 19:49:41 +00:00
|
|
|
"type": "array",
|
|
|
|
"uniqueItems": true,
|
2018-11-01 15:50:21 +00:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"scope": "resource",
|
2018-10-31 19:49:41 +00:00
|
|
|
"default": [],
|
2018-10-29 16:03:21 +00:00
|
|
|
"description": "%scss.lint.validProperties.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"scss.lint.ieHack": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.ieHack.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.unknownVendorSpecificProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.unknownVendorSpecificProperties.desc%"
|
|
|
|
},
|
|
|
|
"scss.lint.propertyIgnoredDueToDisplay": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.propertyIgnoredDueToDisplay.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.important": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.important.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.float": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%scss.lint.float.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"scss.lint.idSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%scss.lint.idSelector.desc%"
|
2019-10-22 19:41:33 +00:00
|
|
|
},
|
|
|
|
"scss.lint.unknownAtRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%scss.lint.unknownAtRules.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "less",
|
|
|
|
"order": 23,
|
|
|
|
"type": "object",
|
|
|
|
"title": "%less.title%",
|
|
|
|
"properties": {
|
2019-10-02 20:16:46 +00:00
|
|
|
"less.completion.triggerPropertyValueCompletion": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%less.completion.triggerPropertyValueCompletion.desc%"
|
|
|
|
},
|
|
|
|
"less.completion.completePropertyWithSemicolon": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%less.completion.completePropertyWithSemicolon.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"less.validate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"scope": "resource",
|
|
|
|
"default": true,
|
|
|
|
"description": "%less.validate.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.compatibleVendorPrefixes": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.compatibleVendorPrefixes.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.vendorPrefix": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%less.lint.vendorPrefix.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.duplicateProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.duplicateProperties.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.emptyRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%less.lint.emptyRules.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.importStatement": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.importStatement.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.boxModel": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%less.lint.boxModel.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.universalSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%less.lint.universalSelector.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.zeroUnits": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.zeroUnits.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.fontFaceProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%less.lint.fontFaceProperties.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.hexColorLength": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%less.lint.hexColorLength.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.argumentsInColorFunction": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "error",
|
|
|
|
"description": "%less.lint.argumentsInColorFunction.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.unknownProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%less.lint.unknownProperties.desc%"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"less.lint.validProperties": {
|
2018-10-31 19:49:41 +00:00
|
|
|
"type": "array",
|
|
|
|
"uniqueItems": true,
|
2018-11-01 15:50:21 +00:00
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2018-10-29 16:03:21 +00:00
|
|
|
"scope": "resource",
|
2018-10-31 19:49:41 +00:00
|
|
|
"default": [],
|
2018-10-29 16:03:21 +00:00
|
|
|
"description": "%less.lint.validProperties.desc%"
|
|
|
|
},
|
2018-03-20 21:57:58 +00:00
|
|
|
"less.lint.ieHack": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.ieHack.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.unknownVendorSpecificProperties": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.unknownVendorSpecificProperties.desc%"
|
|
|
|
},
|
|
|
|
"less.lint.propertyIgnoredDueToDisplay": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%less.lint.propertyIgnoredDueToDisplay.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.important": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-10-20 17:58:01 +00:00
|
|
|
"markdownDescription": "%less.lint.important.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.float": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
2018-08-09 00:01:37 +00:00
|
|
|
"markdownDescription": "%less.lint.float.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"less.lint.idSelector": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "ignore",
|
|
|
|
"description": "%less.lint.idSelector.desc%"
|
2019-10-22 19:41:33 +00:00
|
|
|
},
|
|
|
|
"less.lint.unknownAtRules": {
|
|
|
|
"type": "string",
|
|
|
|
"scope": "resource",
|
|
|
|
"enum": [
|
|
|
|
"ignore",
|
|
|
|
"warning",
|
|
|
|
"error"
|
|
|
|
],
|
|
|
|
"default": "warning",
|
|
|
|
"description": "%less.lint.unknownAtRules.desc%"
|
2018-03-20 21:57:58 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-07-29 17:05:40 +00:00
|
|
|
],
|
2019-12-02 20:43:59 +00:00
|
|
|
"configurationDefaults": {
|
|
|
|
"[css]": {
|
|
|
|
"editor.suggest.insertMode": "replace"
|
|
|
|
},
|
|
|
|
"[scss]": {
|
|
|
|
"editor.suggest.insertMode": "replace"
|
|
|
|
},
|
|
|
|
"[less]": {
|
|
|
|
"editor.suggest.insertMode": "replace"
|
|
|
|
}
|
|
|
|
},
|
2019-07-29 17:05:40 +00:00
|
|
|
"jsonValidation": [
|
|
|
|
{
|
|
|
|
"fileMatch": "*.css-data.json",
|
|
|
|
"url": "https://raw.githubusercontent.com/Microsoft/vscode-css-languageservice/master/docs/customData.schema.json"
|
2019-09-03 16:19:56 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"fileMatch": "package.json",
|
|
|
|
"url": "./schemas/package.schema.json"
|
2019-07-29 17:05:40 +00:00
|
|
|
}
|
2018-03-20 21:57:58 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2020-06-26 11:55:39 +00:00
|
|
|
"vscode-languageclient": "7.0.0-next.5.1",
|
2020-04-27 21:07:19 +00:00
|
|
|
"vscode-nls": "^4.1.2"
|
2018-03-20 21:57:58 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-10-28 07:11:47 +00:00
|
|
|
"@types/node": "^12.11.7",
|
2020-01-27 22:14:32 +00:00
|
|
|
"mocha": "^7.0.1"
|
2018-03-20 21:57:58 +00:00
|
|
|
}
|
2018-07-25 10:19:06 +00:00
|
|
|
}
|