Skip to content

Commit

Permalink
Merge pull request mozilla#17658 from Snuffleupagus/ESLint-more-rules
Browse files Browse the repository at this point in the history
Enable the `no-new-symbol` and `require-yield` ESLint rules
  • Loading branch information
timvandermeij authored Feb 11, 2024
2 parents 4b7382e + 8f67ea6 commit 440208d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@
"no-lone-blocks": "error",
"no-lonely-if": "error",
"no-multi-str": "error",
"no-new": "error",
"no-new-func": "error",
"no-new-symbol": "error",
"no-new-wrappers": "error",
"no-new": "error",
"no-octal-escape": "error",
"no-octal": "error",
"no-redeclare": "error",
Expand Down Expand Up @@ -257,6 +258,7 @@
"avoidQuotes": true,
}],
"prefer-const": "error",
"require-yield": "error",
"sort-imports": ["error", {
"ignoreCase": true,
}],
Expand Down

0 comments on commit 440208d

Please sign in to comment.