diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2024-12-17 20:58:08 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2024-12-17 20:58:08 +0100 |
| commit | 3b198d300fd634326dcab2557c8afb18adeba144 (patch) | |
| tree | 935fee1ef13e5698853acd559cd7ba8153c3c804 /eslint.config.mjs | |
| parent | 29cd5193ea84df492df0b04f665c77183c911e2b (diff) | |
Add lint
Diffstat (limited to 'eslint.config.mjs')
| -rw-r--r-- | eslint.config.mjs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 0000000..a5a02e8 --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,14 @@ +import eslint from '@eslint/js'; +import tseslint from 'typescript-eslint'; + +export default tseslint.config( + eslint.configs.recommended, + tseslint.configs.recommendedTypeChecked, + { + languageOptions: { + parserOptions: { + projectService: true, + tsconfigRootDir: import.meta.dirname, + }, + }, +});
\ No newline at end of file |
