那里好脏不可以
37a8c90750
chore(*): Typo + fomatting ( #4304 )
2022-04-11 18:45:58 +00:00
Austaras
e4a565c2d4
fix(es/lints): Check parameters in the duplicate binding rule ( #4288 )
2022-04-09 08:14:01 +00:00
Artur
a88d56ee08
feat(es/lints): Implement no-obj-calls
rule ( #4168 )
2022-03-28 08:50:32 +00:00
Artur
2a9cb2d12a
refactor(es/lints): Use util for parens ( #4167 )
2022-03-28 08:20:46 +00:00
Artur
10851ece98
feat(es/lints): Implement symbol-description
rule ( #4161 )
2022-03-26 06:49:57 +00:00
magic-akari
fce554cfb0
fix(es/lints): Ignore type-only imports while checking duplicates ( #4163 )
2022-03-26 15:25:17 +09:00
Artur
7a06c5b3d8
feat(es/lints): Remove source map accesses ( #4147 )
2022-03-24 17:07:18 +00:00
Artur
47712de0da
feat(es/lints): Implement no-param-reassign
rule ( #4134 )
2022-03-24 10:27:26 +00:00
Donny/강동윤
0f92eda0c7
feat(es/lints): Improve error messages ( #4142 )
2022-03-24 02:15:03 +00:00
Artur
d8a988ef3d
feat(es/lints): Use Str.raw
instead of source map ( #4139 )
2022-03-23 22:07:16 +00:00
Artur
dd862ba9f8
feat(es/lints): Implement use-isnan
rule ( #4080 )
2022-03-21 11:35:10 +00:00
Artur
9ceefa734f
feat(es/lints): Implement valid-typeof
rule ( #4095 )
2022-03-20 06:46:41 +00:00
Artur
b39e345d8e
feat(es/lints): Implement no-new-symbol
rule ( #4076 )
2022-03-18 23:19:02 +09:00
Artur
833958bd74
feat(es/lints): Implement yoda
rule ( #3886 )
2022-03-17 06:05:39 +00:00
Donny/강동윤
ba1c854fb1
fix(es/lints): Fix false-positive of duplicate-exports
( #4041 )
2022-03-16 04:20:45 +00:00
Donny/강동윤
f28134fe77
feat(es/lints): Mark catch params as binding patterns while checking duplicates ( #3981 )
2022-03-12 03:02:22 +00:00
Donny/강동윤
c6b5371c51
fix(es/lints): Don't visit types while collecting const
( #3967 )
2022-03-11 17:41:28 +09:00
magic-akari
579aeb7cfa
feat(es/lints): Refine error message ( #3952 )
2022-03-11 04:55:37 +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
Artur
3e8efacf3a
perf(es/lints): Extract top level bindings only if the rule is enabled ( #3889 )
2022-03-07 04:18:37 +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
Artur
f6b4bbe47b
feat(es/lints): Implement radix
rule ( #3651 )
2022-03-03 14:03:13 +09:00
Pig Fang
e252265a3f
feat(es/lints): Implement default-param-last
rule ( #3681 )
2022-02-23 06:35:04 +00:00
Artur
319d501f17
feat(es/lints): Implement no-empty-function
rule ( #3565 )
2022-02-22 12:13:13 +00:00
Artur
f4af3634de
feat(es/lints): Add no-loop-func
rule ( #3630 )
2022-02-22 06:14:10 +00:00
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
Artur
7ff4cbcbe1
feat(es/lints): Implement no-new
rule ( #3634 )
2022-02-20 08:39:55 +00:00
Artur
72343baf5b
feat(es/lints): Implement no-restricted-syntax
rule ( #3607 )
2022-02-19 09:06:10 +00:00
magic-akari
08c343b186
feat(es/lints): Allow using number as an error level ( #3593 )
2022-02-17 12:48:54 +00:00
magic-akari
71a94b143e
fix(es/lints): Use kebab-case
for configuration ( #3590 )
2022-02-17 06:11:43 +00:00
magic-akari
3e29b73a2a
feat(es/lints): Implement no-dupe-args
rule ( #3574 )
2022-02-16 11:07:42 +00:00
Donny/강동윤
786d016174
fix(es/lints): Fix duplicate-bindings
for typescript ( #3583 )
2022-02-16 05:00:55 +00:00
Artur
f9fda2743c
feat(es/lints): Implement no-empty-pattern
rule ( #3550 )
2022-02-14 17:55:52 +00:00
Artur
8d92050f55
feat(es/lints): Implement eqeqeq
rule ( #3513 )
2022-02-13 16:31:48 +00:00
Artur
286b6c804f
feat(es/lints): Add allow
config for no-console
rule ( #3517 )
2022-02-13 13:57:39 +09:00
Artur
af8200647b
feat(es/lints): Add this handling support to no-alert
rule ( #3515 )
2022-02-12 21:45:56 +09:00
Artur
205b76e78d
feat(es/lints): Implement no-use-before-define
rule ( #3456 )
2022-02-10 04:52:11 +00: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
Artur
5d6143a53c
feat(es/lints): Implement linter for quotes of string literals ( #3443 )
2022-02-07 08:12:14 +00:00
Artur
8166275166
feat(es/lints): Implement prefer-regex-literals
( #3399 )
2022-02-04 16:46:34 +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
Artur
9dec9236f7
feat(es/lints): Implement no-debugger
rule ( #3398 )
2022-01-30 03:33:46 +00: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/강동윤
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
Sosuke Suzuki
432f877790
feat(es/ast): Use ModuleExportName
for ExportNamespaceSpecifier
( #3195 )
2022-01-06 20:19:11 +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
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