Commit graph

13 commits

Author SHA1 Message Date
William Wallace
36313f0915
emit error when proc is defined multiple times (#181)
* emit error when proc is defined multiple times

* simplify

* simpler

Co-authored-by: spookydonut <github@spooksoftware.com>
2020-05-09 00:42:34 +08:00
Jordan Brown
2b69c46c41
Fix ';' in proc args causing parse failure (#176)
Optionally allow trailing `;`s after the expression in proc arguments. 
Emit a warning when doing so.
2020-04-07 23:36:26 -07:00
spookydonut
f0536cc467 Add config options for constant eval condition errors 2020-04-02 15:22:26 +08:00
spookydonut
b285428e25
Add lints for private/protected vars and procs (#124)
* private

* done

* config

* protected

* oops

* aaaaaa

* override

* add tests
2020-03-04 18:44:46 +08:00
spookydonut
d0f3a87433
Add should-be-pure & should-not-sleep lints (#132)
* second attempt

* aaa

* adds proc purity

* almost done

* a

* aa

* a

* a

* aaa

* a

* check for LShift

* dont know how to fix this error

* makes this work

* docs

* tabs

* cleanup

* configuration

* unit tests

* grammar

* forgot i changed this

* make this determinate
2020-03-04 18:20:35 +08:00
spookydonut
d9386bd71b
Warn on weird values given to built-in set directives (#168) 2020-03-03 23:52:24 +08:00
spookydonut
9dbcfefe2f Add off-by-default lint to forbid relative pathing (#150)
Warning: extremely opinionated code standard linting.

Closes #148.

This detects type definitions without a leading / as relative though.
2020-01-21 19:46:13 -08:00
spookydonut
70bb8b682d Add option for dmdoc to always use typepath names (#149)
Closes #94.
2020-01-21 19:03:47 -08:00
spookydonut
321f7ccd7a
Add configuration option for "SpacemanDMM_final" var declare warnings (#157) 2020-01-21 17:42:39 +08:00
spookydonut
b945de9315 Readd "override precedes definition" warning (#147)
Now with configuration option.
2020-01-18 13:58:37 -08:00
spookydonut
dfc49218d2 Update config docs (#143) 2020-01-13 17:41:56 -08:00
Tad Hardesty
b45855e531 Update documentation 2020-01-12 14:03:36 -08:00
Tad Hardesty
88c0711aad Move configuration readme to root directory 2020-01-12 13:07:18 -08:00
Renamed from src/dreammaker/configREADME.md (Browse further)