Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow
.js.flow
extension (#103)
* Fix `.js.flow` bug Extensions can contain '.js.flow' but `extname` only returns the last one, so it never matches. https://github.com/prettier/prettier/blob/ef880ec4b93230ac1c45be830ff060e78e0740d8/src/language-js/index.js#L22 https://nodejs.org/api/path.html#path_path_extname_path * Fix lint Co-authored-by: Lucas Azzola <[email protected]>
- Loading branch information