Skip to content

Commit

Permalink
feat(typescript): Add .mjs files to Prettier detection helper func (#618
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rafaelderolez authored Oct 31, 2023
1 parent 623dfbc commit 64b3c17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/astrocommunity/pack/typescript/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ return {
or util.root_has_file ".prettierrc.js"
or util.root_has_file ".prettierrc.cjs"
or util.root_has_file "prettier.config.js"
or util.root_has_file ".prettierrc.mjs"
or util.root_has_file "prettier.config.mjs"
or util.root_has_file "prettier.config.cjs"
or util.root_has_file ".prettierrc.toml"
end
Expand Down

0 comments on commit 64b3c17

Please sign in to comment.