diff --git a/.luacheckrc b/.luacheckrc index 2c824ad..227756b 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -2,6 +2,19 @@ unused_args = false allow_defined_top = true max_line_length = false +exclude_files = { + './scripts', + './bin', + './logs', + './node_modules', + './sounds', + './textures', + './models', + './docs', + './locale', + './types', +} + globals = { 'XBows', 'XBowsQuiver', diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 272a42b..51a5ed8 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -5,7 +5,7 @@ pipelines: "**": - parallel: - step: - name: Lint code + name: Lua Check script: - apt-get update - apt-get -y install lua5.1 @@ -25,7 +25,7 @@ pipelines: master: - parallel: - step: - name: Lint code + name: Lua Check script: - apt-get update - apt-get -y install lua5.1 @@ -45,7 +45,7 @@ pipelines: "*": - parallel: - step: - name: Lint code + name: Lua Check script: - apt-get update - apt-get -y install lua5.1