Potential future rules/parsers.
Either:
- PQ on the CLI, and/or PQ Parser
- Tabular editor C# rules using Tabular2/3 ( or even by itself )
- ScriptIsSynacticallyValid / no parse errors
- either
some_table
orsomeTable
orSomeTable
orSome.Table
or `#"Some Table"- pick one, and be consistant
- nested
each function
, warn may be missing - like the linter message: You used
stuff
did you meanStuff
- Identifier references are missing ( ie: 2nd query in the advanced editor )
- Invisible Datetime Intelligence Tables found
- Inspect existing connector's code for patterns
- WarnOnInvisibleCharacters: invisible control chars should give a warning
- Assert
t
is one of unionUnion([int, text, Currency.Type])
- DisallowDefaultValueAsAggregate : Undo any non-numerical
- ValidateRange(min,max) numerical ranges
- Assert List has N count items
- Assert List is all of the same type
Resolve.Text = if text return else Text.From(..)
fn_Example( source as list, ...) Assert.CompatibleWithUnion( source, Union(int | text | currency) )
fn_AverageSales( source as list ):
entire list is of { Currency.Type }
not just a { Int64 }