Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prettier/eslint-plugin-prettier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.2
Choose a base ref
...
head repository: prettier/eslint-plugin-prettier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e3fde0847da262e0ff2574a4741c339a50c4462
Choose a head ref
  • 10 commits
  • 4 files changed
  • 3 contributors

Commits on Dec 23, 2019

  1. build(deps-dev): bump eslint from 6.7.2 to 6.8.0

    Bumps [eslint](https://github.com/eslint/eslint) from 6.7.2 to 6.8.0.
    - [Release notes](https://github.com/eslint/eslint/releases)
    - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
    - [Commits](eslint/eslint@v6.7.2...v6.8.0)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] committed Dec 23, 2019

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    dea1b30 View commit details

Commits on Dec 26, 2019

  1. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    ab80b3c View commit details

Commits on Dec 30, 2019

  1. Copy the full SHA
    05ef06f View commit details

Commits on Jan 8, 2020

  1. Copy the full SHA
    e2458c2 View commit details

Commits on Jan 17, 2020

  1. Copy the full SHA
    aad671d View commit details

Commits on Jan 29, 2020

  1. Copy the full SHA
    9a47a6f View commit details

Commits on Mar 13, 2020

  1. build(deps): [security] bump acorn from 6.1.0 to 6.4.1

    Bumps [acorn](https://github.com/acornjs/acorn) from 6.1.0 to 6.4.1. **This update includes a security fix.**
    - [Release notes](https://github.com/acornjs/acorn/releases)
    - [Commits](acornjs/acorn@6.1.0...6.4.1)
    
    Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
    dependabot-preview[bot] committed Mar 13, 2020
    Copy the full SHA
    bba5881 View commit details

Commits on Mar 23, 2020

  1. Copy the full SHA
    185b106 View commit details

Commits on Apr 13, 2020

  1. Fix: Set meta.type to "layout" (#283)

    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.)
    brettz9 authored Apr 13, 2020
    Copy the full SHA
    97152e2 View commit details
  2. Copy the full SHA
    9e3fde0 View commit details
Showing with 22 additions and 9 deletions.
  1. +12 −0 CHANGELOG.md
  2. +1 −0 eslint-plugin-prettier.js
  3. +1 −1 package.json
  4. +8 −8 yarn.lock
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## v3.1.3 (2020-04-13)

* Fix: Set `meta.type` to "layout" ([#283](git@github.com:prettier/eslint-plugin-prettier/issues/283)) ([97152e2](git@github.com:prettier/eslint-plugin-prettier/commit/97152e2787bf9bb27f053d6a91ccf826dc96a505))
* build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](git@github.com:prettier/eslint-plugin-prettier/commit/185b1064d3dd674538456fb2fad97fbfcde49e0d))
* build(deps): [security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](git@github.com:prettier/eslint-plugin-prettier/commit/bba588151e860b1a644096441b31a0f3144db611))
* build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](git@github.com:prettier/eslint-plugin-prettier/commit/9a47a6feab691cf228d184c103d4cab99b464d0b))
* build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](git@github.com:prettier/eslint-plugin-prettier/commit/aad671d5123a2fd20e4396d591e25335d7219950))
* build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](git@github.com:prettier/eslint-plugin-prettier/commit/e2458c2d41825f94441dc7d552da37aede95ffe7))
* build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](git@github.com:prettier/eslint-plugin-prettier/commit/05ef06ffdda2bb485a2175243e6a8a167a01466c))
* build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](git@github.com:prettier/eslint-plugin-prettier/commit/ab80b3c5d30ea605aa363f13078aef9e0b697b6e))
* build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](git@github.com:prettier/eslint-plugin-prettier/commit/dea1b30361921d7160aaf44d5302c5cc6490f87a))

## v3.1.2 (2019-12-15)

* Resolve config when getting list of inferred parsers ([1ad45be](git@github.com:prettier/eslint-plugin-prettier/commit/1ad45be48ea1ed16e0eb3ba6247163724b956516))
1 change: 1 addition & 0 deletions eslint-plugin-prettier.js
Original file line number Diff line number Diff line change
@@ -120,6 +120,7 @@ module.exports = {
docs: {
url: 'https://github.com/prettier/eslint-plugin-prettier#options'
},
type: 'layout',
fixable: 'code',
schema: [
// Prettier options:
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-prettier",
"version": "3.1.2",
"version": "3.1.3",
"description": "Runs prettier as an eslint rule",
"keywords": [
"eslint",
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -32,8 +32,8 @@ acorn-jsx@^5.1.0:
resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.1.0.tgz#294adb71b57398b0680015f0a38c563ee1db5384"

acorn@^6.0.7:
version "6.1.0"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.1.0.tgz#b0a3be31752c97a0f7013c5f4903b71a05db6818"
version "6.4.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.1.tgz#531e58ba3f51b9dacb9a6646ca4debf5b14ca474"

acorn@^7.1.0:
version "7.1.0"
@@ -231,8 +231,8 @@ eslint-config-not-an-aardvark@^2.1.0:
resolved "https://registry.yarnpkg.com/eslint-config-not-an-aardvark/-/eslint-config-not-an-aardvark-2.1.0.tgz#71e5fb7c43b64abb4632ef144aad6cceef520195"

eslint-config-prettier@^6.0.0:
version "6.7.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.7.0.tgz#9a876952e12df2b284adbd3440994bf1f39dfbb9"
version "6.10.1"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.10.1.tgz#129ef9ec575d5ddc0e269667bf09defcd898642a"
dependencies:
get-stdin "^6.0.0"

@@ -244,8 +244,8 @@ eslint-plugin-es@^1.3.1:
regexpp "^2.0.0"

eslint-plugin-eslint-plugin@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-2.1.0.tgz#a7a00f15a886957d855feacaafee264f039e62d5"
version "2.2.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-2.2.1.tgz#9d567f2bb6891935d5d3e741f66c9ac42dc688fd"

eslint-plugin-node@^8.0.0:
version "8.0.1"
@@ -287,8 +287,8 @@ eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz#e2a82cea84ff246ad6fb57f9bde5b46621459ec2"

eslint@^6.0.0:
version "6.7.2"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.7.2.tgz#c17707ca4ad7b2d8af986a33feba71e18a9fecd1"
version "6.8.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb"
dependencies:
"@babel/code-frame" "^7.0.0"
ajv "^6.10.0"