diff --git a/.eslintrc.js b/.eslintrc.js index a618a1d..4946416 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -2,7 +2,7 @@ module.exports = { env: { - es2019: true, + es2023: true, node: true, }, extends: [ @@ -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", }, diff --git a/jsconfig.json b/jsconfig.json index 766b918..848d574 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -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"] }