mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-05-28 17:16:29 +03:00
Added HTML folding-ranges. Fixed HTMLFormatter::HTMLtoXML. Added `TextDocument::toString` and `TextDocument::toUtf8String`. Fixed incorrect check for emojis in Text. Fixed potential crash due to CSS parsing issues in StyleSheetSpecification.
147 lines
4.9 KiB
JSON
147 lines
4.9 KiB
JSON
{
|
|
"config": {
|
|
"delay_time": "0.5s"
|
|
},
|
|
"linters": [
|
|
{
|
|
"language": "php",
|
|
"file_patterns": ["%.php$"],
|
|
"warning_pattern": "[%a ]+:%s+(.*)%s+in%s.*on%sline%s+(%d+)",
|
|
"warning_pattern_order": { "line": 2, "col": 0, "message": 1 },
|
|
"command": "php -l $FILENAME",
|
|
"url": "https://www.php.net"
|
|
},
|
|
{
|
|
"language": "json",
|
|
"file_patterns": ["%.json$"],
|
|
"warning_pattern": "",
|
|
"command": "json",
|
|
"type": "native",
|
|
"url": "#native"
|
|
},
|
|
{
|
|
"language": ["javascript", "typescript", "jsx", "tsx"],
|
|
"file_patterns": ["%.js$", "%.ts$", "%.jsx$", "%.tsx$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+): ([^%[]+)%[([^\n]+)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 3, "type": 4 },
|
|
"command": "oxlint --no-ignore --format unix $FILENAME",
|
|
"url": "https://github.com/oxc-project/oxc"
|
|
},
|
|
{
|
|
"language": "lua",
|
|
"file_patterns": ["%.lua$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):[%s]?([^\n]+)",
|
|
"command": "luacheck $FILENAME --formatter=plain -g --no-max-line-length",
|
|
"url": "https://github.com/mpeterv/luacheck"
|
|
},
|
|
{
|
|
"language": "python",
|
|
"file_patterns": ["%.py$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):%s([^\n]+)",
|
|
"command": "ruff check $FILENAME",
|
|
"url": "https://ruff.rs"
|
|
},
|
|
{
|
|
"language": "bash",
|
|
"file_patterns": ["%.sh$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):%s?([^%s]*)([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "shellcheck -f gcc $FILENAME",
|
|
"url": "https://www.shellcheck.net"
|
|
},
|
|
{
|
|
"language": "solidity",
|
|
"file_patterns": ["%.sol$"],
|
|
"warning_pattern": "(%d+):(%d+)%s.(%w*)%s.([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "solhint $FILENAME",
|
|
"url": "https://protofire.github.io/solhint/"
|
|
},
|
|
{
|
|
"language": ["c", "cpp"],
|
|
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$"],
|
|
"warning_pattern": "$FILENAME:(%d+):(%d+):%s?([^%s]*)([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "cppcheck --language=c++ --enable=all --template=gcc --inline-suppr --disable=unusedFunction $FILENAME",
|
|
"url": "https://github.com/danmar/cppcheck"
|
|
},
|
|
{
|
|
"language": "kotlin",
|
|
"file_patterns": ["%.kt$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):%s([^\n]+)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 3, "type": 4 },
|
|
"command": "ktlint $FILENAME",
|
|
"url": "https://pinterest.github.io/ktlint/"
|
|
},
|
|
{
|
|
"language": "zig",
|
|
"file_patterns": ["%.zig$"],
|
|
"warning_pattern": "[^%s:]:(%d+):(%d+):[%s]?(%w*):([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "zig ast-check $FILENAME",
|
|
"deduplicate": true,
|
|
"expected_exitcodes": [0, 1],
|
|
"url": "https://ziglang.org"
|
|
},
|
|
{
|
|
"language": "nim",
|
|
"file_patterns": ["%.nim$", "%.nims$"],
|
|
"warning_pattern": "$FILENAME%((%d+), (%d+)%)%s(%w*):%s([^\n]+[^/]*)",
|
|
"command": "nim --listfullpaths --stdout check $FILENAME",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"deduplicate": true,
|
|
"expected_exitcodes": [0, 1],
|
|
"use_tmp_folder": true,
|
|
"url": "https://nim-lang.org"
|
|
},
|
|
{
|
|
"language": "nelua",
|
|
"file_patterns": ["%.nelua$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):%s([%w%s]*):%s?([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "nelua --lint $FILENAME",
|
|
"url": "https://nelua.io"
|
|
},
|
|
{
|
|
"language": "teal",
|
|
"file_patterns": ["%.tl$"],
|
|
"warning_pattern": "[^:]:(%d+):(%d+):[%s]?([^\n]+)",
|
|
"command": "tl check $FILENAME",
|
|
"expected_exitcodes": [0],
|
|
"url": "https://github.com/teal-language/tl"
|
|
},
|
|
{
|
|
"language": "haskell",
|
|
"file_patterns": ["%.hs$"],
|
|
"warning_pattern": "$FILENAME:(%d+):(%d+):%s(%w*):%s([^\n]*)",
|
|
"warning_pattern_order": { "line": 1, "col": 2, "message": 4, "type": 3 },
|
|
"command": "hlint --color=never -j $FILENAME",
|
|
"url": "https://github.com/ndmitchell/hlint"
|
|
},
|
|
{
|
|
"language": "xml",
|
|
"file_patterns": ["%.xml$", "%.svg$"],
|
|
"warning_pattern": "",
|
|
"command": "xml",
|
|
"type": "native",
|
|
"url": "#native"
|
|
},
|
|
{
|
|
"language": "yaml",
|
|
"file_patterns": ["%.yml$", "%.yaml$"],
|
|
"warning_pattern": "",
|
|
"command": "yaml",
|
|
"type": "native",
|
|
"url": "#native"
|
|
},
|
|
{
|
|
"language": "html",
|
|
"file_patterns": ["%.[mpx]?html?$", "%.handlebars$"],
|
|
"warning_pattern": "",
|
|
"command": "html",
|
|
"type": "native",
|
|
"url": "#native"
|
|
}
|
|
]
|
|
}
|