Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: upgrade prettier to v2 #21

Merged
merged 3 commits into from
Oct 17, 2022
Merged

feat: upgrade prettier to v2 #21

merged 3 commits into from
Oct 17, 2022

Conversation

MichaelDeBoey
Copy link
Member

@MichaelDeBoey MichaelDeBoey commented Oct 16, 2022

Re-submission of mysticatea#39

This impacts the @mysticatea/prettier rule

I've also fixed all ESLint errors this caused & ran Prettier on the full codebase


BREAKING CHANGE: es5, es2015, es2016, es2017, es2018, es2019, es2020, es2021 & es2022 configs will now report for their changed default values. For more info check their release notes

@MichaelDeBoey MichaelDeBoey requested a review from a team October 16, 2022 18:00
@MichaelDeBoey MichaelDeBoey self-assigned this Oct 16, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2022

Codecov Report

Base: 97.17% // Head: 97.17% // No change to project coverage 👍

Coverage data is based on head (343d9a4) compared to base (0f90860).
Patch coverage: 87.50% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha      #21   +/-   ##
=======================================
  Coverage   97.17%   97.17%           
=======================================
  Files          39       39           
  Lines         390      390           
=======================================
  Hits          379      379           
  Misses         11       11           
Impacted Files Coverage Δ
lib/configs/+eslint-plugin.js 100.00% <ø> (ø)
lib/configs/_base.js 100.00% <ø> (ø)
lib/configs/_override-ts.js 100.00% <ø> (ø)
lib/configs/_override-vue.js 100.00% <ø> (ø)
lib/rules/arrow-parens.js 100.00% <ø> (ø)
lib/rules/no-instanceof-array.js 93.33% <ø> (ø)
lib/rules/no-instanceof-wrapper.js 100.00% <ø> (ø)
lib/rules/no-this-in-static.js 100.00% <ø> (ø)
lib/rules/no-use-ignored-vars.js 100.00% <ø> (ø)
lib/rules/no-useless-rest-spread.js 94.87% <66.66%> (ø)
... and 3 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@MichaelDeBoey
Copy link
Member Author

@eslint-community/eslint-tsc @eslint-community/core-team @eslint-community/mysticatea-eslint-plugin Since this plugin is adhering the same semantic versioning policy as ESLint, this PR would need to be released in a major release I guess?

@MichaelDeBoey MichaelDeBoey requested review from a team October 16, 2022 18:54
@MichaelDeBoey MichaelDeBoey marked this pull request as draft October 16, 2022 18:54
docs/rules/arrow-parens.md Outdated Show resolved Hide resolved
@MichaelDeBoey MichaelDeBoey changed the base branch from main to alpha October 16, 2022 23:14
@MichaelDeBoey MichaelDeBoey marked this pull request as ready for review October 17, 2022 00:25
@MichaelDeBoey MichaelDeBoey changed the title feat: update prettier feat: upgrade prettier to v2 Oct 17, 2022
docs/rules/arrow-parens.md Outdated Show resolved Hide resolved
docs/rules/arrow-parens.md Outdated Show resolved Hide resolved
docs/rules/arrow-parens.md Outdated Show resolved Hide resolved
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

BREAKING CHANGE: `es5`, `es2015`, `es2016`, `es2017`, `es2018`, `es2019`, `es2020`, `es2021` & `es2022` configs will now report for their changed default values. For more info check their [release notes](https://prettier.io/blog/2020/03/21/2.0.0.html#breaking-changes)
@github-actions
Copy link

🎉 This PR is included in version 15.0.0-alpha.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 15.0.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 15.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants