Commit Graph

73 Commits

Author SHA1 Message Date
Anthony Fu
447d326997 feat: enable prefer-node-protocol 2023-03-04 15:23:51 +01:00
Anthony Fu
4167a78419 feat: add ignore list for lint-staged 2023-02-24 23:56:13 +01:00
Anthony Fu
f466ac5446 feat: auto fix for unused imports 2023-01-29 01:58:08 +01:00
Anthony Fu
f45a0d9bd3 feat: allow require() in cjs 2023-01-29 00:35:25 +01:00
三咲智子 Kevin Deng
2a224ef301
fix: prefer const when all variables in destructuring should be const (#149) 2023-01-09 10:58:26 +01:00
曾明健
42dddba96d
chore: synchronize config of standardjs (#143) 2022-12-16 15:00:41 +01:00
曾明健
5d5b3c338a
fix: allow void as statement in ts file (#142) 2022-12-16 11:48:11 +01:00
曾明健
4d38bd0293
fix(basic): disallow multi empty lines at the end of file (#137) 2022-12-12 18:00:59 +01:00
曾明健
b58283d3d6
feat(basic): disable consistent-type-imports in markdown file (#138) 2022-12-12 17:59:58 +01:00
Michaël
151a6ef338
Added 'out' to ignorePatterns (#140) 2022-12-12 17:59:31 +01:00
Anthony Fu
94b5fdddad chore: update deps 2022-11-17 01:27:16 +08:00
曾明健
65aec3f101
feat(basic): add max-statements-per-line (#129) 2022-11-17 01:25:16 +08:00
KylinDC
da59484756
feat(basic): add rules to prevent .only in tests (#127) 2022-11-01 02:28:00 +08:00
Oumar Barry
b34da44baf
chore(basic): fix typo (#107) 2022-08-23 14:14:23 +08:00
karasu
339866483a
fix: rule renamed (#106) 2022-08-10 16:52:59 +08:00
Anthony Fu
55ffba3288 fix: ignore .d.ts by default 2022-06-25 01:03:04 +08:00
Anthony Fu
b08b769a8a feat: enable reportUnusedDisableDirectives by default 2022-05-29 23:01:36 +08:00
QiroNT
f1b9dc396b
fix: prioritize require (#98) 2022-05-29 15:53:45 +08:00
Anthony Fu
001de3b060 feat: improve package.json sorting 2022-05-25 07:02:45 +08:00
N
d463449db4
fix: deprecated-rules (#93)
unicorn/prefer-exponentiation-operator was deprecated since 16.0 [deprecated-rules](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/deprecated-rules.md#prefer-exponentiation-operator)
2022-05-14 11:36:03 +08:00
N
37d30e9e7d
fix: rule renamed (#94) 2022-05-14 11:35:44 +08:00
Anthony Fu
35a5d3ef9d chore: disable rules 2022-05-13 23:15:35 +08:00
zz
f618005402
fix: add missing extension rules (#90) 2022-05-05 23:51:20 +08:00
liuq
b996c58bac
fix: fixed rules not works (#86)
Co-authored-by: linka <lqadm@qq.com>
2022-04-26 01:43:26 +08:00
Anthony Fu
0ab9f88603 feat(eslint-plugin): new import dedupe rule 2022-04-25 13:26:07 +08:00
liyujun
17670e8e38
fix: space-before-function-paren allows space in anonymous and asyncArrow function. (#84) 2022-04-25 01:02:25 +08:00
Coder Zhao
686f285a37
chore: replace no-leading-newline with no-multiple-empty-lines (#82) 2022-04-24 22:11:01 +08:00
Anthony Fu
ddd34a9465 fix: do not require comma-dangle in markdown 2022-04-16 09:02:55 +08:00
Anthony Fu
4eb7aee28e chore: disable prefer-inline-type-import by default 2022-04-07 06:14:22 +08:00
Anthony Fu
d23abea648 feat: add prefer-inline-type-import 2022-04-07 05:53:48 +08:00
Anthony Fu
2e9948029c feat: new if-newline rule 2022-04-02 23:51:24 +08:00
Anthony Fu
ded3cf2da2 feat: custom plugin 2022-04-02 23:18:36 +08:00
CondorHero
5f05cfcfd6
fix: eslint-plugin-import support TypeScript (#77)
Co-authored-by: CondorHero <love2xinwei@gmail.com>
2022-03-31 22:19:07 +08:00
Anthony Fu
9653a33381 fix: inline eslint-config-standard 2022-03-30 04:32:30 +08:00
Anthony Fu
73a790c1d0 fix: disable yml/no-empty-document 2022-03-11 06:13:25 +08:00
Anthony Fu
a3c897a9ec fix: disable spaced-comment in yaml 2022-03-11 06:11:07 +08:00
Anthony Fu
774757b0e5 fix: disable no-var-requires in markdown 2022-03-11 06:00:29 +08:00
Anthony Fu
2e962a2785 feat: improve no-unused-vars rule 2022-03-11 05:55:22 +08:00
Anthony Fu
98708f1996 fix: ignore lock files 2022-03-10 20:33:09 +08:00
Anthony Fu
8b0a239f8f chore: package.json keys 2022-03-10 20:29:48 +08:00
Anthony Fu
97975dafc5 fix: package.json keys order 2022-03-10 20:26:31 +08:00
Anthony Fu
b6133dcd42 fix: package.json key orders 2022-03-10 20:19:52 +08:00
Anthony Fu
b7cff5d6a2 chore: update ignore pattern 2022-03-10 20:16:17 +08:00
Anthony Fu
e54ac17e09 fix: imporve markdown rules 2022-03-09 19:00:11 +08:00
Anthony Fu
8f51445a67 fix: lint vitepress by default 2022-03-09 18:58:38 +08:00
Anthony Fu
8e1140aef2 fix: disable no-callback-literal 2022-03-08 03:28:56 +08:00
Anthony Fu
0117961e43 fix: update markdown rules 2022-03-08 03:24:01 +08:00
Anthony Fu
a50bd851d1 fix: markdown parser 2022-03-08 03:17:55 +08:00
Anthony Fu
48a0d78824 feat: add markdown plugin 2022-03-07 16:47:31 +08:00
Anthony Fu
13c90b5150 feat: update ts rules 2022-01-07 03:23:12 +08:00