Tony
ff27ed8ab6
refactor: remove dead code
2026-06-16 19:10:47 +08:00
dependabot[bot]
873618e99d
chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0 ( #22274 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 65.0.1 to 66.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 65.0.1 to 66.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v65.0.1...v66.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-version: 66.0.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* style: fix unicorn-js/prefer-url-href
* style: oxlint disable
* style: fix unicorn-js/no-useless-else
* style: no-unsafe-string-replacement
* style: fix no-duplicate-loops
* style: fix prefer-number-is-safe-integer
* style: fix prefer-single-array-predicate
* style: fix no-object-methods-with-collections
* style: fix no-useless-boolean-cast
* style: fix no-useless-template-literals
* style: fix no-negated-array-predicate
* style: fix prefer-direct-iteration
* style: fix consistent-optional-chaining
* style: fix prefer-simple-sort-comparator
* style: fix prefer-global-number-constants
* style: fix prefer-type-literal-last
* style: fix require-array-sort-compare.
* style: fix prefer-early-return
* style: fix prefer-short-arrow-method
* style: fix prefer-array-from-map
* style: fix prefer-scoped-selector
* style: fix no-global-object-property-assignment
* style: fix no-unnecessary-global-this
* style: fix no-unreadable-object-destructuring
* style: fix no-invalid-argument-count
* style: fix prefer-smaller-scope
* style: fix prefer-iterator-to-array.
* style: fix prefer-object-iterable-methods
* style: fix typo
* style: fix max-nested-calls
* style: fix no-incorrect-template-string-interpolation
* style: fix no-break-in-nested-loop
* style: fix prefer-await
* style: fix no-computed-property-existence-check
* style: fix prefer-number-coercion
* style: fix no-empty-file
* style: update eslint unicorn v66 recommended preset
* style: add unicorn/prefer-spread to oxlint-disable comments
* style: fix no-array-reduce
* style: delete github/no-then as it's covered by unicorn/prefer-await
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tony <TonyRL@users.noreply.github.com>
2026-06-16 14:43:42 +08:00
TehPeGaSuS
78068da475
feat(route): make GitHub pulls title and docs consistent with issues ( #21903 )
...
* feat(route): make GitHub pulls title and docs consistent with issues
I'm not really a coder, but I use RSSHub to bridge GitHub updates into IRC for my community. I noticed that the `pulls.ts` route didn't show the "Open/Closed" state in the feed title like the `issues.ts` route does, which was making my users a bit confused!
I tried my best to replicate the logic and metadata structure from `issues.ts` over to `pulls.ts`.
Changes:
- Updated the feed title to dynamically show the state (Open/Closed/All) and any labels.
- Updated the parameter metadata so the documentation looks as clean and organized as the Issues page.
I've tested this locally and it’s working perfectly for my IRC tracker. Hopefully, this helps keep things consistent across the GitHub routes!
Closes #21902
* Fix title formatting in pull request response
2026-05-08 02:26:57 +08:00
github-actions[bot]
a28890a135
style: auto format
2025-11-27 02:55:46 +00:00
dependabot[bot]
54bd7e7705
chore(deps-dev): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0 ( #17000 )
...
* chore(deps-dev): bump eslint-plugin-unicorn from 55.0.0 to 56.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 55.0.0 to 56.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v55.0.0...v56.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix pnpm install
* style(eslint): ignore `prefer-global-this` for puppeteer
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-04 21:14:37 +08:00
Tony
98ceba20cc
fix(route): github pulls ( #15452 )
2024-05-03 03:45:31 +00:00
Tony
d585a87daf
fix: allow multiple radar rules per route ( #14800 )
...
* fix: allow multiple radar rules per route
* fix: github folder
* feat: add namespace to radar target
* docs: fix types url
2024-03-16 03:28:44 +08:00
DIYgod
33e2f17055
fix: wrong categories
2024-03-09 15:08:34 +08:00
DIYgod
45f9ea21fb
feat: add routes
2024-03-09 03:06:53 +08:00
DIYgod
44c9853541
feat: replace require with import 7/n
2024-03-07 01:17:21 +08:00
Yufan You
130b11224e
chore: remove @ts-nocheck ( #14669 )
2024-03-05 21:06:03 +08:00
DIYgod
8065ededf5
feat: rename routes .js to .ts
2024-03-04 00:35:37 +08:00