Compare commits
No commits in common. "50937a342f48d599a806c286351b6616429a3964" and "ea6727db40fc5c884f472d19ce521df5621511a4" have entirely different histories.
50937a342f
...
ea6727db40
2 changed files with 5 additions and 47 deletions
46
.arclint
46
.arclint
|
|
@ -1,46 +0,0 @@
|
||||||
{
|
|
||||||
"linters": {
|
|
||||||
"stylua": {
|
|
||||||
"type": "script-and-regex",
|
|
||||||
"script-and-regex.script": "sh -c 'stylua --check \"$0\" || true'",
|
|
||||||
"script-and-regex.regex": "/(?P<line>\\d+).*\\|\\-/m",
|
|
||||||
"include": "(\\.lua$)"
|
|
||||||
},
|
|
||||||
"luacheck": {
|
|
||||||
"type": "script-and-regex",
|
|
||||||
"script-and-regex.script": "sh -c 'luacheck \"$0\" || true'",
|
|
||||||
"script-and-regex.regex": "/^.*?:(?P<line>\\d+):(?P<char>\\d+):\\s+\\((?P<code>\\w+)\\) (?P<message>.*?)$/m",
|
|
||||||
"include": "(\\.lua$)"
|
|
||||||
},
|
|
||||||
"cargo": {
|
|
||||||
"type": "script-and-regex",
|
|
||||||
"script-and-regex.script": "sh -c 'cargo fmt --check --'",
|
|
||||||
"script-and-regex.regex": "/(?P<message>.*?)/",
|
|
||||||
"include": "(\\.rs$)"
|
|
||||||
},
|
|
||||||
"clippy": {
|
|
||||||
"type": "script-and-regex",
|
|
||||||
"script-and-regex.script": "sh -c 'cargo clippy --'",
|
|
||||||
"script-and-regex.regex": "/(?P<message>.*?)/",
|
|
||||||
"include": "(\\.rs$)"
|
|
||||||
},
|
|
||||||
"prettier": {
|
|
||||||
"type": "script-and-regex",
|
|
||||||
"script-and-regex.script": "prettier --check",
|
|
||||||
"script-and-regex.regex": "/(?P<message>.*?)/",
|
|
||||||
"include": "(\\.yml$|\\.json[c5]?$|\\.[tj]sx?$)"
|
|
||||||
},
|
|
||||||
"merge-conflict": {
|
|
||||||
"type": "merge-conflict"
|
|
||||||
},
|
|
||||||
"text": {
|
|
||||||
"type": "text"
|
|
||||||
},
|
|
||||||
"chmod": {
|
|
||||||
"type": "chmod"
|
|
||||||
},
|
|
||||||
"generated": {
|
|
||||||
"type": "generated"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -29,7 +29,11 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Run stylua
|
- name: Run stylua
|
||||||
run: npx @johnnymorganz/stylua-bin --check .
|
uses: JohnnyMorganz/stylua-action@v4.0.0
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
version: latest
|
||||||
|
args: --check .
|
||||||
|
|
||||||
cargo-format:
|
cargo-format:
|
||||||
name: Cargo Format
|
name: Cargo Format
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue