Skip to content

Commit fa2217e

Browse files
committed
feat(settings): remove deprecated robocop configuration options
1 parent 64f63e2 commit fa2217e

File tree

2 files changed

+2
-45
lines changed

2 files changed

+2
-45
lines changed

package.json

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1155,27 +1155,7 @@
11551155
"default": true,
11561156
"markdownDescription": "Enables 'robocop' code analysis, if installed. See [robocop](https://robocop.readthedocs.io/)",
11571157
"scope": "resource"
1158-
},
1159-
"robotcode.robocop.include": {
1160-
"type": "array",
1161-
"default": [],
1162-
"items": {
1163-
"type": "string"
1164-
},
1165-
"description": "Include specified 'robocop' rules. You can define rule by its name or id. Glob patterns are supported",
1166-
"scope": "resource",
1167-
"markdownDeprecationMessage": "This is a setting for an old `robotframework-robocop` version `<6.0` and will be removed in the future and will be removed in the future and is ignored if you have `robotframework-robocop>=6.0` installed."
1168-
},
1169-
"robotcode.robocop.exclude": {
1170-
"type": "array",
1171-
"default": [],
1172-
"items": {
1173-
"type": "string"
1174-
},
1175-
"description": "Exclude specified 'robocop' rules. You can define rule by its name or id. Glob patterns are supported",
1176-
"scope": "resource",
1177-
"markdownDeprecationMessage": "This is a setting for an old `robotframework-robocop` version `<6.0` and will be removed in the future and is ignored if you have `robotframework-robocop>=6.0` installed."
1178-
},
1158+
},
11791159
"robotcode.robocop.ignoreGitDir": {
11801160
"type": "boolean",
11811161
"default": false,
@@ -1193,16 +1173,6 @@
11931173
"default": false,
11941174
"markdownDescription": "Do not load configuration files. Corresponds to the `--ignore-file-config` option of _robocop_ See [robocop](https://robocop.readthedocs.io/)",
11951175
"scope": "resource"
1196-
},
1197-
"robotcode.robocop.configurations": {
1198-
"type": "array",
1199-
"default": [],
1200-
"items": {
1201-
"type": "string"
1202-
},
1203-
"description": "Configure checker or report with parameter value. Corresponds to the `--configure` option of _robocop_ See [robocop](https://robocop.readthedocs.io/)",
1204-
"scope": "resource",
1205-
"markdownDeprecationMessage": "This is a setting for an old `robotframework-robocop` version `<6.0` and will be removed in the future and will be removed in the future and is ignored if you have `robotframework-robocop>=6.0` installed."
12061176
}
12071177
}
12081178
},

tests/robotcode/language_server/robotframework/parts/data/.vscode/settings.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,8 @@
1212
"justMyCode": false
1313
}
1414
},
15-
"robotcode.languageServer.extraArgs": [
16-
"--verbose",
17-
"--debugpy",
18-
//"--debugpy-wait-for-client",
19-
"--log",
20-
"--log-level", "DEBUG",
21-
// "--log-format", "%(indent)s%(levelname)s:%(name)s:%(filename)s:%(lineno)d: %(message)s"
22-
23-
// "--log-config", "logging.json"
24-
],
2515
// "robotcode.robocop.configFile": "pyproject.toml",
26-
"robotcode.robocop.enabled": true,
27-
"robotcode.robocop.exclude": [
28-
"E0303"
29-
],
16+
"robotcode.robocop.enabled": false,
3017
"robotcode.analysis.referencesCodeLens": false,
3118
"robotcode.analysis.diagnosticMode": "openFilesOnly",
3219
"robotcode.analysis.progressMode": "detailed",

0 commit comments

Comments
 (0)