RSSHub/lib/routes/gov
Tony 1acb805799
style: migrate eslint to oxlint (#21224)
* chore: add oxlint support

* style: apply autofix

* style: apply autofix for toSorted

* style: use alternative api for nsfw-flag jsPlugins

* fix: git diff

* fix: codeql

* test: console.log

* style: update lint workflow to use Checkstyle SARIF converter

* style: remove debug log from extractDateFromURL function

* chore: use oxlint-json-to-sarif

* test: console.log

* test: remove console.log

* test: update cookie data expectation in getCookies test

https://github.com/mccutchen/go-httpbin/pull/235 breaks this

* style: type-aware linting

* style: enable type-aware linting for oxlint
2026-02-28 21:23:11 +08:00
..
ah style: auto format 2025-11-27 02:55:46 +00:00
beijing style: auto format 2025-11-27 02:55:46 +00:00
caac refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
cac style: auto format 2025-11-27 02:55:46 +00:00
cbirc style: auto format 2025-11-27 02:55:46 +00:00
ccdi style: auto format 2025-11-27 02:55:46 +00:00
chinamine-safety style: auto format 2025-11-27 02:55:46 +00:00
chinatax style: auto format 2025-11-27 02:55:46 +00:00
chongqing style: fix eslint issues (#20862) 2026-01-13 03:25:37 +08:00
cmse style: migrate eslint to oxlint (#21224) 2026-02-28 21:23:11 +08:00
cn style: update eslint rules (#21207) 2026-02-23 08:17:37 +08:00
cnnic style: auto format 2025-11-27 02:55:46 +00:00
csrc style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
customs style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
dianbai style: auto format 2025-11-27 02:55:46 +00:00
forestry refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
gaozhou style: auto format 2025-11-27 02:55:46 +00:00
general style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
guangdong/tqyb refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
guizhou feat(route): add gzjy routes (#20954) 2026-01-25 03:37:24 +08:00
gz style: auto format 2025-11-27 02:55:46 +00:00
hainan style: auto format 2025-11-27 02:55:46 +00:00
hangzhou refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
hebei style: migrate eslint to oxlint (#21224) 2026-02-28 21:23:11 +08:00
huazhou style: auto format 2025-11-27 02:55:46 +00:00
huizhou/zwgk style: auto format 2025-11-27 02:55:46 +00:00
hunan/changsha style: auto format 2025-11-27 02:55:46 +00:00
immiau style: auto format 2025-11-27 02:55:46 +00:00
jgjcndrc style: auto format 2025-11-27 02:55:46 +00:00
jiangsu/wlt refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
jinan/healthcommission style: auto format 2025-11-27 02:55:46 +00:00
lswz style: auto format 2025-11-27 02:55:46 +00:00
maoming style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
maonan style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
mee style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
mem style: auto format 2025-11-27 02:55:46 +00:00
mfa style: auto format 2025-11-27 02:55:46 +00:00
mgs style: auto format 2025-11-27 02:55:46 +00:00
miit style: fix no-useless-concat 2026-01-13 03:53:08 +08:00
mmht style: auto format 2025-11-27 02:55:46 +00:00
moa style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
moe style: fix eslint issues (#20862) 2026-01-13 03:25:37 +08:00
mof style: auto format 2025-11-27 02:55:46 +00:00
mofcom style: auto format 2025-11-27 02:55:46 +00:00
moj style: auto format 2025-11-27 02:55:46 +00:00
mot style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
ndrc style: auto format 2025-11-27 02:55:46 +00:00
nea feat(route/nea): add nea bureaux (#21013) 2026-01-30 10:28:21 +08:00
nifdc style: auto format 2025-11-27 02:55:46 +00:00
nmpa style: migrate eslint to oxlint (#21224) 2026-02-28 21:23:11 +08:00
nopss style: auto format 2025-11-27 02:55:46 +00:00
npc style: auto format 2025-11-27 02:55:46 +00:00
nrta style: auto format 2025-11-27 02:55:46 +00:00
nsfc style: migrate eslint to oxlint (#21224) 2026-02-28 21:23:11 +08:00
pbc style: auto format 2025-11-27 02:55:46 +00:00
pudong style: auto format 2025-11-27 02:55:46 +00:00
safe refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
samr refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
sasac style: auto format 2025-11-27 02:55:46 +00:00
sdb style: auto format 2025-11-27 02:55:46 +00:00
sh refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
shaanxi style: auto format 2025-11-27 02:55:46 +00:00
shenzhen style: auto format 2025-11-27 02:55:46 +00:00
sichuan/deyang refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
stats refactor: replace art template with jsx (#20777) 2025-12-29 12:27:32 +08:00
suzhou style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
taiyuan style: auto format 2025-11-27 02:55:46 +00:00
tianjin style: auto format 2025-11-27 02:55:46 +00:00
wuhan style: auto format 2025-11-27 02:55:46 +00:00
xinyi style: auto format 2025-11-27 02:55:46 +00:00
xuzhou style: auto format 2025-11-27 02:55:46 +00:00
zhejiang style: auto format 2025-11-27 02:55:46 +00:00
zhengce style(eslint): fix `no-unassigned-vars` `no-useless-assignment` `preserve-caught-error` (#21175) 2026-02-18 22:25:14 +08:00
zj style: auto format 2025-11-27 02:55:46 +00:00