Skip to content

Commit

Permalink
Update eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Nov 9, 2023
1 parent 8f611de commit c64c8d1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2020
"ecmaVersion": "latest"
},
"globals": {
"BigInt": true
Expand Down Expand Up @@ -154,6 +154,7 @@
"prefer-rest-params": ["error"],
"prefer-spread": ["error"],
"rest-spread-spacing": ["error", "never"],
"template-curly-spacing": ["error", "never"]
"template-curly-spacing": ["error", "never"],
"consistent-return": ["error", { "treatUndefinedAsUnspecified": true }]
}
}

0 comments on commit c64c8d1

Please sign in to comment.