{"push_id":2336832181,"size":5,"distinct_size":5,"ref":"refs/heads/master","head":"48a501ae8f4c506b0a422dd99566b1a106833881","before":"e67234705601a294c2cbca0fbe6ba4ed53c4517a","commits":[{"sha":"9aa2170bd7dcaff7043dbae4ab8148d6fc692d08","author":{"name":"Peter Melnichenko","email":"9b026fd479e40a818feab7359baf5dc0ed4df15c@gmail.com"},"message":"Refactor the way CLI interacts with core modules\n\nMove out logic of interaction between CLI and core luacheck\nmodule into a new module `luacheck.runner`. This new module\nprovides an object-oriented way to use luacheck with all the CLI\nfunctionality like config loading, caching, and multithreading.\nEventually it can be made public interface (just need to fix\nerror reporting).\n\n`luacheck.runner` supports setting custom stds and per-file overrides\nfrom Lua. It accepts a table of options; it's interpreted\nas a config, and based on its `config` and `default_config` options\nan actual config is loaded as well. These configs are combined\nusing new `config.stack_configs()` interface. Eventually same\nmechanism will be used to support multiple configs per file.\n\n`config.load_config` now doesn't validate the loaded config,\nand returns a slightly different structure representing a config.\n`config.table_to_config` just converts an options table\nto a \"config\". Functions for working with config tables\nsuch as `config.get_options` have been moved into the new\nConfigStack class.\n\nDuring clean-up a feature was added: config now supports\n`quiet` and `ranges` options. The latter can technically\nbreak linters that use the recommended interface but don't\npass `--ranges`. However, this has been the case for `codes` already.\n\nTODO: fix config spec to test `config.load_config` and `config.stack_configs`\nseparately.\nTODO: consider moving config loading logic into a separate module.\nTODO: test `luacheck.runner` interface.\nTODO: make error reporting in `luacheck.runner` more helpful before\nmaking it public interface. It should be possible to tell apart\ndifferent types of errors, particularly option/config validation errors\nvs the rest.","distinct":true,"url":"https://api.github.com/repos/mpeterv/luacheck/commits/9aa2170bd7dcaff7043dbae4ab8148d6fc692d08"},{"sha":"ab074fba4b6940b6e5ce0364afd7b7988b1ee0d4","author":{"name":"Peter Melnichenko","email":"9b026fd479e40a818feab7359baf5dc0ed4df15c@gmail.com"},"message":"Update CHANGELOG.md","distinct":true,"url":"https://api.github.com/repos/mpeterv/luacheck/commits/ab074fba4b6940b6e5ce0364afd7b7988b1ee0d4"},{"sha":"6fd3c15e70278eb1a017fe1e8c01bd25e2ae5600","author":{"name":"Peter Melnichenko","email":"9b026fd479e40a818feab7359baf5dc0ed4df15c@gmail.com"},"message":"Fix --cache passing .luacheckcache instead of true to runner","distinct":true,"url":"https://api.github.com/repos/mpeterv/luacheck/commits/6fd3c15e70278eb1a017fe1e8c01bd25e2ae5600"},{"sha":"937c3f81fd56b850f1aef918eefd98e5ebe3e3b0","author":{"name":"Peter Melnichenko","email":"9b026fd479e40a818feab7359baf5dc0ed4df15c@gmail.com"},"message":"Use absolute paths in cache\n\nOtherwise using cache relative to a config\nloaded from some parent directory fails.\n\nAlso, avoid getcwd() call for each file when filtering\nusing exclude/include_files.","distinct":true,"url":"https://api.github.com/repos/mpeterv/luacheck/commits/937c3f81fd56b850f1aef918eefd98e5ebe3e3b0"},{"sha":"48a501ae8f4c506b0a422dd99566b1a106833881","author":{"name":"Peter Melnichenko","email":"9b026fd479e40a818feab7359baf5dc0ed4df15c@gmail.com"},"message":"Update CHANGELOG.md","distinct":true,"url":"https://api.github.com/repos/mpeterv/luacheck/commits/48a501ae8f4c506b0a422dd99566b1a106833881"}]}
{"actor":{"display_login":"mpeterv"}}