diff options
author | James Maa <jmaa@berkeley.edu> | 2024-05-31 08:06:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-31 15:06:52 +0000 |
commit | 76ca08bd59f0e8bfa1bb20ac813f48e7ab241265 (patch) | |
tree | bdba43d9ba704885383c7f308c6fe3f574c647c5 /ext/js/display/query-parser.js | |
parent | b3f54747eb2694bdc90bce72e5532e99d374ef08 (diff) |
Allow trailing commas in ESLint (#1013)
* Update comma-dangle rule
* Fix dangling commas
Diffstat (limited to 'ext/js/display/query-parser.js')
-rw-r--r-- | ext/js/display/query-parser.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/js/display/query-parser.js b/ext/js/display/query-parser.js index ed10dab4..c53208ca 100644 --- a/ext/js/display/query-parser.js +++ b/ext/js/display/query-parser.js @@ -67,7 +67,7 @@ export class QueryParser extends EventDispatcher { searchTerms: true, searchKanji: false, searchOnClick: true, - textSourceGenerator + textSourceGenerator, }); /** @type {?(import('../language/ja/japanese-wanakana.js'))} */ this._japaneseWanakanaModule = null; @@ -164,7 +164,7 @@ export class QueryParser extends EventDispatcher { inputInfo, textSource, optionsContext, - sentenceOffset: this._getSentenceOffset(textSource) + sentenceOffset: this._getSentenceOffset(textSource), }); } @@ -210,7 +210,7 @@ export class QueryParser extends EventDispatcher { path: 'parsing.selectedParser', value, scope: 'profile', - optionsContext + optionsContext, }; void this._api.modifySettings([modification], 'search'); } |