Skip to content

Commit c8302c7

Browse files
committed
Update mago.toml to ignore specific error codes
1 parent 53a8a0e commit c8302c7

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.mago/mago.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,12 @@ find-unused-parameters = false
3434
strict-list-index-checks = false
3535
no-boolean-literal-comparison = false
3636
check-missing-type-hints = false
37-
register-super-globals = true
37+
register-super-globals = true
38+
ignore = [
39+
# error
40+
"falsable-return-statement", "invalid-iterator", "invalid-property-access", "invalid-return-statement", "less-specific-argument", "mixed-argument", "mixed-array-access", "mixed-array-assignment", "mixed-operand", "mixed-property-access", "mixed-property-type-coercion", "mixed-return-statement", "non-existent-class", "nullable-return-statement", "possible-method-access-on-null", "possibly-false-argument", "possibly-invalid-argument", "possibly-null-argument", "possibly-null-property-access",
41+
# warning
42+
"ambiguous-object-property-access", "generic-object-iteration", "impossible-condition", "impossible-null-type-comparison", "impossible-type-comparison", "mixed-assignment", "possibly-false-operand", "possibly-invalid-iterator", "possibly-null-array-access", "possibly-null-iterator", "possibly-null-operand", "string-member-selector",
43+
# help
44+
"redundant-comparison", "redundant-logical-operation"
45+
]

0 commit comments

Comments
 (0)