Commit graph

6 commits

Author SHA1 Message Date
Raymond Hill
125b5045e3
Fine tune allowed tab indents in eslint 2024-03-26 13:54:48 -04:00
Raymond Hill
c60c73e1e7
Fix bad eslint rule + minor code review
`webext.js` module needs to be explicitly imported.

Added time-based heuristic to decide when a webpage loses
communication with background process.
2024-03-26 13:54:46 -04:00
Raymond Hill
44d5542f6b
Fine tune eslint
Allow arbitrary indent inside literal array declaration.
2024-03-26 13:54:43 -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