Added native JSON linter (SpartanJ/ecode#828).

This commit is contained in:
Martín Lucas Golini
2026-02-27 18:41:56 -03:00
parent 8cd44ed8c5
commit bc83764358
2 changed files with 56 additions and 18 deletions
+4 -7
View File
@@ -14,13 +14,10 @@
{
"language": "json",
"file_patterns": ["%.json$"],
"warning_pattern": "parse%s(%w*):%s(.*)at%sline%s(%d*),%scolumn%s(%d*)",
"warning_pattern_order": { "line": 3, "col": 4, "message": 2, "type": 1 },
"command": "jq -e . $FILENAME",
"expected_exitcodes": [1, 2, 3, 4, 5],
"no_errors_exit_code": 0,
"use_tmp_folder": true,
"url": "https://stedolan.github.io/jq/"
"warning_pattern": "",
"command": "json",
"type": "native",
"url": "#native"
},
{
"language": ["javascript", "typescript", "jsx", "tsx"],