Commit graph

16 commits

Author SHA1 Message Date
Abe Jellinek
0ee54b4a7e Use IOUtils instead of OS.File 2023-08-07 16:07:53 -04:00
windingwind
e44e3edef9
Fix itemBox.js eslint errors (#3244) 2023-08-04 04:15:08 -04:00
windingwind
ef7916b320
Add main window hooks for plugins (#3238) 2023-07-31 05:09:33 -04:00
Dan Stillman
eb67adb257 fx-compat: Add ChromeUtils as eslint global 2022-06-19 04:16:53 -04:00
Dan Stillman
260c110d05 fx-compat: Convert itembox XBL to custom element
Still lots of things to fix, particularly with styling, but the basic
functionality is there.
2022-05-13 04:28:56 -04:00
Dan Stillman
1c7973c157 Update Babel and ESLint 2021-12-23 04:58:11 -05:00
Dan Stillman
20d7ef6c0b Add separate .eslintrc for tests 2019-09-16 01:28:52 -04:00
Dan Stillman
89992665cd Inherit ESLint config 2019-03-31 21:12:43 -04:00
Dan Stillman
6411342a0f ESLint config updates 2019-03-28 04:57:31 -04:00
Dan Stillman
c26c85a262 Add babel-eslint for class field syntax in JSX 2019-03-18 18:22:28 -04:00
Dan Stillman
0cf1624b7e ESLint: Remove no-implicit-globals 2019-03-11 05:22:55 -04:00
Dan Stillman
a4613e6d12 Fix .eslintrc whitespace, but properly this time 2019-03-06 19:52:44 -05:00
Dan Stillman
3a777dcf40 ESLint: Use ignoreChainWithDepth: 3 for newline-per-chained-call 2019-03-05 07:34:05 -05:00
Dan Stillman
e44dc23f55 Convert spaces to tabs in .eslintrc 2019-03-05 07:34:05 -05:00
Dan Stillman
8b4bb62efc Don't load linked URLs during import
Regression from 5a6a772ca2, I think
2019-01-26 00:20:26 -05:00
Dan Stillman
18054c4bc4 Add preliminary eslint config
None of our existing files match these rules perfectly, but they're
something to aspire to. I've only checked a handful of files, so there
may be some unwanted or missing rules, and there are definitely some
missing globals.

Some of our more common spacing inconsistencies are currently set as
warnings rather than errors so they can be easily disabled to see more
dangerous stuff.

At some point we can use --fix to correct many problems in existing
files, but we should go through existing pull requests before doing that
to avoid conflicts. Eventually, we'll want to enforce linting as part of
a pre-push hook and CI.
2019-01-21 03:36:16 -05:00