chore: add CI, pre-commit, and luarocks configs

- Add CI workflows (format, lint, typecheck)
- Add quality workflow
- Add luarocks publishing workflow
- Add pre-commit configuration
- Add luarocks rockspec
- Add selene.toml for linting
- Remove issue template
This commit is contained in:
Barrett Ruth 2026-02-03 21:01:57 -05:00
parent 0342a892fb
commit 657575ae30
7 changed files with 201 additions and 46 deletions

17
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,17 @@
minimum_pre_commit_version: '3.5.0'
repos:
- repo: https://github.com/JohnnyMorganz/StyLua
rev: v2.3.1
hooks:
- id: stylua-github
name: stylua (Lua formatter)
files: \.lua$
pass_filenames: true
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
name: prettier
files: \.(md|toml|ya?ml|sh)$