Skip to content

Commit

Permalink
Update available-rules.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vtchem authored Jul 11, 2022
1 parent 8328d15 commit 5990e87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions info/available-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
| 4 | 4.1.1 | FLOAT_IN_ACCURATE_CALCULATIONS | Checks that floating-point values are not used in the arithmetic expressions.<br>Fix: no | no | no | Current implementation detects only floating-point constants. |
| 4 | 4.1.3 | SAY_NO_TO_VAR | Check: warns if the `var` modifier is used for a local variable (not in a class or at file level), and this var is not used in accumulators. | no | no | no | several fixmes related to the search mechanism (VariablesSearch) and fixme for checking reassinment of this var |
| 4 | 4.2.1 | SMART_CAST_NEEDED | Check: warns if the casting can be omitted.<br>Fix: Deletes casting. | yes | no | - | |
| 4 | 4.2.2 | TYPE_ALIAS | Check: if the type reference of a property is longer than expected. | yes | typeReferenceLength | - |
| 4 | 4.2.2 | TYPE_ALIAS | Check: if the type reference for a property is longer than expected. | yes | typeReferenceLength | - |
| 4 | 4.2.2 | TYPE_ALIAS | Check: if the type reference of a property is longer than expected. | yes | typeReferenceLength | - | |
| 4 | 4.3.1 | NULLABLE_PROPERTY_TYPE | Check: warns if an immutable property is initialized with null, or if the immutable property can have non-nullable type instead of nullable.<br>Fix: suggests the initial value instead of null or changes in the immutable property type. | yes | no | - |
| 4 | 4.3.2 | GENERIC_VARIABLE_WRONG_DECLARATION | Check: warns if variables of generic types don't have an explicit type declaration.<br>Fix: fixes only the variables that have a generic declaration on both sides. | yes | no | + |
| 4 | 4.3.3 | AVOID_NULL_CHECKS | Check: warns if the null-check is used explicitly (for example: if (a == null)). | yes | no | Currently, no autofix. |
Expand Down

0 comments on commit 5990e87

Please sign in to comment.