Skip to content

Commit

Permalink
Add luacheck file
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Apr 29, 2021
1 parent 7e1872c commit 0f00e80
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -qo 011
args: -q

- name: Package
uses: BigWigsMods/packager@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ jobs:
- name: Run luacheck
uses: BigWigsMods/actions/luacheck@master
with:
args: -qo 011
args: -q

16 changes: 16 additions & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
std = "lua51"
max_line_length = false
codes = true
exclude_files = {
"**/Libs",
}
ignore = {

}
globals = {
"BADBOY_OPTIONS",
"BADBOY_BLACKLIST",
"date",
"GetFramesRegisteredForEvent",
"SetCVar",
}

0 comments on commit 0f00e80

Please sign in to comment.