update eslint and ts configs to handle esm
Signed-off-by: Meredith Lancaster <[email protected]>
This commit is contained in:
@@ -89,6 +89,13 @@ export default tseslint.config(
|
|||||||
allowObject: true
|
allowObject: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
settings: {
|
||||||
|
'import/resolver': {
|
||||||
|
typescript: {
|
||||||
|
project: './tsconfig.lint.json'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -16,5 +16,5 @@
|
|||||||
"skipLibCheck": true,
|
"skipLibCheck": true,
|
||||||
"newLine": "lf"
|
"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",
|
"$schema": "https://json.schemastore.org/tsconfig",
|
||||||
"extends": "./tsconfig.json",
|
"extends": "./tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"noEmit": true
|
"noEmit": true,
|
||||||
|
"rootDir": "."
|
||||||
},
|
},
|
||||||
"include": ["./__tests__/**/*", "./src/**/*"],
|
"include": ["./__tests__/**/*", "./src/**/*", "./jest.config.ts"],
|
||||||
"exclude": ["./dist", "./node_modules", "./coverage", "*.json"]
|
"exclude": ["./dist", "./node_modules", "./coverage", "*.json"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user