Skip to content

Commit

Permalink
chore(eslintrc): bump ecma version to 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Sep 19, 2023
1 parent 7f062d5 commit 8c9e76d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = {
env: {
es2019: true,
es2023: true,
node: true,
},
extends: [
Expand Down Expand Up @@ -35,7 +35,7 @@ module.exports = {
},
],
parserOptions: {
ecmaVersion: 2019,
ecmaVersion: 2023,
// Explicitly tell ESLint to parse JavaScript as CommonJS, as airbnb-base sets this to "modules" for ECMAScript
sourceType: "script",
},
Expand Down
4 changes: 2 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"compilerOptions": {
"checkJs": true,
"lib": ["ES2019"],
"lib": ["ES2023"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"target": "ES2019"
"target": "ES2023"
},
"exclude": ["dist", "node_modules"]
}

0 comments on commit 8c9e76d

Please sign in to comment.