Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3105 commits
Select commit Hold shift + click to select a range
9069c3a
feat: 优化搜索框样式
magicFeirl Feb 11, 2025
65143cb
Update docs (#5130)
the1812 Feb 11, 2025
128992f
Merge branch 'preview-fixes' into preview-features
the1812 Feb 11, 2025
1ba4d2b
Merge branch 'preview-fixes'
the1812 Feb 11, 2025
2cb9c93
CI build
github-actions[bot] Feb 11, 2025
2606b44
Enable corepack
the1812 Feb 11, 2025
67b720e
Upgrade to pnpm v10
the1812 Feb 11, 2025
a92863e
Remove deprecated item
the1812 Feb 12, 2025
b534c7e
Fix ESlint server crash
the1812 Feb 12, 2025
853c286
Improve bangumi names (#5087)
the1812 Feb 12, 2025
d517d58
fix: lint
magicFeirl Feb 12, 2025
2cd6c63
Merge pull request #5131 from magicFeirl/preview-features-trending-se…
the1812 Feb 12, 2025
77e2de9
Fix image export for feeds (#5098)
the1812 Feb 12, 2025
89f9c54
Fix video card ad (fix #5110)
the1812 Feb 12, 2025
8ba05d5
Fix key binding trigger at focused element (fix #5119)
the1812 Feb 12, 2025
234d786
Adjust scale level (fix #5103)
the1812 Feb 13, 2025
65850d3
Update dark styles (fix #5121)
the1812 Feb 13, 2025
cbf8cbd
Add new space support (fix #5112)
the1812 Feb 13, 2025
eb767a3
Fix styles on watchlater page
the1812 Feb 14, 2025
fdc9274
Add new watchlater support (fix #4951)
the1812 Feb 14, 2025
f0b40d4
Fix redirect on mutations
the1812 Feb 17, 2025
1ce2da6
Fix orders of login-required items (fix #5099)
the1812 Feb 19, 2025
24714b7
Merge branch 'preview-fixes' into preview-features
the1812 Feb 19, 2025
a528310
Restore double click fullscreen (#5095)
the1812 Feb 19, 2025
c1d1b85
Merge branch 'preview-features' of https://github.com/the1812/Bilibil…
the1812 Feb 19, 2025
c9a8694
Fix settings layout on reload
the1812 Feb 21, 2025
e2ec33f
Add scroll animations for transparent mode (#4996)
the1812 Feb 22, 2025
b50a679
Remove unwanted transitions
the1812 Feb 22, 2025
5aa8b4e
Improve navbar animations (#4949)
the1812 Feb 22, 2025
8c3ed10
Skip redirected cards
the1812 Feb 24, 2025
afa914a
Fix video control bar not working
the1812 Feb 24, 2025
18b4223
Merge branch 'preview-fixes' into preview-features
the1812 Feb 24, 2025
e5359aa
Update changelog
the1812 Feb 25, 2025
f62d136
Update version number
the1812 Feb 25, 2025
8215e77
Update donate history
the1812 Feb 25, 2025
7dbd9f9
Update docs
the1812 Feb 25, 2025
8959ff9
Merge branch 'preview-fixes' into preview-features
the1812 Feb 25, 2025
82248e0
Update docs
the1812 Feb 25, 2025
ce19b65
Update changelog
the1812 Feb 25, 2025
16d249b
Merge branch 'preview-fixes' into preview-features
the1812 Feb 25, 2025
0a6f5d3
Merge branch 'preview-fixes'
the1812 Feb 25, 2025
7d2bf04
Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved
the1812 Feb 25, 2025
7eb3397
CI build
github-actions[bot] Feb 25, 2025
46c6d59
Fix ignoreTyping for focused element (#5150)
the1812 Feb 26, 2025
fad450b
Merge branch 'preview-fixes' into preview-features
the1812 Feb 26, 2025
5afe303
Merge branch 'preview-fixes'
the1812 Feb 26, 2025
edee07b
CI build
github-actions[bot] Feb 26, 2025
da6c829
Fix video focus for Firefox (fix #5153)
the1812 Feb 28, 2025
ce4ee62
Merge branch 'preview-fixes'
the1812 Feb 28, 2025
5371e1d
Merge branch 'preview-fixes' into preview-features
the1812 Feb 28, 2025
1ab4c3f
CI build
github-actions[bot] Feb 28, 2025
91cad58
Fix list with same names (fix #5151)
the1812 Mar 10, 2025
f9afbaa
Fix duplicate images for Firefox (fix #5166)
the1812 Mar 11, 2025
189f535
Merge branch 'preview-fixes' into preview-features
the1812 Mar 12, 2025
2c74f4f
Merge branch 'preview-fixes'
the1812 Mar 12, 2025
6afdbff
CI build
github-actions[bot] Mar 12, 2025
f7e57f2
feat: 添加粉丝勋章点亮功能
magicFeirl Mar 15, 2025
3b1d1b0
fix: lint相关问题修复
magicFeirl Mar 16, 2025
0fda616
fix: 夜间模式二维码扫码登录困难 #5163
pencilqaq Mar 17, 2025
5782156
Merge pull request #5173 from pencilqaq/preview-fixes
the1812 Mar 20, 2025
7099bf9
feat(components): 添加下载up主专属表情包功能
pencilqaq Mar 20, 2025
2fcbd4f
chore: 补充作者信息
magicFeirl Mar 21, 2025
72cef75
更改表情包筛选方式,修复文本错误,删除无用注释
pencilqaq Mar 21, 2025
0280316
fix: lint
magicFeirl Mar 22, 2025
2aea045
Merge pull request #5171 from magicFeirl/preview-features-medal
the1812 Mar 30, 2025
373fd29
Merge pull request #5176 from pencilqaq/preview-features
the1812 Mar 30, 2025
4cac416
Add disableDoubleClickFullscreen (#5095)
the1812 Mar 31, 2025
82f0713
Fix ad block in search result (fix #5032)
the1812 Mar 31, 2025
19e899d
Update keymap docs (fix #5168)
the1812 Mar 31, 2025
a4a4c06
Fix ignoreTyping config (fix #5174)
the1812 Apr 1, 2025
5b19916
Merge branch 'preview-fixes' into preview-features
the1812 Apr 1, 2025
1d1246e
Add theme logo option (#4996)
the1812 Apr 1, 2025
81ef584
Add games popup (#5055)
the1812 Apr 3, 2025
7e61d3f
Remove deprecated live iframe (#5055)
the1812 Apr 3, 2025
05b6edb
Add manga popup (#5055)
the1812 Apr 3, 2025
bd46496
Fix href
the1812 Apr 3, 2025
9d5f1cb
Add manga cover preview
the1812 Apr 3, 2025
fd02464
Improve styles
the1812 Apr 4, 2025
896f5f8
feat(components): Active Video Links
at-wr Apr 5, 2025
c0d23af
fix(components): use protocol-relative URLs
at-wr Apr 5, 2025
ec77980
fix(components): use protocol-relative URLs
at-wr Apr 6, 2025
68ce222
docs(components): remove duplicate descripiton in `index.ts`
at-wr Apr 6, 2025
89ee0d9
Merge pull request #5197 from at-wr/preview-features
the1812 Apr 6, 2025
5619761
Add match popup (#5055)
the1812 Apr 8, 2025
beb17e1
Improve styles
the1812 Apr 8, 2025
4bde283
Add match status
the1812 Apr 8, 2025
6c5154f
Merge branch 'preview-features' of https://github.com/the1812/Bilibil…
the1812 Apr 8, 2025
e556982
Update feeds card types (#5135)
the1812 Apr 8, 2025
90b6af3
Merge branch 'preview-fixes' into preview-features
the1812 Apr 8, 2025
b8ed71a
Remove unused import
the1812 Apr 8, 2025
628727f
Improve pointer events for navbar popup (fix #5189)
the1812 Apr 8, 2025
494be26
Merge tag 'v2.10.0-preview' into preview-fixes
the1812 Apr 8, 2025
985da1b
Update changelog
the1812 Apr 9, 2025
926061a
Update version number
the1812 Apr 9, 2025
dffe270
Update docs
the1812 Apr 9, 2025
f73c0c9
Update changelog
the1812 Apr 9, 2025
e9e58f0
Merge branch 'preview-fixes' into preview-features
the1812 Apr 9, 2025
4e8221f
Update docs
the1812 Apr 9, 2025
95fd680
Merge branch 'preview-fixes'
the1812 Apr 9, 2025
78fbeba
CI build
github-actions[bot] Apr 9, 2025
fbbe32f
feat: 添加稍后再看页面重定向组件
magicFeirl Apr 9, 2025
50c55f3
Improve pointer events for navbar popup (fix #5189)
the1812 Apr 8, 2025
8c9c89e
Merge branch 'preview-fixes'
the1812 Apr 9, 2025
3fdabaa
CI build
github-actions[bot] Apr 9, 2025
1dae00e
Update courses type in feeds (#5135)
the1812 Apr 10, 2025
5cffe99
Update blocker styles (#5135)
the1812 Apr 10, 2025
5c885dc
chore: add author info
magicFeirl Apr 10, 2025
1616061
feat: 隐藏直播间热搜
magicFeirl Apr 10, 2025
c4ba3ed
Merge pull request #5205 from magicFeirl/preview-features-watchlater-…
the1812 Apr 10, 2025
20b9a0c
Fix vip danmaku styles (fix #5208)
the1812 Apr 11, 2025
82f0e97
fix: 类型注解
magicFeirl Apr 12, 2025
b3189a3
Merge pull request #5207 from magicFeirl/preview-features-trending-se…
the1812 Apr 12, 2025
6e8780a
fix(active-video-links): nicovideo url fix
at-wr Apr 27, 2025
a006bda
style(active-video-links): obey eslint format
at-wr Apr 27, 2025
9db3336
fix(eslint): make eslint happy
at-wr Apr 27, 2025
fb1b2c0
添加根据关注分组筛选动态功能
OharaRinneY Apr 27, 2025
435e1a8
fix bug
OharaRinneY Apr 27, 2025
9608d90
Merge pull request #5215 from at-wr/preview-features
the1812 Apr 27, 2025
46710c8
优化变量名,修改组件name,优化api调用
OharaRinneY Apr 28, 2025
777e2d3
将 responsiveGetPages 更改为并行的
OharaRinneY Apr 28, 2025
c69e309
优化 responsiveGetPages,避免频繁请求被风控
OharaRinneY Apr 28, 2025
0443ba6
optimize import
OharaRinneY Apr 28, 2025
406b2f6
Merge pull request #5217 from OharaRinneY/dev
the1812 Apr 28, 2025
5d49d33
fix: 自动点赞忽略黑名单的问题
CrazyboyQCD May 3, 2025
7323649
Merge pull request #5222 from CrazyboyQCD/preview-fixes
the1812 May 12, 2025
7ffb224
Fix self-repost option (#5229)
the1812 May 13, 2025
fa06055
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 May 14, 2025
cd5329f
Ignore focus by default (fix #5225)
the1812 May 14, 2025
739e0d3
Update history link (#5218)
the1812 May 14, 2025
7170600
Update rank data for freshHome (fix #5211)
the1812 May 15, 2025
779bf88
Fix video cover aspect ratio
the1812 May 17, 2025
9960908
Refactor to Vue 3 syntax
the1812 May 23, 2025
9b3c357
Fix array option not updated
the1812 May 24, 2025
4f13240
Update player popup styles
the1812 May 25, 2025
e8d9e71
Update component detail styles
the1812 May 28, 2025
f2a1525
Prevent infinite loop
the1812 May 28, 2025
1d10e48
Add pinned and hidden list options
the1812 May 28, 2025
953f480
Fix empty recommend items
the1812 May 28, 2025
c9de7db
Merge branch 'preview-fixes' into preview-features
the1812 May 28, 2025
4a0a14c
Merge branch 'preview-features' of https://github.com/the1812/Bilibil…
the1812 May 28, 2025
062b6a4
Update dark styles
the1812 May 29, 2025
99da661
Update dark styles
the1812 May 29, 2025
a2eabc3
Merge branch 'preview-fixes' into preview-features
the1812 May 29, 2025
ac09466
Add option for deleted list
the1812 May 29, 2025
7b7e0c3
Revert disableSpecialDanmaku options
the1812 May 29, 2025
4c1e210
Update changelog
the1812 May 30, 2025
e4beae7
Update version number
the1812 May 30, 2025
dd22dbb
Upgrade csv parser and fix outdated lockfile
the1812 May 30, 2025
374c7da
Update donate history
the1812 May 30, 2025
7221239
Update docs
the1812 May 30, 2025
716f7b4
Merge branch 'preview-fixes' into preview-features
the1812 May 30, 2025
b9c6c8f
Merge branch 'preview-fixes'
the1812 May 30, 2025
e4dd22d
Merge branch 'master' of https://github.com/the1812/Bilibili-Evolved
the1812 May 30, 2025
3bfd9f5
CI build
github-actions[bot] May 30, 2025
29bb743
Fix icon colors in dark theme in home page
hyrious Jun 1, 2025
304b1aa
[组件-自动移出稍后再看] 优化事件监听逻辑,防止重复监听导致重复调用接口
sunfkny Jun 1, 2025
744ee19
Merge pull request #5240 from hyrious/patch-1
the1812 Jun 11, 2025
b081a28
CI build
github-actions[bot] Jun 11, 2025
4c3ee2d
Fix icon colors in dark theme in home page
hyrious Jun 1, 2025
cd57a03
Merge pull request #5241 from sunfkny/fix-auto-remove-watchlater
the1812 Jun 14, 2025
426156f
显示视频投稿时间适配合集类页面
wisokey Jun 14, 2025
b49716e
Merge pull request #5266 from wisokey/preview-fixes
the1812 Jun 15, 2025
0e53afc
feat: add search-trendings filter for new bilibili hot search section
RtYkk Jun 22, 2025
809e74c
feat: add search-trendings in sidebar filter options
RtYkk Jun 22, 2025
6f2012b
Merge pull request #5276 from RtYkk/fix-hot-search
the1812 Jun 24, 2025
94ee786
fix(subscribeTimeShow): 修复关注时间显示逻辑
GH4NG Jun 26, 2025
774a395
feat(subscribeTimeShow): 增强关注时间显示功能
GH4NG Jun 26, 2025
044f27b
Merge pull request #5282 from CNOCM/fix/subscribeTimeShow
the1812 Jun 26, 2025
0b9c618
Merge branch 'preview-fixes'
the1812 Jun 29, 2025
0b52ee0
CI build
github-actions[bot] Jun 29, 2025
527b45e
refactor(subscribeTimeShow): 优化
GH4NG Jun 30, 2025
b8c8485
Update index.ts
GH4NG Jul 3, 2025
921493a
Merge pull request #5285 from CNOCM/fix/subscribeTimeShow
the1812 Jul 18, 2025
3cba41a
Update changelog
the1812 Jul 22, 2025
afa034d
Merge tag 'v2.10.2-preview' into preview-fixes
the1812 Jul 22, 2025
993b726
Update version number
the1812 Jul 22, 2025
076dc47
Update donate history
the1812 Jul 22, 2025
c85fc06
Update docs
the1812 Jul 22, 2025
acac416
Fix type error
the1812 Jul 22, 2025
4b3a1a3
Merge branch 'preview-fixes'
the1812 Jul 22, 2025
ab048b3
CI build
github-actions[bot] Jul 22, 2025
f8b5092
Update changelog
the1812 Jul 23, 2025
f136369
Update changelog
the1812 Jul 23, 2025
ebf87b7
Merge pull request #5287 from wsgh0202/fix-hide-home-carousel
the1812 Jul 18, 2025
6bb378e
Update changelog
the1812 Jul 23, 2025
0d7fac9
Merge branch 'preview-fixes'
the1812 Jul 23, 2025
9ce5fa2
CI build
github-actions[bot] Jul 23, 2025
8656dbf
fix: 修复小程序广告没有屏蔽
wsgh0202 Jul 24, 2025
8e1ea35
fix: 换一换区域广告没有占位
wsgh0202 Jul 24, 2025
6fe8acf
fix: 修复占位文本不显示
wsgh0202 Jul 25, 2025
4ec6fae
feat: 添加debug选项
wsgh0202 Jul 25, 2025
090dc7c
fix: 修复视频搜索页广告没有屏蔽(#5160)
wsgh0202 Jul 25, 2025
c0407d0
Update registry/lib/components/utils/remove-promotions/index.md
wsgh0202 Jul 25, 2025
5ee2af1
docs: 更新选项名称
wsgh0202 Jul 25, 2025
27f41b0
Merge pull request #5307 from wsgh0202/fix-removePromotions
the1812 Jul 25, 2025
b08f444
refactor: 修改选项为switch方式
wsgh0202 Jul 25, 2025
d46ab35
feat: 添加移除占位选项
wsgh0202 Jul 25, 2025
4f60b00
Merge pull request #5309 from wsgh0202/feat-removePromotions
the1812 Jul 31, 2025
23a97e7
Update main site urls
the1812 Aug 1, 2025
4840c2f
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 1, 2025
8edbdbf
fix:表情包下载失效
pencilqaq Aug 9, 2025
c4fab85
fix: fix component hideUserCard
WakelessSloth56 Aug 11, 2025
992b24a
获取room_id兼容blanc原版直播间
kkkkkkkk566 Aug 11, 2025
5f243a6
Update ad rules (fix #5160)
the1812 Aug 13, 2025
f3b8fe5
Merge pull request #5327 from WakelessSloth56/preview-fixes
the1812 Aug 13, 2025
9e16d64
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 13, 2025
8046b36
Merge branch 'the1812:preview-fixes' into preview-fixes
kkkkkkkk566 Aug 13, 2025
d73be3e
ES lint
kkkkkkkk566 Aug 13, 2025
32fe44b
- 移除 Widget.vue 中未使用的 midRegex 正则
pencilqaq Aug 13, 2025
2b97931
Merge pull request #5328 from kkkkkkkk566/preview-fixes
the1812 Aug 17, 2025
1573b86
Merge pull request #5325 from pencilqaq/preview-fixes
the1812 Aug 17, 2025
6aded9e
Fix season type (fix #5292)
the1812 Aug 29, 2025
300d535
Fix live url (fix #5306)
the1812 Aug 29, 2025
95ee56b
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Aug 29, 2025
5e80b05
Fix reply content not replaced (fix #4843)
the1812 Sep 2, 2025
b8d4715
Update dark mode excludes (fix #5353)
Ayx03 Sep 6, 2025
2c87b1f
Merge pull request #5354 from Ayx03/patch-1
the1812 Sep 9, 2025
4c53011
CI build
github-actions[bot] Sep 9, 2025
053c478
Update dark mode excludes (fix #5353)
Ayx03 Sep 6, 2025
22c77e2
Update changelog
the1812 Sep 11, 2025
5c11125
Update version number
the1812 Sep 11, 2025
d42f022
Update donate history
the1812 Sep 11, 2025
6451118
Update docs
the1812 Sep 11, 2025
3576c95
Update changelog
the1812 Sep 11, 2025
f8d9b56
Merge branch 'preview-fixes'
the1812 Sep 11, 2025
c0d915e
CI build
github-actions[bot] Sep 11, 2025
5a72763
Add error handling (fix #5382)
the1812 Oct 5, 2025
69bfc11
Fix up badge not hidden
the1812 Oct 28, 2025
df45f5e
fix: handle mini player correctly
Elypha Nov 10, 2025
5bb87c8
Update dark mode excludes (fix #5223)
the1812 Nov 15, 2025
ff124eb
Merge branch 'preview-fixes' of https://github.com/the1812/Bilibili-E…
the1812 Nov 27, 2025
537946b
Support manual select language (#4927)
the1812 Dec 2, 2025
e94123e
Fix full feeds content and disable feeds details (fix #5426)
the1812 Dec 2, 2025
3ab0bc9
Fix expand/fold button not working (fix #5426)
the1812 Dec 2, 2025
64848b2
Fix lint errors
the1812 Dec 2, 2025
ba4e0f6
Merge pull request #5417 from Elypha/pr-handle-miniplayer
the1812 Dec 2, 2025
ba8b312
Merge branch 'hot-update-fixes-2025-12'
the1812 Dec 2, 2025
cb227b1
CI build
github-actions[bot] Dec 2, 2025
87b6003
Fix toggle subtitle not working (fix #5368)
the1812 Dec 10, 2025
c875372
Add tailing slash for video links (fix #5391)
the1812 Dec 10, 2025
31a77b8
Detect empty subtitle
the1812 Dec 11, 2025
61a4b4f
Update url params clean (#5412)
the1812 Dec 13, 2025
71c3a17
Update changelog
the1812 Dec 13, 2025
c4832dc
Update donate history
the1812 Dec 13, 2025
f4571b3
Update version number
the1812 Dec 13, 2025
1aa7bcb
Merge branch 'preview-fixes'
the1812 Dec 13, 2025
81057b3
CI build
github-actions[bot] Dec 13, 2025
0354dad
Fix fresh home not working (fix #5434)
the1812 Jan 5, 2026
474b352
Merge branch 'preview-fixes'
the1812 Jan 5, 2026
d3e60db
CI build
github-actions[bot] Jan 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

19 changes: 19 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
> 1%
last 2 versions
not dead
chrome > 105
edge > 105
firefox > 127
safari > 15.4
not and_chr > 0
not and_ff > 0
not and_qq > 0
not and_uc > 0
not android > 0
not baidu > 0
not ios_saf > 0
not kaios > 0
not op_mob > 0
not op_mini all
not samsung > 0
not ie > 0
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Tab indentation
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
quote_type = single
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
packages/
typings/
**/dist/
dev/
node_modules/
!.github-json/
.eslintrc.*
111 changes: 111 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
module.exports = {
env: {
browser: true,
es2020: true,
},
extends: [
'plugin:vue/recommended',
'plugin:@typescript-eslint/recommended',
'airbnb-base',
'plugin:prettier/recommended',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 2020,
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',

'import/no-unresolved': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
'import/prefer-default-export': 'off',
'import/no-default-export': 'error',
'import/no-named-default': 'off',

'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/no-shadow': ['error', { builtinGlobals: false }],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-use-before-define': ['error'],
'@typescript-eslint/no-redeclare': 'error',
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'enumMember',
format: ['PascalCase'],
},
],

'vue/multi-word-component-names': 'off',
'vue/max-attributes-per-line': 'off',
'vue/html-self-closing': 'off',
'vue/no-v-html': 'off',
'vue/require-prop-types': 'off',
'vue/one-component-per-file': 'off',
'vue/singleline-html-element-content-newline': 'off',

// 使用 @typescript-eslint/no-unused-vars, 否则 interface 都是 unused
'no-unused-vars': 'off',
'no-console': 'off',
'no-undef': 'off',
'no-param-reassign': 'off',
'no-continue': 'off',
'no-plusplus': 'off',
'no-eval': 'off',
'no-useless-constructor': 'off',
'no-unused-expressions': 'off',
'no-await-in-loop': 'off',
'no-restricted-syntax': 'off',
'no-useless-escape': 'off',
'no-empty-function': ['error', { allow: ['constructors'] }],
'no-return-assign': ['error', 'except-parens'],
'no-redeclare': 'off',
'no-script-url': 'off',
'no-shadow': 'off',
'no-use-before-define': 'off',
'no-alert': 'off',
'no-restricted-globals': 'off',

'arrow-body-style': 'off',
'prefer-arrow-callback': 'off',
'object-curly-newline': 'off',
'linebreak-style': 'off',
camelcase: 'off',
'lines-between-class-members': 'off',
radix: ['error', 'as-needed'],
'max-classes-per-file': 'off',
'class-methods-use-this': 'off',
'prefer-destructuring': [
'error',
{
VariableDeclarator: {
array: false,
object: true,
},
AssignmentExpression: {
array: false,
object: false,
},
},
],
curly: ['error', 'all'],
},
overrides: [
{
files: ['*.vue', 'shims.d.ts', 'webpack/**/*.ts', 'registry/webpack/**/*.ts'],
rules: {
'import/no-default-export': 'off',
},
},
],
}
3 changes: 3 additions & 0 deletions .github-json/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Fuck YAML

在项目根目录使用 `pnpm build-github-config` 来生成 GitHub 相关配置.
36 changes: 36 additions & 0 deletions .github-json/data/DISCUSSION_TEMPLATE/功能建议-ideas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"title": "功能建议",
"labels": [],
"body": [
{
"type": "markdown",
"attributes": {
"value": "默认您已阅读 [常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)\n请勿重复发起, 发之前记得搜索一下. 如果需要反馈 Bug, 请前往 [Issues](https://github.com/the1812/Bilibili-Evolved/issues) 发起.\n"
}
},
{
"type": "textarea",
"id": "description",
"attributes": {
"label": "期望的效果",
"description": "描述你遇到的问题, 以及建议的解决方式",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-version",
"attributes": {
"label": "脚本版本",
"description": "可在设置面板的关于弹窗中找到脚本版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
}
]
}
15 changes: 15 additions & 0 deletions .github-json/data/FUNDING.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"github": null,
"patreon": null,
"open_collective": null,
"ko_fi": null,
"tidelift": null,
"community_bridge": null,
"liberapay": null,
"issuehunt": null,
"otechie": null,
"lfx_crowdfunding": null,
"custom": [
"https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/donate.md"
]
}
131 changes: 131 additions & 0 deletions .github-json/data/ISSUE_TEMPLATE/bug_report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"name": "Bug 反馈",
"description": "功能运行不正常 / 失效",
"body": [
{
"type": "markdown",
"attributes": {
"value": "默认您已阅读 [Issues 须知](https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/issue-rules.md)\n请勿重复发起, 发之前记得看下[置顶问题 (Pinned issues)](https://github.com/the1812/Bilibili-Evolved/issues) (如果有的话), 以及[常见问题解答](https://github.com/the1812/Bilibili-Evolved/discussions/1301)\n"
}
},
{
"type": "textarea",
"id": "feature",
"attributes": {
"label": "对应功能",
"description": "(指本脚本的某项具体功能, 不是指 b 站的) 可以在设置中尝试开启 / 关闭某项功能来排查. 最好能附上功能的 Commit 值 (在设置里功能选项的底部).\n<img src=\"https://user-images.githubusercontent.com/26504152/152666017-8a5acabc-2ad1-47ef-b0a2-cd5c54c867ab.jpg\" width=\"400\">\n如果组件包含作者的信息 (by @xxx), 请在这里 at 他们\n请注意: 以下功能已不再维护 (不再修复 bug 和添加新功能), 但是你仍然可以为其提供 Pull Request.\n- 直播间自动抽奖\n- 默认播放器模式\n- 播放器置顶\n- 播放器定位\n",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "description",
"attributes": {
"label": "问题描述",
"description": "如何重现此问题, 在哪个页面里出现这个问题, 比如视频相关的可以提供一下 av / BV 号",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-version",
"attributes": {
"label": "脚本版本",
"description": "可在设置面板的关于弹窗中找到脚本版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "script-manager-version",
"attributes": {
"label": "脚本管理器及版本",
"description": "例如 Tampermonkey v4.19.6176",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "browser-version",
"attributes": {
"label": "浏览器及版本",
"description": "可在浏览器的关于页面中找到浏览器版本信息",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "input",
"id": "player-version",
"attributes": {
"label": "播放器版本",
"description": "在 b 站播放器上右键可以看到播放器版本号\n",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "dropdown",
"id": "player-codec",
"attributes": {
"label": "播放策略",
"description": "在 b 站播放器设置 - 更多播放设置 里可以看到播放策略",
"options": [
"默认",
"AV1",
"HEVC",
"AVC"
]
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "logs",
"attributes": {
"label": "错误信息",
"description": "脚本直接报告的错误信息, 或者浏览器开发者工具 (F12 或 Ctrl+Shift+I 召唤) 里 Console / 控制台 一栏的输出, 太长的话可以截图放下面. <br><img width=\"400\" src=\"https://user-images.githubusercontent.com/26504152/173189611-f1e9e46a-a31d-4d21-a95a-5771e16372dd.png\">\n",
"render": "Shell",
"placeholder": "请输入"
},
"validations": {
"required": true
}
},
{
"type": "textarea",
"id": "screenshots",
"attributes": {
"label": "附加截图",
"placeholder": "可在此粘贴图片"
}
},
{
"type": "textarea",
"id": "kind_reminder",
"attributes": {
"label": "致遇到了相同问题准备回复的人",
"description": "请勿修改文本框中的内容",
"value": "**太长不看**:\n1、遇到了相同的问题:**请用左下角的 reaction 点赞**\n2、实时关注该 Issue 的后续进展:**请用 Issue 页上的 Subscribe 功能**(在 PC 端按钮通常位于页面右侧)。\n**_请您回复前务必确认您有在本 Issue 之外补充了其它相关信息(比如 Log)再行回复以免对他人造成不必要的困扰_**\n<details>\n <summary>完整版</summary>\n 由于每个 Issue 甚至整个项目都是可以订阅通知的, 对于已经有人汇报过的 Bug, 如果您也遇到了并且没有其他信息要补充, 可以直接在左下点个赞表示 +1, 不要再去新增评论。想关注后续的可以用 Subscribe,Subscribe 之后该 Issue 如果有变动都可以收到通知,如果不想被回复打扰可以使用更加进阶的 Customize 功能,勾选 \"Closed\" & \"Reopened\"。Closed 通常代表该 Issue 已被解决,极少数情况下的 Reopened 代表该 Issue 的问题重新出现。如果您新增了无意义评论,因为 Issue 这个 bug tracker 与<a href=\"https://www.zhihu.com/question/23757640\">邮件列表</a>类似,订阅某个 Issue 的用户会在每次这个 Issue 有新的动态时收到一封新的提醒邮件。也就是说,在 Issue 中的一个不能提供新的信息的评论,相当于给所有订阅这个 Issue 的用户发了一封垃圾邮件(spam)。尤其项目的维护者也是订阅者中的一员,太多垃圾邮件会对维护者带来很多不必要的困扰。发送垃圾邮件在开源社区通常是不那么受欢迎的行为。\n</details>\n"
}
}
]
}
30 changes: 30 additions & 0 deletions .github-json/data/ISSUE_TEMPLATE/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"blank_issues_enabled": false,
"contact_links": [
{
"name": "转到讨论区",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions",
"about": "Issues 用于反馈 Bug, 新的功能建议和提问答疑请到讨论区发起"
},
{
"name": "查看 Issues 须知",
"url": "https://github.com/the1812/Bilibili-Evolved/blob/preview/doc/issue-rules.md",
"about": "默认所有 Issues 发起者均已了解此处的内容"
},
{
"name": "查看讨论区指南",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions/1297",
"about": "默认所有讨论发起者均已了解此处的内容"
},
{
"name": "查看置顶问题",
"url": "https://github.com/the1812/Bilibili-Evolved/issues",
"about": "在 Pinned issues 中会包含一些近期常见问题, 已有的其他问题也会在下面列出, 请务必查看避免重复发起"
},
{
"name": "查看常见问题",
"url": "https://github.com/the1812/Bilibili-Evolved/discussions/1301",
"about": "一些老生常谈的问题, 或许里面就有你想问的"
}
]
}
Loading