Skip to content

Commit

Permalink
Merge pull request #1470 from dudleycarr/chore-eslint-es2020
Browse files Browse the repository at this point in the history
nsqadmin: upgrade supported ECMAScript from ES5 to ES2020 in ESLint.
  • Loading branch information
mreiferson authored Oct 30, 2023
2 parents e6e3f7c + ee3bbc8 commit 1d183d9
Show file tree
Hide file tree
Showing 3 changed files with 1,762 additions and 14 deletions.
5 changes: 3 additions & 2 deletions nsqadmin/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"env": {
"browser": true
"browser": true,
"es2020": true
},
// Rule docs: http://eslint.org/docs/rules/
"rules": {
Expand Down Expand Up @@ -56,7 +57,7 @@
"semi-spacing": [1],
"keyword-spacing": [1, {"before": true, "after": true}],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-before-function-paren": [1, {"anonymous": "never", "named": "never", "asyncArrow": "always"}],
"space-in-parens": [1, "never"],
"space-infix-ops": [1],
"space-unary-ops": [1],
Expand Down
Loading

0 comments on commit 1d183d9

Please sign in to comment.