summaryrefslogtreecommitdiff
path: root/.eslintrc.json
Commit message (Collapse)AuthorAge
* Anki note data abstraction (#1228)toasted-nutbread2021-01-12
| | | | | | | | | | | | | | | | | | | | | | | * Create AnkiNoteData * Create AnkiNoteDataDefinitionProxyHandler * Update media injection * Create AnkiNoteDataDefinitionSecondaryProperties * Update note context format * Expose url and cloze on definition * Simplify for understandability * Remove unused _createNoteData * Update public object * Remove trims on sentence, since it should already be trimmed * Fix unused global
* Core refactor (#1207)toasted-nutbread2021-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | * Copy set intersection functions * Remove unused functions * Simplify url check * Remove parseUrl * Simplify stringReverse * Remove hasOwn due to infrequent use * Rename errorToJson/jsonToError to de/serializeError For clarity on intended use. * Fix time argument on timeout * Add missing return value * Throw an error for unexpected argument values * Add documentation comments
* Update DictionaryDataUtil to be able to be used in a sandbox frame (#1206)toasted-nutbread2021-01-07
|
* DOMParser replacement (#561)toasted-nutbread2020-12-18
| | | | | | | | | | | | | | | * Add script to build library files * Add built parse5 library * Add new SimpleDOMParser which uses parse5 * Update license info * Update MV3 build to use the new SimpleDOMParser * Update file exclusions * Hide/clarify license info for MV2 builds
* Set up initial manifest v3 support (#605)toasted-nutbread2020-12-18
|
* Add a core deepEqual function (#1018)toasted-nutbread2020-11-09
| | | | | * Add a core deepEqual function * Add tests
* Remove unused toIterable function (#857)toasted-nutbread2020-09-22
|
* Remove comments from . eslintrc.json (#853)toasted-nutbread2020-09-20
|
* Fix template renderer sandbox compatibility (#770)toasted-nutbread2020-09-04
| | | | | * Use Object.prototype.hasOwnProperty.call instead of hasOwn * Disable WebExtension and core.js APIs for template-renderer.js
* Add promiseAnimationFrame function (#752)toasted-nutbread2020-08-23
|
* Dynamic property (#749)toasted-nutbread2020-08-22
| | | | | * Add DynamicProperty class * Add tests for DynamicProperty
* Move generateId to core.js (#748)toasted-nutbread2020-08-22
|
* Build system changes (#721)toasted-nutbread2020-08-09
| | | | | | | | | | | | | | | | | | | * Refactor manifest.json * Change end-of-line convention for built plain-text files * Ignore builds directory * Mark the "dev" directory as using the node environment * Create build script * Register build scripts * Remove old build script * Fix 64x64 icon * Add test to ensure manifest data is updated properly
* Add no-underscore-dangle rule (#651)toasted-nutbread2020-07-03
|
* Update browser compatibility and Edge detection (#629)toasted-nutbread2020-06-28
|
* Clone function (#624)toasted-nutbread2020-06-28
| | | | | | | | | | | * Add clone function * Replace utilIsolate with clone * Replace JsonSchema.isolate with clone function * Include core.js for tests which use json-schema.js * Update visisted set
* Yomichan object separation (#627)toasted-nutbread2020-06-28
| | | | | | | | | | | | | * Move "yomichan" object setup to a separate file * Update script imports * Align message handlers * Rename Yomichan.prepare to Yomichan.ready * Add new prepare function * Improve isExtensionUrl
* Add deferPromise function (#626)toasted-nutbread2020-06-28
|
* Fix "tags" template (#539)siikamiika2020-05-22
| | | | | | | * fix tag templates for merge and group modes * update version upgrade * adjust upgrade replacement order
* Modifier key profile condition (#487)siikamiika2020-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | * update Frontend options on modifier change * add modifier key profile condition * use select element for modifier condition value * support "is" and "is not" modifier key conditions * use plural * remove dead null check it's never null in that function * pass element on rather than assigning to this * rename event * remove Firefox OS key to Meta detection * hide Meta from dropdown on Firefox * move input type
* Style fixes (#494)toasted-nutbread2020-05-02
| | | | | | | * Place multi-line expression parentheses on the correct line * Add function-paren-newline eslint rule * Add some additional eslint rules
* Error logging refactoring (#454)toasted-nutbread2020-04-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Create new logging methods on yomichan object * Use new yomichan.logError instead of global logError * Remove old logError * Handle unhandledrejection events * Add addEventListener stub * Update log function * Update error conversion to support more types * Add log event * Add API log function * Log errors to the backend * Make error/warning logs update the badge * Clear log error indicator on extension button click * Log correct URL on the background page * Fix incorrect error conversion * Remove unhandledrejection handling Firefox doesn't support it properly. * Remove unused argument type from log function * Improve function name * Change console.warn to yomichan.logWarning * Move log forwarding initialization into main scripts
* Merge pull request #385 from toasted-nutbread/pitch-accentstoasted-nutbread2020-04-05
|\ | | | | Pitch accents
| * Move set functions into core.jstoasted-nutbread2020-03-28
| |
* | Create some tests for fullscreen elements, <iframe>s, and shadow DOMstoasted-nutbread2020-04-04
|/
* Update global declarationstoasted-nutbread2020-03-10
|
* Move stringReplaceAsynctoasted-nutbread2020-03-07
| | | | | It is only used in AnkiNoteBuilder and it was originally created for this purpose.
* Define core globals only for extension scriptstoasted-nutbread2020-02-25
|
* Add "guard-for-in": "error"toasted-nutbread2020-02-25
|
* Add "no-prototype-builtins"toasted-nutbread2020-02-22
|
* Explicitly indicate that "no-param-reassign" is allowedtoasted-nutbread2020-02-22
|
* Add no-shadowtoasted-nutbread2020-02-22
|
* Stylistic rulestoasted-nutbread2020-02-22
|
* Upadte eslintrctoasted-nutbread2020-02-19
|
* Merge pull request #352 from toasted-nutbread/github-actionstoasted-nutbread2020-02-16
|\ | | | | Setup GitHub actions
| * Add eslint-plugin-no-unsanitizedtoasted-nutbread2020-02-12
| |
* | Create EventListenerCollection classtoasted-nutbread2020-02-16
|/
* Update rules for test filestoasted-nutbread2020-02-11
|
* Define more globalstoasted-nutbread2020-02-11
|
* Change no-undef from off to errortoasted-nutbread2020-02-11
|
* Add more settings to eslintrctoasted-nutbread2020-02-11
|
* Update arrow-parens to alwaystoasted-nutbread2019-11-26
|
* Update eslintrctoasted-nutbread2019-11-26
|
* Fix broken link to eslintrcAlex Yatskov2019-11-24