SWC Bot
883a76a73a
chore: Publish crates
2022-07-17 05:06:27 +00:00
magic-akari
04de455a9a
fix(es/lints: Handle ts export import equals ( #5225 )
2022-07-17 05:04:37 +00:00
SWC Bot
4ec9962e43
chore: Publish crates
2022-07-17 04:08:45 +00:00
Artur
d0356489cb
feat(es/lints): Support ignoreReadBeforeAssign
for prefer-const
( #4933 )
2022-07-17 04:07:05 +00:00
Donny/강동윤
b433b69263
chore: Publish crates
2022-07-12 23:58:30 +09:00
SWC Bot
2bd5b4413a
chore: Publish crates
2022-07-09 10:17:04 +00:00
SWC Bot
297228a690
chore: Publish crates
2022-07-07 07:48:49 +00:00
SWC Bot
d1b99a2a52
chore: Publish crates
2022-07-07 04:08:34 +00:00
magic-akari
a0ec3705a4
fix(es/lints): Handle import-require duplicate bindings ( #5131 )
2022-07-07 04:06:37 +00:00
SWC Bot
9385103649
chore: Publish crates
2022-07-06 04:44:10 +00:00
magic-akari
f952a6161c
feat(es/typescript): Follow TypeScript error report ( #5114 )
2022-07-05 22:08:55 +00:00
SWC Bot
8342497c82
chore: Publish crates
2022-07-05 16:36:36 +00:00
Austaras
bef8aebdea
fix(es/lints): Allow overload in typescript ( #5116 )
2022-07-06 01:33:58 +09:00
Austaras
9519e801ea
fix(es/resolver): Fix handling of block scoped functions ( #5092 )
2022-07-05 05:04:49 +00:00
SWC Bot
68c049c8a0
chore: Publish crates
2022-07-03 17:16:30 +00:00
magic-akari
f7d857c6b6
fix(es/lints): Cover more const-assign
cases ( #5098 )
2022-07-03 17:13:55 +00:00
SWC Bot
f5447cd1b1
chore: Publish crates
2022-07-02 03:53:10 +00:00
Donny/강동윤
c2c923e205
chore: Publish crates
2022-07-01 11:50:45 +09:00
SWC Bot
73874486b2
chore: Publish crates
2022-06-29 11:05:08 +00:00
SWC Bot
5576c3c601
chore: Publish crates
2022-06-29 03:37:57 +00:00
SWC Bot
8bd3befdd4
chore: Publish crates
2022-06-28 05:09:30 +00:00
magic-akari
376c4e11af
feat(es/lints): Report an error for reassignment to import binding ( #5033 )
2022-06-28 05:06:57 +00:00
Donny/강동윤
8b042745c6
chore: Publish crates
2022-06-27 21:36:54 +09:00
SWC Bot
7a6e6e175f
chore: Publish crates
2022-06-21 13:25:10 +00:00
Austaras
4a422a09a4
fix(es/lints): Allow duplicate function in non-top level ( #5011 )
2022-06-21 13:22:23 +00:00
LongYinan
db9f7a5ad4
chore(ci): Fix publish build on Windows ( #4970 )
2022-06-14 15:58:10 +00:00
SWC Bot
50a91a288e
chore: Publish crates
2022-06-13 19:27:50 +00:00
Artur
6daeeb0652
feat(es/lints): Add constructor-super
rule ( #4912 )
2022-06-13 19:24:38 +00:00
Donny/강동윤
bfede71e6c
chore: Publish crates
2022-06-11 16:47:29 +09:00
SWC Bot
0f094da77f
chore: Publish crates
2022-06-11 07:45:15 +00:00
SWC Bot
ae3db891ac
chore: Publish crates
2022-06-11 06:25:03 +00:00
Artur
286f265632
refactor(es/lints): Simplify no-empty-pattern
rule ( #4928 )
2022-06-11 06:22:26 +00:00
SWC Bot
565f06f7ef
chore: Publish crates
2022-06-11 05:03:01 +00:00
Artur
b041f2911f
feat(es/lints): Add no-await-in-loop
rule ( #4936 )
2022-06-11 05:00:32 +00:00
SWC Bot
61b345c459
chore: Publish crates
2022-06-10 05:25:43 +00:00
Artur
4fb932dd08
feat(es/lints): Add default-case-last
rule ( #4913 )
2022-06-10 05:23:15 +00:00
Donny/강동윤
eb0acc3859
chore: Publish crates
2022-06-06 04:54:19 +09:00
SWC Bot
424e62e663
chore: Publish crates
2022-05-26 16:01:22 +00:00
SWC Bot
ead25ee153
chore: Publish crates
2022-05-15 05:09:48 +00:00
SWC Bot
3149026d0f
chore: Publish crates
2022-05-14 06:13:18 +00:00
Artur
9b226a7026
feat(es/lints): Implement no-sparse-arrays
rule ( #4652 )
2022-05-14 06:10:49 +00:00
SWC Bot
46c1add60e
chore: Publish crates
2022-05-12 20:21:46 +00:00
Artur
f45dd72033
feat(es/lints): Implement no-compare-neg-zero
rule ( #4643 )
2022-05-12 20:19:18 +00:00
SWC Bot
97808349a2
chore: Publish crates
2022-05-11 16:17:07 +00:00
SWC Bot
90569d4673
chore: Publish crates
2022-05-11 04:38:52 +00:00
Donny/강동윤
6a97c7bef8
fix(es/utils): Fix wrong apis ( #4604 )
...
# API Changes
## `swc_ecma_utils`
### Renames
- `find_ids` => `find_pat_ids`
- `prepend` => `prepend_stmt`
- `as_bool` => `cast_to_bool`
- `as_number` => `as_pure_number`
- `as_string` => `cast_to_string`
- (`as_pure_bool`, `cast_to_number` is not renamed)
- `UsageFinder` => `IdentUsageFinder`.
- `IdentFinder` => `IdentRefFinder`.
## Changes
- Re-export of `HANDLER` from `swc_common::errors` is removed. Use `swc_common::error::HANDLER` instead.
- Re-export of `Id` from `swc_ecma_ast` is removed. Use `swc_ecma_ast::Id` instead.
- `ExprCtx` is used for apis related to `Expr`.
- `preserve_effects` is now a method of `ExprCtx`. It was a top-level function.
- `extract_side_effects_to` is now a method of `ExprCtx`. It was a top-level function.
- `IdentUsageFinder` (previously `UsageFinder`) now takes `Id` instead of `Ident`.
- `IdentRefFinder` (previously `IdentFinder`) now takes `Id` instead of `Ident`.
- `ExprExt::is_ident_ref_to` is removed.
- `Expr::is_global_ref_to` is added.
- `:🆔 :id` is removed. Use `Ident::to_id()` instead.
2022-05-11 04:36:22 +00:00
Donny/강동윤
2c861bd9e5
feat(es/ast): Improve Id
APIs ( #4614 )
...
# API Changes
- `Ident` now has `to_id()`. This method is added to allow removing an import.
2022-05-11 12:02:14 +09:00
SWC Bot
ad9daae200
chore: Publish crates
2022-05-10 10:43:10 +00:00
Artur
e65bf3d025
feat(es/lints): Implement prefer-const
rule without options ( #4584 )
2022-05-10 10:40:46 +00:00
Donny/강동윤
7fc9bbccd9
feat(config): Make all configuration overridable ( #4575 )
2022-05-09 05:38:27 +00:00