Rules

Configurable rules available in Wist.

Name Description Since

camel-case-func

Function names must be declared using camelCasing

1.0.0

comma-separated-arrays

Array elements must be delimited by a comma

1.0.0

function-return-statement

Functions that declare a type must return a value

1.0.0

function-return-type

Functions that declare a type must return a value

1.0.0

invalid-associative-array-keys

Associative array keys must not collide with global function names

2.0.0

no-arg-types

Disallows types in arguments

2.0.0

no-comma-separated-arrays

Array elements must NOT be delimited by a comma

1.0.0

no-print

Disallow print and ? statements

1.0.0

no-private-func

Disallow functions with void return type

1.0.0

no-shorthand-if

Disallow if statements without then keyword

1.0.0

no-shorthand-print

Disallow shorthand print statements using ?

2.0.0

no-stop

Disallow stop statements

1.0.0

no-void-func

Disallow functions with void return type

1.0.0

print-concat-semicolon

Print concatenation must be done with a semicolon.

2.0.0