Skip to content

Commit

Permalink
feat(astro): enable ts for client-side script tags
Browse files Browse the repository at this point in the history
  • Loading branch information
theurgi committed Apr 15, 2023
1 parent ab62e7b commit 9d1aa5f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rules/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ export = defineConfig(
extraFileExtensions: ['.astro'],
},
},
{
files: ['**/*.astro/*.js', '*.astro/*.js'],
parser: '@typescript-eslint/parser',
},
],
}
: {}
Expand Down

0 comments on commit 9d1aa5f

Please sign in to comment.