Commit Graph

4 Commits

Author SHA1 Message Date
Raymond Hill 58c935aa9e
Fine tune eslint
Allow arbitrary indent inside literal array declaration.
2024-03-19 09:55:28 -04:00
Raymond Hill 950b5ea55e
Fine tune eslint
Support no-indentation for file-level if block or
arrow function block.
2024-03-18 11:08:52 -04:00
Raymond Hill fc1f0b771a
Allow body of file-level if statement to not be indented 2024-03-17 13:03:19 -04:00
Raymond Hill 36f81be13b
Use eslint instead of jshint
Eslint supports newer JS syntax such as static fields in classes,
which is supported by all browsers/version with official uBO
support.

Reference:
https://eslint.org/docs/latest/

Fixing all warnings for all JS files will be done over time.
2024-03-17 09:44:00 -04:00