{ "linters": { "stylua": { "type": "script-and-regex", "script-and-regex.script": "sh -c 'stylua --check \"$0\" || true'", "script-and-regex.regex": "/(?P\\d+).*\\|\\-/m", "include": "(\\.lua$)" }, "luacheck": { "type": "script-and-regex", "script-and-regex.script": "sh -c 'luacheck \"$0\" || true'", "script-and-regex.regex": "/^.*?:(?P\\d+):(?P\\d+):\\s+\\((?P\\w+)\\) (?P.*?)$/m", "include": "(\\.lua$)" }, "cargo": { "type": "script-and-regex", "script-and-regex.script": "sh -c 'cargo fmt --check --'", "script-and-regex.regex": "/(?P.*?)/", "include": "(\\.rs$)" }, "clippy": { "type": "script-and-regex", "script-and-regex.script": "sh -c 'cargo clippy --'", "script-and-regex.regex": "/(?P.*?)/", "include": "(\\.rs$)" }, "prettier": { "type": "script-and-regex", "script-and-regex.script": "prettier --check", "script-and-regex.regex": "/(?P.*?)/", "include": "(\\.yml$|\\.json[c5]?$|\\.[tj]sx?$)" }, "merge-conflict": { "type": "merge-conflict" }, "text": { "type": "text" }, "chmod": { "type": "chmod" }, "generated": { "type": "generated" } } }