update eslint and ts configs to handle esm

Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
Meredith Lancaster
2026-02-05 13:09:08 -08:00
parent 4eb88dc0f0
commit c44ed442f4
3 changed files with 11 additions and 3 deletions
+7
View File
@@ -89,6 +89,13 @@ export default tseslint.config(
allowObject: true
}
]
},
settings: {
'import/resolver': {
typescript: {
project: './tsconfig.lint.json'
}
}
}
}
)
+1 -1
View File
@@ -16,5 +16,5 @@
"skipLibCheck": true,
"newLine": "lf"
},
"exclude": ["./dist", "./node_modules", "./__tests__", "./coverage"]
"exclude": ["./dist", "./node_modules", "./__tests__", "./coverage", "./jest.config.ts"]
}
+3 -2
View File
@@ -2,8 +2,9 @@
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": true
"noEmit": true,
"rootDir": "."
},
"include": ["./__tests__/**/*", "./src/**/*"],
"include": ["./__tests__/**/*", "./src/**/*", "./jest.config.ts"],
"exclude": ["./dist", "./node_modules", "./coverage", "*.json"]
}