{"id":15707269,"url":"https://github.com/mikz/codeclimate-luacheck","last_synced_at":"2025-05-12T19:46:12.761Z","repository":{"id":136582418,"uuid":"85935980","full_name":"mikz/codeclimate-luacheck","owner":"mikz","description":"CodeClimate Engine running luacheck","archived":false,"fork":false,"pushed_at":"2018-06-13T09:44:22.000Z","size":30,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T02:51:55.978Z","etag":null,"topics":["codeclimate-engine","luacheck"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mikz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-23T10:18:16.000Z","updated_at":"2020-08-01T21:57:26.000Z","dependencies_parsed_at":"2023-04-11T18:52:47.787Z","dependency_job_id":null,"html_url":"https://github.com/mikz/codeclimate-luacheck","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikz%2Fcodeclimate-luacheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikz%2Fcodeclimate-luacheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikz%2Fcodeclimate-luacheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mikz%2Fcodeclimate-luacheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mikz","download_url":"https://codeload.github.com/mikz/codeclimate-luacheck/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253809950,"owners_count":21967828,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["codeclimate-engine","luacheck"],"created_at":"2024-10-03T20:39:04.818Z","updated_at":"2025-05-12T19:46:12.738Z","avatar_url":"https://github.com/mikz.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Climate luacheck Engine [![Build Status](https://travis-ci.org/mikz/codeclimate-luacheck.svg?branch=master)](https://travis-ci.org/mikz/codeclimate-luacheck)\n\nCodeClimate Engine that runs [luacheck](https://github.com/mpeterv/luacheck/) on Lua files.\nUses [linguist](https://github.com/github/linguist) to detect Lua files.\n\n## Engine\n\nTo enable the luacheck engine add the following to your `.codeclimate.yml` file:\n\n```yml\nengines:\n  luacheck:\n    enabled: true\nratings:\n  paths:\n    - \"**.lua\"\n```\n\n## Configuration\n\nLuacheck engine supports plenty of configuration options.\n\n### Checks\n\nYou can control which checks to enable/disable via [patterns](http://luacheck.readthedocs.io/en/stable/cli.html#patterns):\n\n```yaml\nengines:\n  luacheck:\n    enabled: true\n    checks:\n      631: # disable check 631\n        enabled: false\n      4.2: # disable shadowing declarations of arguments or redefining them\n        enabled: false\n```\n\n### Config\n\nYou can control global configuration options of luacheck:\n\n```yaml\nengines:\n  luacheck:\n    enabled: true\n    config:\n      allow_defined: # you can use both enabled: true/false and just true/false\n        enabled: true\n      allow_defined_top: false\n      module: false\n      compat: true\n      std: # which standard library to use, all are concatenated with +\n        - min\n        - busted\n      globals:\n        - val\n      read_globals:\n        - read\n      new_globals:\n        - new\n      new_read_globals:\n        - new\n      not_globals:\n        - new\n      ignore:\n        - new\n      enable:\n        - new\n      only: # only run global-related warnings\n        - 1\n```\n\n## Testing\n\n```shell\nmake build test integration\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikz%2Fcodeclimate-luacheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmikz%2Fcodeclimate-luacheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmikz%2Fcodeclimate-luacheck/lists"}