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.
|
2020-02-04 16:41:29 +00:00
|
|
|
-var:unused-arg
|
|
|
|
|
|
|
|
;; Suppress a couple of documentation comments warnings for now. We'll
|
|
|
|
;; hopefully be able to remove them in the coming weeks.
|
|
|
|
-doc:detached-comment -doc:undocumented -doc:undocumented-arg
|
|
|
|
-doc:unresolved-reference))
|
2019-12-03 23:26:13 +00:00
|
|
|
|
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)))
|