Commit Graph

11 Commits

Author SHA1 Message Date
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
Austaras
4a422a09a4
fix(es/lints): Allow duplicate function in non-top level (#5011) 2022-06-21 13:22:23 +00:00
magic-akari
fce554cfb0
fix(es/lints): Ignore type-only imports while checking duplicates (#4163) 2022-03-26 15:25:17 +09:00
Donny/강동윤
c6b5371c51
fix(es/lints): Don't visit types while collecting const (#3967) 2022-03-11 17:41:28 +09:00
Donny/강동윤
45a4374ee1
fix(wasm): Fix handling of swc_common::GLOBALS (#3936) 2022-03-10 03:59:46 +00:00
magic-akari
0181fbe63b
feat(es/lints): Support module/script mode in duplicate_bindings (#3880)
Co-authored-by: Donny/강동윤 <kdy1997.dev@gmail.com>
2022-03-07 05:49:39 +00:00
magic-akari
d10e66285b
fix(es/lints): Ignore identifiers used as types while checking for duplicate bindings (#3869) 2022-03-06 02:29:21 +09:00
magic-akari
3e29b73a2a
feat(es/lints): Implement no-dupe-args rule (#3574) 2022-02-16 11:07:42 +00: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/강동윤
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