Commit Graph

14 Commits

Author SHA1 Message Date
absidue
24593d425e Switch to Vue's useTemplateRef() function (#8308) 2025-11-18 06:09:36 -05:00
absidue
d829cc2b16 Update to Vue 3 (#8094)
* Update to Vue 3

* Fix toasts and removing videos from playlists

* Fix duplicate app ID

* Simplify aria-selected handling now that false doesn't remove attributes

* Fix various errors

* Fix toasts and hiding watched videos

* Update vue-router to 4.6.3

---------

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
2025-11-02 18:11:41 +00:00
absidue
036b3fe0f6 Switch ALLOWED_RENDERER_FILES variable from let to const (#7393) 2025-05-10 12:41:20 +00:00
absidue
11b6110660 Fix n/no-path-concat issues (#7392) 2025-05-10 12:36:50 +00:00
absidue
f37cfd771d Change no-array-push-push to prefer-single-call in eslint.config.mjs (#7300) 2025-04-29 05:51:24 +08:00
absidue
77968364a2 A few minor performance improvements (#6465) 2024-12-27 21:02:52 -05:00
absidue
5cd4981af4 Small ESLint cleanup (#6248)
* Small ESLint cleanup

* Fix technically invalid import that ESLint doesn't error about for some weird reason

Co-authored-by: PikachuEXE <git@pikachuexe.net>

* Revert "Fix technically invalid import that ESLint doesn't error about for some weird reason"

This reverts commit f6f94198fb.

---------

Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-12-02 18:50:00 -05:00
absidue
9ab38a4a1a Rename custom ESLint rule to prefer-use-i18n-polyfill (#6120)
* Rename custom ESLint rule to prefer-use-i18n-polyfill

* Fix typo

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Fix typo in filename too

---------

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
2024-11-10 08:46:58 +08:00
absidue
c1d020d3df Add a polyfill for vue-i18n's useI18n() composable (#6042)
* Add a polyfill for vue-i18n's useI18n() composable

* Address feedback

* JSDoc ESLint plugin requires each overload to be in a separate comment block
2024-11-06 23:43:15 +01:00
ChunkyProgrammer
a28bb3f0f5 Add some missing jsdoc comments, add jsdoc eslint plugin (#6048)
* Add some missing jsdoc comments, add jsdoc eslint plugin

* remove left over addition

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* move jsdoc eslint rule configuration

* use dash for list instead

* Enable some additional rules

* Apply suggestions from code review

Co-authored-by: PikachuEXE <git@pikachuexe.net>

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-11-02 11:38:07 +01:00
absidue
f381f5c085 Switch from deprecated standard to neostandard in ESLint config (#5890)
* Switch from deprecated standard to neostandard in ESLint config

* Update neostandard from 0.11.6 to 0.11.7
2024-10-27 11:08:50 -04:00
ChunkyProgrammer
64d73f4abb Add configurations for linting scripts and add global ignores (#5843)
* Add configurations for linting scripts and add global ignores

* optimize eslint ignore patterns

* remove `node_modules` since it's already ignored by default

* implement code suggestions

Co-Authored-By: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>

---------

Co-authored-by: PikachuEXE <1018543+PikachuEXE@users.noreply.github.com>
2024-10-10 19:54:07 +02:00
absidue
55b355357b Turn vue/no-useless-template-attributes eslint rule back on (#5830)
Some checks failed
Build / build (20.x, macOS-latest, osx-x64) (push) Has been cancelled
Build / build (20.x, ubuntu-latest, linux-arm64) (push) Has been cancelled
Build / build (20.x, ubuntu-latest, linux-armv7l) (push) Has been cancelled
Build / build (20.x, ubuntu-latest, linux-x64) (push) Has been cancelled
Build / build (20.x, windows-latest, win-arm64) (push) Has been cancelled
Build / build (20.x, windows-latest, win-x64) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Conflicts / main (push) Has been cancelled
2024-10-07 05:07:25 +02:00
PikachuEXE
89624a5808 Upgrade eslint 8 > 9 (#5777)
* ^ Upgrade eslint 8 > 9 & config

* * Update config for json to use flat config too

* ! Fix config for vue 2

* * Import list of locales from another file

* * Use flat config when possible, remove unused stuff

* * Merge config files

* * Remove vue 3 rules, improve imports
2024-10-06 09:36:08 -04:00