Skip to content
This repository has been archived by the owner on Jan 28, 2024. It is now read-only.

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 17, 2023
1 parent 1783e44 commit cb27f36
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: {
es2022: true,
es2023: true,
node: true,
},
extends: [
Expand Down Expand Up @@ -35,7 +35,7 @@ module.exports = {
},
],
parserOptions: {
ecmaVersion: 2022,
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
Expand Up @@ -3,11 +3,11 @@
// Uncomment as and when needed
// "checkJs": true,
// "strict": true,
"lib": ["ES2022"],
"lib": ["ES2023"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"target": "ES2022"
"target": "ES2023"
},
"exclude": ["dist", "node_modules"]
}

0 comments on commit cb27f36

Please sign in to comment.