Skip to content

Commit

Permalink
fix: typescript-eslint - env: { node: true }
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyreilly committed Sep 5, 2024
1 parent d9cc077 commit ba234dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ export default [
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked, // yes we are using type checked
{
env: { node: true }, // this is useful if your codebase includes require statements etc
languageOptions: {
parserOptions: {
project: true,
projectService: true,
// @ts-expect-error dirname not defined in import meta
tsconfigRootDir: import.meta.dirname,
},
},
Expand Down

0 comments on commit ba234dd

Please sign in to comment.