Commit Graph

7 Commits

Author SHA1 Message Date
magic-akari
3e29b73a2a
feat(es/lints): Implement no-dupe-args rule () 2022-02-16 11:07:42 +00:00
Artur
5d6143a53c
feat(es/lints): Implement linter for quotes of string literals () 2022-02-07 08:12:14 +00:00
Artur
5cbe4fe512
feat(es/lints): Add no-alert and a feature gate ()
swc_ecma_lints:
 - Implement `no-alert`
 - Add a feature gate for non-critical rules.
2022-02-02 14:43:46 +00:00
Artur
987213797f
feat(es/lints): Implement "no-console" rule ()
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
magic-akari
f4b3cb714a
fix(es/resolver): Treat a switch statement as a block scope () 2022-01-15 17:20:17 +09:00
Donny/강동윤
978de5943e
chore(ci): Configure clippy () 2022-01-13 23:06:11 +09:00
Donny/강동윤
913c82a2ab
fix(es/lints): Fix incorrect duplicate binding error ()
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 )
2022-01-05 11:59:10 +09:00