2019-12-03 23:26:13 +00:00
|
|
|
; -*- mode: Lisp;-*-
|
|
|
|
|
|
|
|
(sources
|
|
|
|
/src/main/resources/assets/computercraft/lua/bios.lua
|
2019-12-07 10:33:47 +00:00
|
|
|
/src/main/resources/assets/computercraft/lua/rom/
|
|
|
|
/src/test/resources/test-rom)
|
2019-12-03 23:26:13 +00:00
|
|
|
|
|
|
|
(at /
|
|
|
|
(linters
|
2019-12-10 18:54:43 +00:00
|
|
|
;; It'd be nice to avoid this, but right now there's a lot of instances of
|
|
|
|
;; it.
|
2019-12-03 23:26:13 +00:00
|
|
|
-var:set-loop
|
|
|
|
|
|
|
|
;; It's useful to name arguments for documentation, so we allow this. It'd
|
|
|
|
;; be good to find a compromise in the future, but this works for now.
|
|
|
|
-var:unused-arg))
|
|
|
|
|
2019-12-10 18:54:43 +00:00
|
|
|
;; We disable the unused global linter in bios.lua and the APIs. In the future
|
2019-12-03 23:26:13 +00:00
|
|
|
;; hopefully we'll get illuaminate to handle this.
|
|
|
|
(at
|
|
|
|
(/src/main/resources/assets/computercraft/lua/bios.lua
|
|
|
|
/src/main/resources/assets/computercraft/lua/rom/apis/)
|
2019-12-10 18:54:43 +00:00
|
|
|
(linters -var:unused-global)
|
|
|
|
(lint
|
|
|
|
(allow-toplevel-global true)))
|
2019-12-03 23:26:13 +00:00
|
|
|
|
|
|
|
;; These warnings are broken right now
|
|
|
|
(at (bios.lua worm.lua) (linters -control:unreachable))
|