Skip to content

Commit

Permalink
feat(core): enable no-empty-static-block and `no-new-native-noncons…
Browse files Browse the repository at this point in the history
…tructor`
  • Loading branch information
ybiquitous committed Dec 1, 2022
1 parent a0f509f commit cafc50c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=5.42.0",
"eslint": ">=8.14.0"
"eslint": ">=8.27.0"
},
"peerDependenciesMeta": {
"@typescript-eslint/eslint-plugin": {
Expand Down
2 changes: 2 additions & 0 deletions rules/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ module.exports = {
"no-duplicate-imports": "error",
"no-else-return": ["error", { allowElseIf: false }],
"no-empty-function": "error",
"no-empty-static-block": "error",
"no-eq-null": "off",
"no-eval": "error",
"no-extend-native": "error",
Expand All @@ -79,6 +80,7 @@ module.exports = {
"no-nested-ternary": "off",
"no-new": "error",
"no-new-func": "error",
"no-new-native-nonconstructor": "error",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-octal-escape": "error",
Expand Down

0 comments on commit cafc50c

Please sign in to comment.