jaredpalmer / tsdx

Zero-config CLI for TypeScript package development
https://tsdx.io
MIT License
11.28k stars 507 forks source link

Update prettier to the latest version πŸš€ #632

Open greenkeeper[bot] opened 4 years ago

greenkeeper[bot] commented 4 years ago

☝️ Important announcement: Greenkeeper will be saying goodbye πŸ‘‹ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


The dependency prettier was updated from 1.19.1 to 2.0.0.

This version is not covered by your current version range.

If you don’t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Publisher: thorn0 License: MIT

Find out more about this release.


FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

Release Notes for 2.0.1

πŸ”— Changelog

agilgur5 commented 4 years ago

Release Notes: https://prettier.io/blog/2020/03/21/2.0.0.html

Yea this is pretty breaking, definitely gonna hold out on this for a bit to go out when things are more stable in TSDX, don't wanna make too many breaking changes back-to-back, particularly when not necessary.

Even the internal lint gets a bunch of errors on this codebase, would make for lots of big diffs in various codebases πŸ˜•

Weird that the lint test only fails on Windows and not on Ubuntu or macOS... wonder if it might have to do with the LF line ending change in the update πŸ€”

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 4 years ago

Update to this version instead πŸš€

kachkaev commented 4 years ago

Upgrading prettier to v2 would be great indeed. Using tsdx in a monorepo and end up with two copies of Prettier because of that. At the time of writing, the latest version of Prettier is v2.1.1

vltansky commented 3 years ago

Getting

error  Parsing error: '=' expected  prettier/prettier

cause of

import type { Configuration, RuleSetLoader, RuleSetUseItem } from 'webpack';

updating prettier fixed it for me.