summaryrefslogtreecommitdiff
path: root/.eslintrc.json
Commit message (Collapse)AuthorAge
* 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