-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Set meta.type
to "layout"
#283
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Per https://eslint.org/docs/user-guide/command-line-interface#fix-type , one can set `meta` to "problem" or "suggestion" for code-related changes or "layout" for formatting ones. Setting this value allows `eslint --fix-type` to take into account the type of fix desired. (And I'm making an eslint badge formatter for which it is more convenient to have this meta info so any rule violations can be grouped by type.)
MichaelDeBoey
approved these changes
Apr 12, 2020
BPScott
approved these changes
Apr 13, 2020
Thanks! Published in v3.1.3 |
brettz9
added a commit
to brettz9/eslint-plugin-prettier
that referenced
this pull request
Apr 13, 2020
Per https://eslint.org/docs/user-guide/command-line-interface#fix-type , one can set `meta` to "problem" or "suggestion" for code-related changes or "layout" for formatting ones. Setting this value allows `eslint --fix-type` to take into account the type of fix desired. (And I'm making an eslint badge formatter for which it is more convenient to have this meta info so any rule violations can be grouped by type.)
Thank you! |
bors bot
added a commit
to mythmon/corsica-tree-status
that referenced
this pull request
Apr 13, 2020
159: Update dependency eslint-plugin-prettier to v3.1.3 r=renovate[bot] a=renovate[bot] This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-prettier](https://togithub.com/prettier/eslint-plugin-prettier) | dependencies | patch | [`3.1.2` -> `3.1.3`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/3.1.2/3.1.3) | --- ### Release Notes <details> <summary>prettier/eslint-plugin-prettier</summary> ### [`v3.1.3`](https://togithub.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md#v313-2020-04-13) [Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v3.1.2...9e3fde0847da262e0ff2574a4741c339a50c4462) - Fix: Set `meta.type` to "layout" ([#​283]([email protected]:prettier/eslint-plugin-prettier/issues/283)) ([97152e2]([email protected]:prettier/eslint-plugin-prettier/commit/97152e2787bf9bb27f053d6a91ccf826dc96a505)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106]([email protected]:prettier/eslint-plugin-prettier/commit/185b1064d3dd674538456fb2fad97fbfcde49e0d)) - build(deps): [security] bump acorn from 6.1.0 to 6.4.1 ([bba5881]([email protected]:prettier/eslint-plugin-prettier/commit/bba588151e860b1a644096441b31a0f3144db611)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f]([email protected]:prettier/eslint-plugin-prettier/commit/9a47a6feab691cf228d184c103d4cab99b464d0b)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d]([email protected]:prettier/eslint-plugin-prettier/commit/aad671d5123a2fd20e4396d591e25335d7219950)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2]([email protected]:prettier/eslint-plugin-prettier/commit/e2458c2d41825f94441dc7d552da37aede95ffe7)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f]([email protected]:prettier/eslint-plugin-prettier/commit/05ef06ffdda2bb485a2175243e6a8a167a01466c)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c]([email protected]:prettier/eslint-plugin-prettier/commit/ab80b3c5d30ea605aa363f13078aef9e0b697b6e)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30]([email protected]:prettier/eslint-plugin-prettier/commit/dea1b30361921d7160aaf44d5302c5cc6490f87a)) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Enabled. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#mythmon/corsica-tree-status). Co-authored-by: Renovate Bot <[email protected]>
gcf-merge-on-green bot
pushed a commit
to GoogleCloudPlatform/cloud-code-samples
that referenced
this pull request
Jun 11, 2020
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-prettier](https://togithub.com/prettier/eslint-plugin-prettier) | devDependencies | patch | [`3.1.2` -> `3.1.3`](https://renovatebot.com/diffs/npm/eslint-plugin-prettier/3.1.2/3.1.3) | --- ### Release Notes <details> <summary>prettier/eslint-plugin-prettier</summary> ### [`v3.1.3`](https://togithub.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md#v313-2020-04-13) [Compare Source](https://togithub.com/prettier/eslint-plugin-prettier/compare/v3.1.2...v3.1.3) - Fix: Set `meta.type` to "layout" ([#​283]([email protected]:prettier/eslint-plugin-prettier/issues/283)) ([97152e2]([email protected]:prettier/eslint-plugin-prettier/commit/97152e2787bf9bb27f053d6a91ccf826dc96a505)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106]([email protected]:prettier/eslint-plugin-prettier/commit/185b1064d3dd674538456fb2fad97fbfcde49e0d)) - build(deps): [security] bump acorn from 6.1.0 to 6.4.1 ([bba5881]([email protected]:prettier/eslint-plugin-prettier/commit/bba588151e860b1a644096441b31a0f3144db611)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f]([email protected]:prettier/eslint-plugin-prettier/commit/9a47a6feab691cf228d184c103d4cab99b464d0b)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d]([email protected]:prettier/eslint-plugin-prettier/commit/aad671d5123a2fd20e4396d591e25335d7219950)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2]([email protected]:prettier/eslint-plugin-prettier/commit/e2458c2d41825f94441dc7d552da37aede95ffe7)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f]([email protected]:prettier/eslint-plugin-prettier/commit/05ef06ffdda2bb485a2175243e6a8a167a01466c)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c]([email protected]:prettier/eslint-plugin-prettier/commit/ab80b3c5d30ea605aa363f13078aef9e0b697b6e)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30]([email protected]:prettier/eslint-plugin-prettier/commit/dea1b30361921d7160aaf44d5302c5cc6490f87a)) </details> --- ### Renovate configuration :date: **Schedule**: At any time (no schedule defined). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :no_bell: **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/cloud-code-samples).
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Per https://eslint.org/docs/user-guide/command-line-interface#fix-type , one can set
meta
to "problem" or "suggestion" for code-related changes or "layout" for formatting ones. Setting this value allowseslint --fix-type
to take into account the type of fix desired. (And I'm making an eslint badge formatter for which it is more convenient to have this meta info so any rule violations can be grouped by type.)