🩺 Code checks on PR 727 #605
Annotations
1 error and 10 warnings
|
ESLint
Process completed with exit code 1.
|
|
Lint iOS:
ios/ReactNativeCameraKit/CameraView.swift#L463
File should contain 400 lines or less: currently contains 463 (file_length)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CameraView.swift#L442
There should be no space before and one after any comma (comma)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CameraView.swift#L442
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CameraView.swift#L433
Colons should be next to the identifier when specifying a type and next to the key in dictionary literals (colon)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L74
Fallthroughs can only be used if the `case` contains at least one other statement (no_fallthrough_only)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L20
Enum element name 'qr' should be between 3 and 40 characters long (identifier_name)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L54
Function should have complexity 10 or less; currently complexity is 16 (cyclomatic_complexity)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L29
Function should have complexity 10 or less; currently complexity is 16 (cyclomatic_complexity)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L56
`if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
|
|
Lint iOS:
ios/ReactNativeCameraKit/CodeFormat.swift#L31
`if`, `for`, `guard`, `switch`, `while`, and `catch` statements shouldn't unnecessarily wrap their conditionals or arguments in parentheses (control_statement)
|