2019-12-03 23:26:13 +00:00
|
|
|
; -*- mode: Lisp;-*-
|
|
|
|
|
|
|
|
(sources
|
2020-04-10 09:27:53 +00:00
|
|
|
/doc/stub/
|
2020-04-22 09:00:43 +00:00
|
|
|
/src/main/resources/data/computercraft/lua/bios.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/
|
2019-12-07 10:33:47 +00:00
|
|
|
/src/test/resources/test-rom)
|
2019-12-03 23:26:13 +00:00
|
|
|
|
2020-04-10 09:27:53 +00:00
|
|
|
(doc
|
|
|
|
(title "CC: Tweaked")
|
|
|
|
(index doc/index.md)
|
|
|
|
(source-link https://github.com/SquidDev-CC/CC-Tweaked/blob/${commit}/${path}#L${line})
|
|
|
|
|
|
|
|
(library-path
|
|
|
|
/doc/stub/
|
|
|
|
|
2020-04-22 09:00:43 +00:00
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/command
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/turtle
|
2020-04-10 09:27:53 +00:00
|
|
|
|
2020-04-22 09:00:43 +00:00
|
|
|
/src/main/resources/data/computercraft/lua/rom/modules/main
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/modules/command
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/modules/turtle))
|
2020-04-10 09:27:53 +00:00
|
|
|
|
2019-12-03 23:26:13 +00:00
|
|
|
(at /
|
|
|
|
(linters
|
2020-04-18 09:09:40 +00:00
|
|
|
syntax:string-index
|
|
|
|
|
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
|
2020-04-10 09:27:53 +00:00
|
|
|
;; hopefully be able to remove them in the future.
|
|
|
|
-doc:undocumented -doc:undocumented-arg -doc:unresolved-reference
|
2020-04-18 09:09:40 +00:00
|
|
|
-var:unresolved-member)
|
|
|
|
(lint
|
|
|
|
(bracket-spaces
|
|
|
|
(call no-space)
|
|
|
|
(function-args no-space)
|
|
|
|
(parens no-space)
|
|
|
|
(table space)
|
|
|
|
(index no-space))))
|
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
|
2020-04-22 09:00:43 +00:00
|
|
|
(/src/main/resources/data/computercraft/lua/bios.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/)
|
2019-12-10 18:54:43 +00:00
|
|
|
(linters -var:unused-global)
|
2020-04-10 09:27:53 +00:00
|
|
|
(lint (allow-toplevel-global true)))
|
|
|
|
|
|
|
|
;; Silence some variable warnings in documentation stubs.
|
|
|
|
(at /doc/stub
|
|
|
|
(linters -var:unused-global)
|
|
|
|
(lint (allow-toplevel-global true)))
|
2020-04-21 11:12:44 +00:00
|
|
|
|
|
|
|
;; Ensure any fully documented modules stay fully documented.
|
|
|
|
(at
|
2020-04-22 09:00:43 +00:00
|
|
|
(/src/main/resources/data/computercraft/lua/rom/apis/colors.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/colours.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/disk.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/gps.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/help.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/keys.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/paintutils.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/parallel.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/peripheral.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/rednet.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/settings.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/texutils.lua
|
|
|
|
/src/main/resources/data/computercraft/lua/rom/apis/vector.lua)
|
2020-04-21 11:12:44 +00:00
|
|
|
(linters doc:undocumented doc:undocumented-arg))
|