Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1daf7cf

Browse files
committedJun 8, 2023
build: update config files
1 parent b576475 commit 1daf7cf

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed
 

‎.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,12 @@ module.exports = {
6161
'unicorn/prefer-top-level-await': 'off',
6262
},
6363
},
64+
{
65+
files: ['packages/docs/**'],
66+
rules: {
67+
'@typescript-eslint/no-var-requires': 'off',
68+
'unicorn/prefer-module': 'off',
69+
},
70+
},
6471
],
6572
}

‎tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"outDir": "dist",
55
"module": "esnext",
66
"target": "es5",
7-
"lib": ["es6", "dom", "es2016", "es2017"],
7+
"lib": ["dom", "es2015", "es2016", "es2017", "es2018", "es2019", "es2020", "es2021"],
88
"sourceMap": true,
99
"allowJs": false,
1010
"declaration": true,
@@ -28,4 +28,4 @@
2828
}
2929
},
3030
"exclude": ["**/node_modules", "**/dist"]
31-
}
31+
}

0 commit comments

Comments
 (0)
Please sign in to comment.