ESP32 Platform Documentation

ESLint Report

/home/runner/work/esp32/esp32/app/Views/admin/dashboard_modules/example.php

Line 90: Trailing spaces not allowed.
Line 91: There should be no space after this paren.
Line 91: There should be no space before this paren.
Line 93: There should be no space after this paren.
Line 94: Strings must use singlequote.
Line 94: There should be no space after this paren.
Line 94: There should be no space before this paren.
Line 96: There should be no space after this paren.
Line 97: Strings must use singlequote.
Line 97: There should be no space after this paren.
Line 97: There should be no space before this paren.
Line 99: There should be no space after this paren.
Line 100: Strings must use singlequote.
Line 100: There should be no space after this paren.
Line 100: There should be no space before this paren.
Line 102: There should be no space after this paren.
Line 103: Strings must use singlequote.
Line 103: There should be no space after this paren.
Line 103: There should be no space before this paren.
Line 105: There should be no space after this paren.
Line 106: Strings must use singlequote.
Line 106: There should be no space after this paren.
Line 106: There should be no space before this paren.
Line 107: Trailing spaces not allowed.
Line 109: Strings must use singlequote.
Line 110: Trailing spaces not allowed.
Line 111: There should be no space after this paren.
Line 111: There should be no space before this paren.
Line 113: 'dom' is never reassigned. Use 'const' instead.
Line 115: This line has a length of 102. Maximum allowed is 100.
Line 118: Trailing spaces not allowed.
Line 119: Strings must use singlequote.
Line 119: There should be no space after this paren.
Line 119: There should be no space before this paren.
Line 122: There should be no space after this paren.
Line 123: Strings must use singlequote.
Line 123: There should be no space after this paren.
Line 123: Strings must use singlequote.
Line 123: There should be no space before this paren.
Line 125: 'usage' is never reassigned. Use 'const' instead.
Line 125: No magic number: 100.
Line 126: Strings must use singlequote.
Line 126: Strings must use singlequote.
Line 126: Strings must use singlequote.
Line 127: Trailing spaces not allowed.
Line 130: Multiple spaces found before ')'.
Line 130: There should be no space after this paren.
Line 130: There should be no space before this paren.
Line 140: Trailing spaces not allowed.
Line 141: There should be no space after this paren.
Line 142: There should be no space after this paren.
Line 142: There should be no space before this paren.
Line 146: Trailing spaces not allowed.
Line 151: No magic number: 5000.
Line 151: There should be no space before this paren.
Line 153: Trailing spaces not allowed.

/home/runner/work/esp32/esp32/app/Views/admin/device.php

Line 77: Trailing spaces not allowed.
Line 79: Trailing spaces not allowed.
Line 80: There should be no space after this paren.
Line 80: There should be no space before this paren.
Line 82: Trailing spaces not allowed.
Line 93: This line has a length of 112. Maximum allowed is 100.
Line 94: Trailing spaces not allowed.
Line 95: There should be no space after this paren.
Line 95: There should be no space before this paren.
Line 96: Trailing spaces not allowed.
Line 97: There should be no space after this paren.
Line 97: Expected '!==' and instead saw '!='.
Line 97: There should be no space before this paren.
Line 102: Strings must use singlequote.
Line 103: No magic number: 1250.
Line 109: This line has a length of 110. Maximum allowed is 100.
Line 112: There should be no space after this paren.
Line 112: There should be no space before this paren.
Line 117: This line has a length of 126. Maximum allowed is 100.
Line 119: There should be no space after this paren.
Line 119: There should be no space before this paren.

/home/runner/work/esp32/esp32/app/Views/admin/device_group.php

Line 80: Trailing spaces not allowed.
Line 82: Trailing spaces not allowed.
Line 83: There should be no space after this paren.
Line 83: There should be no space before this paren.
Line 85: Trailing spaces not allowed.
Line 96: This line has a length of 112. Maximum allowed is 100.
Line 97: Trailing spaces not allowed.
Line 98: There should be no space after this paren.
Line 98: There should be no space before this paren.
Line 99: Trailing spaces not allowed.
Line 100: There should be no space after this paren.
Line 100: Expected '!==' and instead saw '!='.
Line 100: There should be no space before this paren.
Line 105: Strings must use singlequote.
Line 106: No magic number: 1250.
Line 112: This line has a length of 110. Maximum allowed is 100.
Line 115: There should be no space after this paren.
Line 115: There should be no space before this paren.
Line 120: This line has a length of 126. Maximum allowed is 100.
Line 122: There should be no space after this paren.
Line 122: There should be no space before this paren.

/home/runner/work/esp32/esp32/app/Views/admin/files.php

Line 84: Unexpected var, use let or const instead.
Line 85: Unexpected var, use let or const instead.
Line 86: Unexpected var, use let or const instead.
Line 87: Unexpected var, use let or const instead.
Line 88: Trailing spaces not allowed.
Line 94: Trailing spaces not allowed.
Line 95: Trailing spaces not allowed.
Line 97: Unexpected var, use let or const instead.
Line 101: Trailing spaces not allowed.
Line 108: Trailing spaces not allowed.
Line 115: Trailing spaces not allowed.
Line 122: Trailing spaces not allowed.
Line 128: Unexpected var, use let or const instead.
Line 135: Trailing spaces not allowed.
Line 139: This line has a length of 105. Maximum allowed is 100.
Line 139: There should be no space before this paren.
Line 153: Strings must use singlequote.

/home/runner/work/esp32/esp32/app/Views/admin/footer.php

Line 30: Trailing spaces not allowed.
Line 34: Trailing spaces not allowed.
Line 37: Trailing spaces not allowed.
Line 39: There should be no space before this paren.
Line 40: Trailing spaces not allowed.
Line 42: Strings must use singlequote.
Line 43: Strings must use singlequote.
Line 44: Strings must use singlequote.
Line 45: Strings must use singlequote.
Line 46: Strings must use singlequote.
Line 47: Strings must use singlequote.
Line 48: Strings must use singlequote.
Line 49: This line has a length of 150. Maximum allowed is 100.
Line 51: 'button_handler' is defined but never used.
Line 51: There should be no space after this paren.
Line 51: There should be no space before this paren.
Line 53: There should be no space after this paren.
Line 53: There should be no space before this paren.
Line 55: There should be no space after this paren.
Line 55: There should be no space before this paren.
Line 56: There should be no space after this paren.
Line 56: Trailing spaces not allowed.
Line 59: Trailing spaces not allowed.
Line 60: There should be no space after this paren.
Line 60: There should be no space before this paren.

/home/runner/work/esp32/esp32/app/Views/admin/user.php

Line 251: Trailing spaces not allowed.
Line 253: Trailing spaces not allowed.
Line 254: There should be no space after this paren.
Line 254: There should be no space before this paren.
Line 256: Trailing spaces not allowed.
Line 267: This line has a length of 112. Maximum allowed is 100.
Line 268: Trailing spaces not allowed.
Line 269: There should be no space after this paren.
Line 269: There should be no space before this paren.
Line 270: Trailing spaces not allowed.
Line 271: There should be no space after this paren.
Line 271: Expected '!==' and instead saw '!='.
Line 271: There should be no space before this paren.
Line 276: Strings must use singlequote.
Line 277: No magic number: 1250.
Line 283: This line has a length of 110. Maximum allowed is 100.
Line 286: There should be no space after this paren.
Line 286: There should be no space before this paren.
Line 291: This line has a length of 126. Maximum allowed is 100.
Line 293: There should be no space after this paren.
Line 293: There should be no space before this paren.
Line 297: Trailing spaces not allowed.
Line 298: Trailing spaces not allowed.
Line 316: There should be no space after this paren.
Line 316: There should be no space before this paren.
Line 318: Trailing spaces not allowed.
Line 325: Trailing spaces not allowed.
Line 327: This line has a length of 120. Maximum allowed is 100.
Line 330: Trailing spaces not allowed.
Line 331: There should be no space after this paren.
Line 331: There should be no space before this paren.
Line 332: Trailing spaces not allowed.
Line 333: There should be no space after this paren.
Line 333: Expected '!==' and instead saw '!='.
Line 333: There should be no space before this paren.
Line 341: This line has a length of 118. Maximum allowed is 100.
Line 343: Trailing spaces not allowed.
Line 344: There should be no space after this paren.
Line 344: There should be no space before this paren.
Line 348: There should be no space after this paren.
Line 348: There should be no space before this paren.
Line 349: This line has a length of 108. Maximum allowed is 100.
Line 356: This line has a length of 102. Maximum allowed is 100.
Line 357: Trailing spaces not allowed.

/home/runner/work/esp32/esp32/app/Views/front/files.php

Line 85: Trailing spaces not allowed.
Line 86: Unexpected var, use let or const instead.
Line 87: Unexpected var, use let or const instead.
Line 88: Unexpected var, use let or const instead.
Line 89: Unexpected var, use let or const instead.
Line 95: Trailing spaces not allowed.
Line 96: Trailing spaces not allowed.
Line 98: Unexpected var, use let or const instead.
Line 102: Trailing spaces not allowed.
Line 109: Trailing spaces not allowed.
Line 116: Trailing spaces not allowed.
Line 123: Trailing spaces not allowed.
Line 129: Unexpected var, use let or const instead.
Line 136: Trailing spaces not allowed.
Line 140: This line has a length of 101. Maximum allowed is 100.
Line 140: There should be no space before this paren.
Line 154: Strings must use singlequote.

/home/runner/work/esp32/esp32/app/Views/shared/floorplan/footer.php

Line 5: There should be no space after this paren.
Line 5: There should be no space before this paren.
Line 8: Unexpected console statement.
Line 15: Trailing spaces not allowed.
Line 24: No magic number: -4.

Search results