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:
parent
0342a892fb
commit
657575ae30
7 changed files with 201 additions and 46 deletions
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal 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)$
|
||||
Loading…
Add table
Add a link
Reference in a new issue