Commit Graph

161 Commits

Author SHA1 Message Date
Austaras
2cb66ae075
refactor(es/ast): Change definition of optional chaining expressions (#3645) 2022-02-21 07:12:09 +00:00
Artur
5a9d0cf8a7
feat(es/lints): Implement no-bitwise rule (#3635) 2022-02-21 02:17:18 +00:00
SWC Bot
264f1cf8d6 chore: Publish crates 2022-02-20 15:53:48 +00:00
SWC Bot
6690acab18 chore: Publish crates 2022-02-20 08:48:38 +00:00
Artur
7ff4cbcbe1
feat(es/lints): Implement no-new rule (#3634) 2022-02-20 08:39:55 +00:00
SWC Bot
34322d13a6 chore: Publish crates 2022-02-19 09:11:36 +00:00
Artur
72343baf5b
feat(es/lints): Implement no-restricted-syntax rule (#3607) 2022-02-19 09:06:10 +00:00
SWC Bot
a91361eef0 chore: Publish crates 2022-02-17 12:53:25 +00:00
magic-akari
08c343b186
feat(es/lints): Allow using number as an error level (#3593) 2022-02-17 12:48:54 +00:00
SWC Bot
aa10900235 chore: Publish crates 2022-02-17 06:13:48 +00:00
magic-akari
71a94b143e
fix(es/lints): Use kebab-case for configuration (#3590) 2022-02-17 06:11:43 +00:00
SWC Bot
eb59f2a51d chore: Publish crates 2022-02-17 05:18:22 +00:00
OJ Kwon
5061101999
build(swc): Bump the version of parking_lot (#3604) 2022-02-17 05:16:14 +00:00
SWC Bot
d4cac369b0 chore: Publish crates 2022-02-16 11:10:00 +00:00
magic-akari
3e29b73a2a
feat(es/lints): Implement no-dupe-args rule (#3574) 2022-02-16 11:07:42 +00:00
SWC Bot
7a173af447 chore: Publish crates 2022-02-16 14:19:25 +09:00
Donny/강동윤
786d016174
fix(es/lints): Fix duplicate-bindings for typescript (#3583) 2022-02-16 05:00:55 +00:00
SWC Bot
49a87471fd chore: Publish crates 2022-02-15 04:57:59 +09:00
Artur
f9fda2743c
feat(es/lints): Implement no-empty-pattern rule (#3550) 2022-02-14 17:55:52 +00:00
SWC Bot
6a74aeecc1 chore: Publish crates 2022-02-14 01:32:16 +09:00
Artur
8d92050f55
feat(es/lints): Implement eqeqeq rule (#3513) 2022-02-13 16:31:48 +00:00
SWC Bot
da77104db2 chore: Publish crates 2022-02-13 13:58:05 +09:00
Artur
286b6c804f
feat(es/lints): Add allow config for no-console rule (#3517) 2022-02-13 13:57:39 +09:00
SWC Bot
b5a5f2b624 chore: Publish crates 2022-02-12 21:46:16 +09:00
Artur
af8200647b
feat(es/lints): Add this handling support to no-alert rule (#3515) 2022-02-12 21:45:56 +09:00
SWC Bot
cc3b1dfd69 chore: Publish crates 2022-02-10 13:52:54 +09:00
Artur
205b76e78d
feat(es/lints): Implement no-use-before-define rule (#3456) 2022-02-10 04:52:11 +00:00
Donny/강동윤
8fbdbcd42f chore: Publish crates 2022-02-09 20:28:02 +09:00
Artur
5bb6bd71b6
feat(es/lints): Implement dot-notation rule (#3481) 2022-02-09 11:24:58 +00:00
Donny/강동윤
9b76783281
refactor(common): Cleanup & rustfmt (#3495)
swc_common:
 - Merge identical source codes.

swc_css_parser:
 - Deny `clippy::all`.
 - Fix lints.
2022-02-09 06:33:32 +00:00
Donny/강동윤
1234fac4d5 chore: Publish crates 2022-02-07 23:04:39 +09:00
Donny/강동윤
b06a5abe58 chore(es/lints): Fix CI 2022-02-07 23:03:08 +09:00
Donny/강동윤
02c401830d chore: Publish crates 2022-02-07 17:12:43 +09:00
Artur
5d6143a53c
feat(es/lints): Implement linter for quotes of string literals (#3443) 2022-02-07 08:12:14 +00:00
Donny/강동윤
802842561e chore: Publish crates 2022-02-04 16:47:02 +09:00
Artur
8166275166
feat(es/lints): Implement prefer-regex-literals (#3399) 2022-02-04 16:46:34 +09:00
Donny/강동윤
19e7c70bd7 chore: Publish crates 2022-02-04 13:21:41 +09:00
Donny/강동윤
de4ae1b4e9 chore: Publish crates 2022-02-02 23:46:36 +09:00
Artur
5cbe4fe512
feat(es/lints): Add no-alert and a feature gate (#3394)
swc_ecma_lints:
 - Implement `no-alert`
 - Add a feature gate for non-critical rules.
2022-02-02 14:43:46 +00:00
Donny
a94f1ddb6f chore: Publish crates 2022-01-30 12:36:38 +09:00
Artur
9dec9236f7
feat(es/lints): Implement no-debugger rule (#3398) 2022-01-30 03:33:46 +00:00
Donny
bcc3ae86ae chore: Publish crates 2022-01-26 20:39:45 +09:00
Artur
987213797f
feat(es/lints): Implement "no-console" rule (#3269)
swc_ecma_lints:
 - Add types for general configuration.
 - Add `no-console`rule.

swc:
 - Expose the lint config via `jsc.lints`.
2022-01-26 20:39:19 +09:00
Donny
316d4762c3 chore: Publish crates 2022-01-26 20:36:44 +09:00
Donny
681de03e4b chore: Publish crates 2022-01-17 13:36:00 +09:00
magic-akari
f4b3cb714a
fix(es/resolver): Treat a switch statement as a block scope (#3275) 2022-01-15 17:20:17 +09:00
Donny/강동윤
15b604b6d6
refactor(*): Fix some clippy warnings (#3257) 2022-01-14 07:20:45 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy (#3250) 2022-01-13 23:06:11 +09:00
Donny
c13bba8401 chore: Publish crates 2022-01-12 18:39:56 +09:00
Donny
852ec783f3 chore: Publish crates 2022-01-10 22:57:17 +09:00
Donny
0d4b671052 chore: Publish crates 2022-01-10 15:05:26 +09:00
Donny
6892f27ad7 chore: Publish crates 2022-01-06 20:19:36 +09:00
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName for ExportNamespaceSpecifier (#3195) 2022-01-06 20:19:11 +09:00
Donny
e679c04873 chore: Publish crates 2022-01-05 11:59:44 +09:00
Donny/강동윤
913c82a2ab
fix(es/lints): Fix incorrect duplicate binding error (#3194)
swc_ecma_transforms_base:
 - `resolver`: Fix resolving of `const` and `let`.

swc_ecma_lints:
 - `duplicate_bindings`: Don't mark ambient function declararions as a binding. (Closes #3193)
2022-01-05 11:59:10 +09:00
Donny
781aa79b82 chore: Publish crates 2022-01-04 19:29:50 +09:00
Donny
1e5bc88cd3 chore: Publish crates 2022-01-03 17:45:09 +09:00
Sosuke Suzuki
07c0489575
feat(es/ast): Add ModuleExportName (#3048)
swc_ecma_ast:
 - Allow using string as import/export specifiers.
2022-01-03 08:44:11 +00:00
Donny/강동윤
194b3e9b67
refactor(*): Use 2021 edition (#3151) 2021-12-30 18:59:18 +09:00
Donny
0cf8265f02 chore: Publish crates 2021-12-29 21:04:30 +09:00
Donny/강동윤
f21af5bcd6
feat(es/lints): Implement simple validations (#2763)
swc_ecma_lint:
 - Implement `const-assign`. (Closes #2016)
 - Implement `duplicate-bindings`. (Closes #2795)
 - Implement `duplicate-exports`. (Closes #3056)

swc:
 - Use linter.
2021-12-19 21:07:51 +09:00