Cargo Features
swc_ecma_lints has no features set by default.
[dependencies]
swc_ecma_lints = { version = "6.0.0", features = ["non_critical_lints"] }
- non_critical_lints
-
Affects
config::LintConfig.no_console
,config::LintConfig.prefer_regex_literals
,config::LintConfig.no_alert
,config::LintConfig.no_debugger
,config::LintConfig.no_use_before_define
,config::LintConfig.dot_notation
,config::LintConfig.quotes
,config::LintConfig.no_empty_function
,config::LintConfig.no_empty_pattern
,config::LintConfig.eqeqeq
,config::LintConfig.no_loop_func
,config::LintConfig.no_new
,config::LintConfig.no_restricted_syntax
,config::LintConfig.radix
,config::LintConfig.no_bitwise
,config::LintConfig.default_param_last
…