Fix lint error

This commit is contained in:
Jerome Wu 2022-09-30 17:27:59 +08:00
parent c278b8dfe9
commit 15c5019159
4 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: {
tsconfigRootDir: __dirname,
project: ["../../tsconfig.json"],
project: ["./tsconfig.json"],
},
plugins: ["@typescript-eslint"],
};

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "dist/cjs",

View File

@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "esnext",
"outDir": "dist/esm",

View File

@ -0,0 +1,3 @@
{
"extends": "../../tsconfig.json"
}