Bump eslint-plugin-sonarjs from 1.0.4 to 2.0.3 #1956
Annotations
10 errors
Test:
src/converters/basic_sensors.ts#L83
Refactor this code to not nest functions more than 4 levels deep
|
Test:
src/converters/basic_sensors/air_pressure.ts#L40
A function with a name starting with an uppercase letter should only be used as a constructor
|
Test:
src/converters/basic_sensors/binary.ts#L30
Constructor has too many parameters (8). Maximum allowed is 3
|
Test:
src/converters/basic_sensors/binary.ts#L69
Constructor has too many parameters (10). Maximum allowed is 3
|
Test:
src/converters/light.ts#L149
A function with a name starting with an uppercase letter should only be used as a constructor
|
Test:
src/converters/lock.ts#L75
A function with a name starting with an uppercase letter should only be used as a constructor
|
Test:
src/converters/lock.ts#L81
A function with a name starting with an uppercase letter should only be used as a constructor
|
Test:
src/converters/switch.ts#L89
A function with a name starting with an uppercase letter should only be used as a constructor
|
Test:
src/docgen/docgen.ts#L55
Make sure the regex used here, which is vulnerable to super-linear runtime due to backtracking, cannot lead to denial of service
|
Test:
src/docgen/docgen.ts#L66
Make sure the regex used here, which is vulnerable to super-linear runtime due to backtracking, cannot lead to denial of service
|
Loading