EYHN
4b217e6b89
refactor(core): move hooks to core ( #5458 )
...
* move @toeverything/hooks -> @affine/core/hooks
* delete @toeverything/hooks
hooks are all business-related logic and are deeply coupled with other parts.
Move them into the core and then reconstruct them by feature.
2024-01-02 08:05:46 +00:00
EYHN
265ee81666
refactor(infra): remove old plugin system ( #5411 )
...
plugin system need redesign
2023-12-27 02:49:59 +00:00
LongYinan
7a7cbc45d7
fix: add prefer-readonly rule ( #5122 )
2023-11-29 15:19:00 +08:00
LongYinan
e9ea67bd38
fix: add prefer-for-of rule ( #5121 )
2023-11-29 15:18:52 +08:00
LongYinan
acf2de813a
fix: add unified-signatures rule ( #5120 )
2023-11-29 04:44:18 +00:00
LongYinan
db3039fbf4
fix: add require-array-sort-compare rule ( #5119 )
2023-11-29 04:44:14 +00:00
LongYinan
eadf8a085b
fix: add prefer-blob-reading-methods rule ( #5118 )
2023-11-29 04:44:10 +00:00
LongYinan
cb2c659f52
fix: add no-new-array rule ( #5117 )
2023-11-29 04:44:06 +00:00
LongYinan
68caf5027d
fix: add new-for-builtins rule ( #5116 )
2023-11-29 04:44:02 +00:00
LongYinan
19c61e051d
fix: add no-typeof-undefined rule ( #5114 )
2023-11-29 04:43:59 +00:00
LongYinan
bd488262fa
fix: add prefer-date-now rule ( #5113 )
2023-11-29 04:43:55 +00:00
LongYinan
4dddbbdaee
fix: add prefer-dom-node-remove rule ( #5112 )
2023-11-29 04:43:51 +00:00
LongYinan
45690c2756
fix: add no-useless-promise-resolve-reject rule ( #5111 )
2023-11-29 04:43:47 +00:00
LongYinan
d267029761
fix: add prefer-array-some rule ( #5109 )
2023-11-29 04:43:43 +00:00
LongYinan
23cfc58fe2
fix: add prefer-dom-node-append rule ( #5108 )
2023-11-29 04:43:39 +00:00
LongYinan
123f091e5b
fix: add prefer-dom-node-dataset rule ( #5107 )
2023-11-29 04:43:35 +00:00
LongYinan
923844f302
fix: add eqeqeq lint rule ( #5106 )
2023-11-29 04:43:31 +00:00
LongYinan
a843dcd851
fix: resolve cycle imports and prevent it by oxlint ( #5103 )
2023-11-29 04:43:27 +00:00
LongYinan
c1cf25d2d5
style: add no-self-compare rule ( #5092 )
2023-11-28 08:55:50 +00:00
Joooye_34
30bac7dce2
ci(core): eslint errors for core ( #4662 )
2023-11-10 10:25:59 +00:00
EYHN
ecd5db2952
ci: add oxlint ( #4867 )
2023-11-08 17:54:41 +08:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00
Alex Yang
d05897b724
chore: prohibit unnecessary await
( #4586 )
2023-10-12 05:04:58 +00:00
LongYinan
b1eb926b7b
style: enable no-extraneous-dependencies lint rule ( #4575 )
2023-10-10 17:51:47 +00:00
Peng Xiao
eea38a08c5
fix: add platform selector to storybook ( #4380 )
2023-09-15 08:59:29 +00:00
LongYinan
1aec1ce7d0
test(server): move tests out of src folder ( #4366 )
2023-09-15 07:34:14 +00:00
Alex Yang
162016884c
refactor: remove unused package ( #4291 )
2023-09-09 00:00:26 +00:00
Alex Yang
517f4afb31
fix(core): refresh metadata after refresh ( #4054 )
2023-08-30 21:22:34 +00:00
Alex Yang
2f6c4e3696
feat!: affine cloud support ( #3813 )
...
Co-authored-by: Hongtao Lye <codert.sn@gmail.com>
Co-authored-by: liuyi <forehalo@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: X1a0t <405028157@qq.com>
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
Co-authored-by: xiaodong zuo <53252747+zuoxiaodong0815@users.noreply.github.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: danielchim <kahungchim@gmail.com>
2023-08-29 05:07:05 -05:00
Alex Yang
9639143df4
chore: prohibit using mergeUpdates
( #3701 )
2023-08-11 15:55:17 +00:00
Peng Xiao
45ffad45b0
fix: eslint stack overflow issue ( #3601 )
2023-08-07 07:00:57 +00:00
LongYinan
5795020403
style: add no-misused-promises rule ( #3547 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-08-04 08:08:10 +00:00
Alex Yang
0e32803247
refactor: merge plugin-infra
into infra
( #3540 )
2023-08-03 08:48:59 +00:00
Alex Yang
b47fbde479
fix: improve navigate ( #3420 )
2023-07-27 18:06:30 +00:00
Alex Yang
ec87864c34
refactor: simplify code ( #3015 )
2023-07-04 17:34:22 +00:00
Peng Xiao
7f0a74c694
fix: some potential tests issue ( #2982 )
2023-07-03 10:46:47 +00:00
Alex Yang
33097382c6
chore: replace 'eslint-plugin-import' ( #2957 )
2023-07-01 16:35:16 +00:00
Alex Yang
e08ee9b7ff
ci: add prettier format check ( #2908 )
2023-06-29 04:13:35 +00:00
Alex Yang
91d3b76be5
refactor(storybook): move to apps
folder ( #2901 )
2023-06-28 12:29:52 +00:00
Alex Yang
3eed009270
feat: add rule 'sonarjs/no-identical-functions' ( #2905 )
2023-06-28 12:29:12 +00:00
LongYinan
3996955e3b
fix: add eslint-plugin-sonarjs and rules ( #2767 )
2023-06-14 10:45:14 +08:00
LongYinan
1c8f1a05d0
fix: add @typescript-eslint/no-floating-promises rule ( #2764 )
...
Co-authored-by: himself65 <himself65@outlook.com>
2023-06-13 06:55:23 +00:00
Himself65
ace3c37fcc
feat: improve copilot ( #2758 )
2023-06-13 10:29:04 +08:00
LongYinan
2e975e79dd
style: add ban-ts-comment rule ( #2738 )
2023-06-09 11:55:23 +08:00
himself65
227174db1b
build: fix eslint config
2023-06-09 01:11:53 +08:00
himself65
14db45ae95
build: fix the directory path on webstorm
2023-06-08 16:26:09 +08:00
LongYinan
18dc427bc3
style: enable no-non-null-assertion rule ( #2723 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-06-08 07:23:20 +00:00
Himself65
248cd9a8ab
chore: prohibit import package itself ( #2612 )
...
Co-authored-by: Whitewater <me@waterwater.moe>
2023-05-31 15:00:50 +08:00
Himself65
4f99ad2db4
feat: forced file naming format ( #2270 )
2023-05-08 17:37:07 -05:00
Himself65
70fbbb39c1
chore: enable no-unused vars ( #2181 )
2023-04-28 00:41:06 -05:00