Converts the love-api to a love.yml
file for use with the selene linter.
If you're using VS Code the easiest way to use selene with your project it with the extension.
- Save the
love.yml
file into your LÖVE project's directory. - In that same directory, modify or create the
selene.toml
file with the following:
std="lua51+love"
Building a love.yml
file for an older version of the LÖVE API is very simple.
- Clone the repo (or just copy main.lua)
git clone https://github.com/jacob-herrera/love.yml
-
Download an earlier version from the love-api releases
-
Place the
love_api.lua
andmodules
folder from the love-api into the repo -
Run the lua file with:
lua main.lua