Open maxitg opened 4 years ago
If we incorporate macros like ModuleScope
(see https://github.com/maxitg/SetReplace/pull/461) then we should detect buried macros in the linter itself, since they don't evaluate properly (they do actually evaluate, but at runtime, which is quite slow).
May be relevant: https://github.com/WolframResearch/codeinspector
The code consistency is currently somewhat out of whack. Tabs and spaces are used inconsistently, indentation is different, the line width is not enforced, etc.
We need a linter that would work along with CI and if not automatically fix then at least detect issues with code style and consistency.
Some lint tests we might want are:
Flatten
/ReplaceAll
/Thread
used without an explicit level spec (might need a different mechanism forThread
).Module
/With
/Block
:GeneralUtilities`
:FindDeadCode
.Linters we need: