Skip to content

Commit

Permalink
fix: file pattern for htm files (#447)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernankez committed Apr 12, 2024
1 parent d7a157a commit b6e9a58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/configs/formatters.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isPackageExists } from 'local-pkg'
import { GLOB_ASTRO, GLOB_CSS, GLOB_GRAPHQL, GLOB_LESS, GLOB_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS } from '../globs'
import { GLOB_ASTRO, GLOB_CSS, GLOB_GRAPHQL, GLOB_HTML, GLOB_LESS, GLOB_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS } from '../globs'
import type { VendoredPrettierOptions } from '../vender/prettier-types'
import { ensurePackages, interopDefault, parserPlain } from '../utils'
import type { OptionsFormatters, StylisticConfig, TypedFlatConfigItem } from '../types'
Expand Down Expand Up @@ -125,7 +125,7 @@ export async function formatters(

if (options.html) {
configs.push({
files: ['**/*.html'],
files: [GLOB_HTML],
languageOptions: {
parser: parserPlain,
},
Expand Down

0 comments on commit b6e9a58

Please sign in to comment.