Skip to content

Commit 373ae1f

Browse files
committed
Updated to ES2021
1 parent 9c884ea commit 373ae1f

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
],
1515
"parser": "@typescript-eslint/parser",
1616
"parserOptions": {
17-
"ecmaVersion": 2019,
17+
"ecmaVersion": 2021,
1818
"sourceType": "module",
1919
"ecmaFeatures": {
2020
"impliedStrict": true

tsconfig.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
23
"compilerOptions": {
34
"esModuleInterop": true,
45
"forceConsistentCasingInFileNames": true,
56
"incremental": true,
67
"isolatedModules": true,
78
"lib": [
8-
"es2020"
9+
"ES2021"
910
],
10-
"module": "esnext",
11+
"module": "CommonJS",
1112
"moduleResolution": "node",
1213
"noFallthroughCasesInSwitch": true,
1314
"noImplicitReturns": true,
@@ -19,7 +20,7 @@
1920
"skipLibCheck": true,
2021
"sourceMap": true,
2122
"strict": true,
22-
"target": "es2019",
23+
"target": "ES2021",
2324
"useDefineForClassFields": true
2425
},
2526
"include": [
@@ -28,6 +29,6 @@
2829
],
2930
"exclude": [
3031
"node_modules",
31-
"samplenc",
32+
"samplenc"
3233
]
3334
}

tsconfig.tests.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"lib": [
5-
"es2020"
5+
"ES2021"
66
],
7-
"module": "commonjs",
7+
"module": "CommonJS",
88
"outDir": "out",
99
"tsBuildInfoFile": "tsconfig.tests.tsbuildinfo"
1010
}

0 commit comments

Comments
 (0)