Skip to content

Commit

Permalink
update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Nov 6, 2022
1 parent c46cd83 commit 25b14cd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions tests/eslint/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ const base = {
'no-func-assign': ERROR,
// disallow irregular whitespace outside of strings and comments
'no-irregular-whitespace': ERROR,
// disallow `new` operators with global non-constructor functions
'no-new-native-nonconstructor': ERROR,
// disallow the use of object properties of the global object (Math and JSON) as functions
'no-obj-calls': ERROR,
// disallow use of Object.prototypes builtins directly
Expand Down Expand Up @@ -111,6 +113,8 @@ const base = {
'no-empty-function': ERROR,
// disallow empty destructuring patterns
'no-empty-pattern': ERROR,
// disallow empty static blocks
'no-empty-static-block': ERROR,
// disallow use of eval()
'no-eval': ERROR,
// disallow adding to native types
Expand Down
2 changes: 1 addition & 1 deletion tests/eslint/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 tests/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "tests/eslint",
"devDependencies": {
"confusing-browser-globals": "^1.0.11",
"eslint": "^8.26.0",
"eslint": "^8.27.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-es-x": "^5.3.1",
"eslint-plugin-eslint-comments": "^3.2.0",
Expand Down

0 comments on commit 25b14cd

Please sign in to comment.