Skip to content

Instantly share code, notes, and snippets.

@guidojw
Created December 1, 2021 13:36
Show Gist options
  • Save guidojw/7f9958c9e34fb1a384fb8a7e5f633e97 to your computer and use it in GitHub Desktop.
Save guidojw/7f9958c9e34fb1a384fb8a7e5f633e97 to your computer and use it in GitHub Desktop.
selene Lua linter problem matcher for GitHub Actions.
{
"problemMatcher": [
{
"owner": "selene",
"pattern": [
{
"regexp": "^(error|warning|info)\\[(.*)\\]:\\s(.*)$",
"severity": 1,
"message": 3,
"code": 2
},
{
"regexp": "^\\s+\\u250C\\u2500\\s(.*):(\\d+):(\\d+)$",
"file": 1,
"line": 2,
"column": 3
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment