Skip to content

Commit

Permalink
feat(astro): silence triple slash reference
Browse files Browse the repository at this point in the history
  • Loading branch information
theurgi committed Apr 16, 2023
1 parent f9e203a commit ca66108
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rules/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export = defineConfig(
},
},
{
// enable ts for client-side script tags
files: ['**/*.astro/*.js', '*.astro/*.js'],
parser: '@typescript-eslint/parser',
},
Expand All @@ -36,6 +37,12 @@ export = defineConfig(
],
},
},
{
files: ['env.d.ts'],
rules: {
'@typescript-eslint/triple-slash-reference': 'off',
},
},
],
}
: {}
Expand Down

0 comments on commit ca66108

Please sign in to comment.