aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
Commit message (Collapse)AuthorAge
* Update eslint (#638)toasted-nutbread2024-02-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add json test * Update vscode settings to better handle json * Collapse eslint rules for easier readability * Reorganize * Update no-multi-spaces rule for JSON * Rules updates * Switch to @stylistic/eslint-plugin * Update deprecated stylistic rules * Group stylistic rules * Simplify rules * Move eslint env overrides to end of file * Add test * Move promiseAnimationFrame to separate file * Remove unneeded eslint disable * Remove unneeded
* move files (#630)StefanVukovic992024-02-04
|
* Add vitest benchmark (#583)Cashew2024-02-03
| | | | | | | | | | | | | | | | | | | * add basic benches * add package.json script * fix header * add codspeed plugin * add benchmark GitHub action * add env * revert change * merge upstream * update names
* Application refactor (#591)toasted-nutbread2024-02-01
| | | | | | | | | | | * Rename Yomitan class to Application, change initialization style * Rename file * Update init * Update config * Remove dead code
* Language transformer (#582)toasted-nutbread2024-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Set up new deinflection data file * Define types * Test * Add internal types * Set up loading for transforms * Add getPartOfSpeechFlags * Convert static methods * Add note * Add transform function * Update trace structure * Add a language tag to the language transform descriptor * Add clear function * Add function for multiple parts of speech * Clarify naming * Add getConditionFlagsFromConditionType * Add plural function * Replace usages of Deinflector * Update tests * Update config * Remove old * Rename * Rename files
* JapaneseUtil refactor (#555)toasted-nutbread2024-01-28
| | | | | | | * Copy functions from JapaneseUtil * Remove JapaneseUtil * Update usages of JapaneseUtil functions
* Remove unneeded eslint disables (#554)toasted-nutbread2024-01-27
| | | | | * Install eslint-plugin-eslint-comments * Update rules, fix issues
* Update copyright year (#524)toasted-nutbread2024-01-20
| | | | | | | | | | | | | * Update copyright year * Update lib files * Rebase updates * Update dates * Update years to range * Update permitted pattern
* Add eslint rule no-restricted-syntax (#486)toasted-nutbread2023-12-29
|
* Database test updates (#461)toasted-nutbread2023-12-29
| | | | | | | | | | | | | | | | | | | | | | | | | * Initial changes * Move test * Disable async * Add createCustomDataTest * Move test case data to JSON file * Update tests * Cleanup * Simplify * Add dedicated test for database clearing * Remove previous clear testing * Remove unused test function * Update values
* add phonetic transcriptions term meta type (#434)StefanVukovic992023-12-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * move dictionary files to dictionary folder * wip * move dictionary files to dictionary folder * add ipa term meta * wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fixing comments wip * fix comments * fix comments * update test data * fix gitignore * engines * add tests * update database test * fix test
* add maxEOF to prevent multiple end of file lines (#454)Cashew2023-12-27
|
* Add support for more HTML attributes and style declarations in structured ↵Stephen Kraus2023-12-27
| | | | | | | | | | | | | | | content (#450) * Add support for more HTMl attributes and style declarations * Update test term to use new `margin` property * Allow string values for 'padding' and 'margin' properties * Remove newly added default 'unset' values from term bank schema --------- Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
* Whitespace rules (#441)toasted-nutbread2023-12-25
| | | | | * Update whitespace rules * Typescript rules
* move dictionary files to dictionary folder (#429)StefanVukovic992023-12-23
|
* Remove unnecessary eslint global declarations (#430)toasted-nutbread2023-12-23
|
* Enable no-new eslint rule (#411)toasted-nutbread2023-12-21
|
* HTML test updates (#398)toasted-nutbread2023-12-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Rename y-test to test-case * Rename y-description to test-description * Remove extension name * Update placeholder favicon * Refactor scripts * Make element types more consistent * More updates * Rename * Simplify file URLs * Rename file * Add descriptions * Rename * Rename * Rename
* Update eslint spacing rules (#366)toasted-nutbread2023-12-17
| | | | | | | | | * Add space-infix-ops rule * Add no-multi-spaces --------- Co-authored-by: Darius Jahandarie <djahandarie@gmail.com>
* Fix DOM tests (#363)toasted-nutbread2023-12-17
| | | | | | | | | | | | | * Only apply eslint rules to .test.js files * Fix tests * Use built-in environment * Fix tests * Optional file name * Remove environment
* Change no-console to error, only for ext files (#352)toasted-nutbread2023-12-11
|
* Require typescript files to have the correct header (#351)toasted-nutbread2023-12-11
|
* Restore no-console warntoasted-nutbread2023-12-04
|
* Update how ts comments are handledtoasted-nutbread2023-12-04
|
* Update configtoasted-nutbread2023-11-29
|
* Update typestoasted-nutbread2023-11-29
|
* Update typestoasted-nutbread2023-11-29
|
* Config updatestoasted-nutbread2023-11-27
|
* Add JSDoc type annotations to project (rebased)toasted-nutbread2023-11-27
|
* separate offscreen proxies from backend.jspraschke2023-11-12
|
* `yomichan` -> `yomitan`starxeras2023-11-10
|
* Switch to vitest for ESM support; other fixesDarius Jahandarie2023-11-08
|
* Modernize codebaseDarius Jahandarie2023-11-04
| | | | | | - Use ES modules - Remove vendored libs and build them from npm using esbuild - Switch from JSZip to zip.js
* Replace JsonSchema with ajv for dictionary validationDarius Jahandarie2023-11-03
|
* search, anki playwright testsjbukl2023-11-01
| | | | | | prep tests for cicd reorganize exports in playwright utils
* Satisfy jsdoc/check-line-alignment lintDarius Jahandarie2023-10-01
|
* Remove newline-after-description lint as it's no longer availableDarius Jahandarie2023-10-01
|
* Add visual diffing in CIDarius Jahandarie2023-03-23
|
* fixed eslint, changed header to only use 2 spaces, added missing headers to testAustin Siew2023-03-22
|
* Lint updates (#2247)toasted-nutbread2022-10-15
| | | | | | | | | | | | | * Fix spacing * Update lint dependencies * Disable false positive rule * Update header rule * Install eslint-plugin-jsonc * Update lint rules to include jsonc extension
* ArrayBufferUtil (#2215)toasted-nutbread2022-08-20
| | | | | | | * Rename StringUtil to ArrayBufferUtil * Update docs * Rename file string-util.js to array-buffer-util.js
* Audio download timeout (#2187)toasted-nutbread2022-08-20
| | | | | | | | | | | | | | | | | | | | | | | * Add support for an idle timeout when downloading audio * Update eslint rules * Pass idleTimeout to the downloader from DisplayAnki * Add anki.downloadTimeout setting * Update tests * Assign _audioDownloadIdleTimeout using settings * Show info about cancelled downloads * Handle Firefox bug * Improve audio errors * Refactor * Move functions to RequestBuilder
* Rename anki.js to anki-connect.js to more accurately reflect class name (#2167)toasted-nutbread2022-05-29
|
* HTML page script refactoring (#2162)toasted-nutbread2022-05-28
| | | | | | | * Move some common functionality * Move setupEnvironmentInfo into ExtensionContentController * Move background/environment.js to extension/environment.js
* ESlint JSdoc (#2148)toasted-nutbread2022-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Install eslint-plugin-jsdoc * Initial rules setup * Update lists * Use @returns rather than @return * Remove error throwing code which is never executed * Fix issues relating to @throws * General error fixes * Update Display type documentation * Various doc fixes * Fix invalid tuple syntax * Doc updates * Remove unused * Doc updates * Enable jsdoc/require-returns * Update rules * Update remaining rules
* Update copyright date (#2062)toasted-nutbread2022-02-02
| | | | | | | * Update eslint settings * Update 2021 files * Update other files
* Add AccessibilityController class, which dynamically registers (#2024)toasted-nutbread2021-11-23
| | | and unregisters the google-docs.js content script
* Google Docs accessibility refactor (#2023)toasted-nutbread2021-11-23
| | | | | | | | | | | | | | | | | * Skip urlRegex if it's used as a filter * Add getRequiredContentScriptRegistrationPermissions function * Add a reentrant check to google-docs.js * Remove script node * Move forceGoogleDocsHtmlRendering check into google-docs.js * Replace document-start.js usage with google-docs.js * Remove documentStart handling * Add missing parameter descriptions
* ScriptManager (#2021)toasted-nutbread2021-11-22
| | | | | * Create ScriptManager class * Use ScriptManager in Backend
* Dictionary database worker refactoring (#1913)toasted-nutbread2021-08-28
| | | | | | | | | | | | | * Rename DictionaryWorker => DictionaryWorkerHandler * Rename var * Rename file * Simplify * Rename DictionaryDatabaseModifier => DictionaryWorker * Rename dictionary-database-modifier.js => dictionary-worker.js