Commit Graph

27 Commits

Author SHA1 Message Date
曾明健
cf1240c847
feat: add rule no-import-node-modules-by-path (#219) 2023-08-01 16:59:19 +02:00
Anthony Fu
effc708692 feat: add default in exports 2023-08-01 16:58:10 +02:00
Anthony Fu
ea307c91e5 fix: put import before require in exports 2023-08-01 16:56:25 +02:00
Anthony Fu
5be2b3fd39 chore: update deps 2023-07-16 00:20:31 +02:00
曾明健
3ef955d56f
feat(basic): prefer non global process object (#214) 2023-07-12 12:39:07 +02:00
曾明健
2ed8536b85
feat(basic): ban self import (#213) 2023-07-05 11:50:02 +02:00
曾明健
be5bc8009c
feat: ban new Array (#209) 2023-07-04 10:52:53 +02:00
曾明健
bbed70b969
refactor: use existing rules (#198) 2023-06-06 18:01:05 +02:00
曾明健
0947ddb151
feat(basic): ban deprecated syntax (#194) 2023-06-02 16:04:01 +02:00
L.Rain
0a9c9b0384
chore: simplified off rules (#192) 2023-06-01 16:08:06 +02:00
曾明健
84ae087ea0
chore(basic): add the missing restricted rules about window object (#191) 2023-05-31 14:40:11 +02:00
Anthony Fu
610d886afd chore: remove window restriction 2023-05-31 09:52:26 +02:00
曾明健
aefa76e48a
feat(basic): ban some deprecated global functions (#190) 2023-05-31 09:51:21 +02:00
曾明健
e787e9a647
feat(basic): ban global variable (#189) 2023-05-26 17:39:10 +02:00
Anthony Fu
cdb02c8fa1 fix: turn off cjs-check in markdown 2023-05-21 14:19:11 +02:00
曾明健
96dd9a1797
feat: validate jsonc file (#184) 2023-05-19 10:29:15 +02:00
Anthony Fu
6503a153d8 fix: relax markdown lint 2023-05-05 18:35:51 +02:00
Anthony Fu
e6cb79994e fix: exclude vitepress cache 2023-04-19 02:29:07 +02:00
曾明健
ff74d69719
feat: enable no-invalid-this (#173) 2023-04-18 13:42:48 +02:00
曾明健
e28861a247
fix(basic): allow require imports in js file (#169) 2023-04-11 09:50:52 +02:00
曾明健
ebb96c422e
feat(basic): consider comments for newline-after-import (#164) 2023-04-10 13:57:57 +02:00
曾明健
3f13db706b
refactor: remove eslint-plugin-node (#162) 2023-04-04 08:55:00 +02:00
Anthony Fu
79b63bc0c9 chore: enable hoist 2023-04-03 14:43:41 +02:00
曾明健
502f6b0c37
feat(basic): prefer non global object of node (#159)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-04-03 14:41:41 +02:00
曾明健
d1cd722857
feat(basic): new line after import (#161) 2023-04-03 14:30:54 +02:00
Anthony Fu
87d26fb63a feat: enforce to use function declaration on top-level 2023-03-29 15:46:16 +02:00
Anthony Fu
4ef978a092 refactor: rename folders 2023-03-24 10:01:44 +01:00