update eslint and ts configs to handle esm
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
@@ -89,6 +89,13 @@ export default tseslint.config(
|
||||
allowObject: true
|
||||
}
|
||||
]
|
||||
},
|
||||
settings: {
|
||||
'import/resolver': {
|
||||
typescript: {
|
||||
project: './tsconfig.lint.json'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
+1
-1
@@ -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
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user