Skip to content

Commit

Permalink
docs: add typescript-eslint rule source for useArrayLiterals (#4455)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyshew authored Nov 4, 2024
1 parent 5bff4a5 commit 7627ab0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ declare_lint_rule! {
version: "1.7.2",
name: "useArrayLiterals",
language: "js",
sources: &[RuleSource::Eslint("no-array-constructor")],
sources: &[RuleSource::Eslint("no-array-constructor"), RuleSource::EslintTypeScript("no-array-constructor")],
recommended: false,
fix_kind: FixKind::Unsafe,
}
Expand Down

0 comments on commit 7627ab0

Please sign in to comment.