diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2024-02-10 23:12:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 04:12:01 +0000 |
commit | 765f1ede668f70e3af7717bf4d5f05dbf009c7f8 (patch) | |
tree | e73f481c93f8bbaa42f7c8216190fb1cb4621301 /ext/js/dictionary/dictionary-database.js | |
parent | 805cf9cb3ea744a6d7c0a5da27fc9ef4e6f08626 (diff) |
Eslint rule updates (#665)
* Padding newline rules
* Update rules
* Update rules
* Update rules
* Updates
* Update object quotes
* Merge similar ts and js rules
* Change export spacing rules
* Move typescript-eslint rules
* Spacing
* Actually save and commit changes
Diffstat (limited to 'ext/js/dictionary/dictionary-database.js')
-rw-r--r-- | ext/js/dictionary/dictionary-database.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/js/dictionary/dictionary-database.js b/ext/js/dictionary/dictionary-database.js index 1c52b7ab..6c7de339 100644 --- a/ext/js/dictionary/dictionary-database.js +++ b/ext/js/dictionary/dictionary-database.js @@ -37,7 +37,10 @@ export class DictionaryDatabase { /** @type {import('dictionary-database').CreateQuery<string>} */ this._createBoundQuery1 = (item) => IDBKeyRange.bound(item, `${item}\uffff`, false, false); /** @type {import('dictionary-database').CreateQuery<string>} */ - this._createBoundQuery2 = (item) => { item = stringReverse(item); return IDBKeyRange.bound(item, `${item}\uffff`, false, false); }; + this._createBoundQuery2 = (item) => { + item = stringReverse(item); + return IDBKeyRange.bound(item, `${item}\uffff`, false, false); + }; /** @type {import('dictionary-database').CreateResult<import('dictionary-database').TermExactRequest, import('dictionary-database').DatabaseTermEntryWithId, import('dictionary-database').TermEntry>} */ this._createTermBind1 = this._createTermExact.bind(this); /** @type {import('dictionary-database').CreateResult<import('dictionary-database').DictionaryAndQueryRequest, import('dictionary-database').DatabaseTermEntryWithId, import('dictionary-database').TermEntry>} */ |