Skip to content

Commit

Permalink
Add eslint as a dependency. Upgrade supported ECMA from ES5 to ES2020.
Browse files Browse the repository at this point in the history
  • Loading branch information
dudleycarr committed Oct 30, 2023
1 parent 5cef35c commit ee3bbc8
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 ee3bbc8

Please sign in to comment.