From 5990e873cfa32d2b2e55e9293414a62b947e0dcc Mon Sep 17 00:00:00 2001 From: vtchem <74022270+vtchem@users.noreply.github.com> Date: Tue, 12 Jul 2022 01:44:03 +0300 Subject: [PATCH] Update available-rules.md --- info/available-rules.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/info/available-rules.md b/info/available-rules.md index 7b07af2c46..6eafa692d3 100644 --- a/info/available-rules.md +++ b/info/available-rules.md @@ -95,8 +95,7 @@ | 4 | 4.1.1 | FLOAT_IN_ACCURATE_CALCULATIONS | Checks that floating-point values are not used in the arithmetic expressions.
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.
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.
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.
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. |