Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 5, 2020

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-config-prettier ^6.12.0 -> ^9.1.0 age adoption passing confidence
eslint-plugin-jsdoc ^30.6.3 -> ^48.2.15 age adoption passing confidence
prettier (source) ^2.1.2 -> ^3.3.2 age adoption passing confidence

Release Notes

prettier/eslint-config-prettier (eslint-config-prettier)

v9.1.0

Compare Source

  • Added: [unicorn/template-indent], (as a [special rule][unicorn/template-indent-special]). Thanks to Gürgün Dayıoğlu (@​gurgunday)!
  • Changed: All the [formatting rules that were deprecated in ESLint 8.53.0][deprecated-8.53.0] are now excluded if you set the ESLINT_CONFIG_PRETTIER_NO_DEPRECATED environment variable.

v9.0.0

Compare Source

  • Added: The CLI helper tool now works with eslint.config.js (flat config). Just like ESLint itself, the CLI tool automatically first tries eslint.config.js and then eslintrc, and you can force which one to use by setting the [ESLINT_USE_FLAT_CONFIG] environment variable. Note that the config of eslint-config-prettier has always been compatible with eslint.config.js (flat config) – it was just the CLI tool that needed updating. On top of that, the docs have been updated to mention how to use both eslint.config.js (flat config) and eslintrc, and the tests now test both config systems.
  • Changed: [unicode-bom] is no longer turned off. Prettier preserves the BOM if you have one, and does not add one if missing. It was wrong of eslint-config-prettier to disable that rule. If you get ESLint errors after upgrading, either add "unicode-bom": "off" to your config to disable it again, or run ESLint with --fix to fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@​nstepien)!

v8.10.0

Compare Source

  • Added: [max-statements-per-line]. Thanks to @​Zamiell!

v8.9.0

Compare Source

  • Added: [vue/array-element-newline]. Thanks to @​xcatliu!

v8.8.0

Compare Source

v8.7.0

Compare Source

v8.6.0

Compare Source

  • Added: [vue/multiline-ternary]. Thanks to @​xcatliu!

v8.5.0

Compare Source

v8.4.0

Compare Source

v8.3.0

Compare Source

v8.2.0

Compare Source

  • Added: [flowtype/quotes]. Thanks to Martin Zlámal (@​mrtnzlml)!

v8.1.0

Compare Source

  • Added: [flowtype/object-type-curly-spacing].
  • Added: Dummy files for the configs removed in 8.0.0. The dummy files throw an error that try to guide you how to upgrade.

v8.0.0

Compare Source

  • Changed: All configs have been merged into one!

    To upgrade, change:

    {
      "extends": [
        "some-other-config-you-use",
        "prettier",
        "prettier/@​typescript-eslint",
        "prettier/babel",
        "prettier/flowtype",
        "prettier/react",
        "prettier/standard",
        "prettier/unicorn",
        "prettier/vue"
      ]
    }

    Into:

    {
      "extends": [
        "some-other-config-you-use",
        "prettier"
      ]
    }

    The "prettier" config now includes not just ESLint core rules, but also rules from all plugins. Much simpler!

    So … what’s the catch? Why haven’t we done this earlier? Turns out it’s just a sad mistake. I (@​lydell) was confused when testing, and thought that turning off unknown rules in a config was an error. Thanks to Georgii Dolzhykov (@​thorn0) for pointing this out!

    If you use [eslint-plugin-prettier], all you need is [plugin:prettier/recommended]:

    {
      "extends": [
        "some-other-config-you-use",
        "plugin:prettier/recommended"
      ]
    }

    (The ["prettier/prettier" config][prettier-prettier-config] still exists separately. It’s the odd one out. The main "prettier" config does not include the rules from it.)

  • Changed: The CLI helper tool now only prints warnings for [arrow-body-style] and [prefer-arrow-callback], just like other “special rules.” This means that if you’ve decided to use those rules and [eslint-plugin-prettier] at the same time, you’ll get warnings but exit code zero (success).

v7.2.0

Compare Source

v7.1.0

Compare Source

  • Added: [unicorn/empty-brace-spaces]. Thanks to fisker Cheung (@​fisker)!

v7.0.0

Compare Source

  • Changed: At least ESLint 7.0.0 is now required.

  • Changed: [arrow-body-style] and [prefer-arrow-callback] are no longer turned off by default. They only need to be turned off if you use [eslint-plugin-prettier]. If you do, add "prettier/prettier" to your "extends" array to turn them off again.

    {
      "extends": ["prettier", "prettier/prettier"],
      "plugins": ["prettier"],
      "rules": {
        "prettier/prettier": "error"
      }
    }

    Alternatively, update [eslint-plugin-prettier] to version 3.2.0 or later which automatically turns off these two rules in its "plugin:prettier/recommended" config.

    The CLI helper tool only warns about these rules if you have the "prettier/prettier" rule enabled for a file.

  • Changed: no-tabs is now a validatable rule. If you use it, you should enable allowIndentationTabs so that the rule works regardless of your Prettier config:

    {
      "rules": {
        "no-tabs": ["error", { "allowIndentationTabs": true }]
      }
    }
  • Changed: The CLI helper tool is now called just eslint-config-prettier instead of eslint-config-prettier-check. This is so that npx eslint-config-prettier always works regardless of whether you have already installed eslint-config-prettier or not: If you have, the local installation is used; if you haven’t, npx downloads a temporary copy.

  • Changed: The CLI helper tool no longer requires you to pipe the output of eslint --print-config to it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.

    Before:

    npx eslint --print-config index.js | npx eslint-config-prettier-check
    

    After:

    npx eslint-config-prettier index.js
    
  • Improved: The npm package is now 75% smaller.

v6.15.0

Compare Source

v6.14.0

Compare Source

  • Added: New [eslint-plugin-vue] rules: [vue/array-bracket-newline] and [vue/block-tag-newline]. Thanks to @​xcatliu!

v6.13.0

Compare Source

  • Added: New rules in [eslint-plugin-vue] 7.0 (which supports Vue 3.0). Thanks to @​xcatliu!
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)

v48.2.15

Compare Source

Bug Fixes
  • Revert "fix(no-undefined-types): treat variables imported by [@import](https://togithub.com/import) tags as defined"; fixes #​1246 (ce066df)

v48.2.14

Compare Source

Bug Fixes
  • no-undefined-types: treat variables imported by [@import](https://togithub.com/import) tags as defined; fixes #​1244 (34ba2e0)

v48.2.13

Compare Source

v48.2.12

Compare Source

Bug Fixes
  • namespace flat config name's (8603579)

v48.2.11

Compare Source

Bug Fixes

v48.2.10

Compare Source

Bug Fixes
  • add names to flat configs (5429982)

v48.2.9

Compare Source

Bug Fixes
  • require-description-complete-sentence: regression with heading exempting; fixes #​1220 (fbc9fca)

v48.2.8

Compare Source

Bug Fixes
  • require-description-complete-sentence: avoid triggering punctuation warning after Markdown headings; fixes #​1220 (e9e4440)

v48.2.7

Compare Source

v48.2.6

Compare Source

Bug Fixes
  • require-yields: avoid error when ExportNamedDeclaration has no declaration prop (93a9415)

v48.2.5

Compare Source

Bug Fixes

v48.2.4

Compare Source

v48.2.3

Compare Source

Bug Fixes

v48.2.2

Compare Source

Bug Fixes

v48.2.1

Compare Source

v48.2.0

Compare Source

Features
  • check-param-names: Add disableMissingParamChecks option (#​1206) (ba642e4)

v48.1.0

Compare Source

Features
  • check-line-alignment: add `disableWrapIndent`` option (37df54d)

v48.0.6

Compare Source

Bug Fixes
  • informative-docs: check default named declaration (e9a9b74)
  • informative-docs: check named export declarations: fixes #​1198 (5a79d3f)

v48.0.5

Compare Source

Bug Fixes
  • informative-docs: Improve wording in rule description (f2aef87)

v48.0.4

Compare Source

Bug Fixes
  • require-description-complete-sentence: capture multiple newlines as "paragraphs"; fixes #​1193 (c5f203a)

v48.0.3

Compare Source

Bug Fixes
  • require-jsdoc: ensure children of TS type reference and parameter instantiation can be exports; fixes #​1186 (7461e01)
  • require-param: skip this parameter in checks (when followed by destructured content); fixes #​1190 (0cd761b)
  • update devDeps. (6b163c8)

v48.0.2

Compare Source

Bug Fixes
  • update legacy entry point (b60cbb0)

v48.0.1

Compare Source

Bug Fixes

v48.0.0

Compare Source

Features
  • switch to native ESM and add exports (6ac8116)
BREAKING CHANGES
  • adds exports; requires Node 18

v47.0.2

Compare Source

Bug Fixes

v47.0.1

Compare Source

Bug Fixes
  • TS: make configs explicit (47f3161)

v47.0.0

Compare Source

Features
BREAKING CHANGES
  • Adds types

v46.10.1

Compare Source

Bug Fixes
  • revert change to engines for now (5e6280f)

v46.10.0

Compare Source

Features

v46.9.1

Compare Source

Bug Fixes
  • check-examples: properly replace final extension; fixes #​1172 (b102693)

v46.9.0

Compare Source

Features

v46.8.2

Compare Source

Bug Fixes

v46.8.1

Compare Source

Bug Fixes
  • require-description-complete-sentence: allow all inline tags at beginning of sentence; fixes #​1150 (e8b1475)

v46.8.0

Compare Source

Features

v46.7.0

Compare Source

Features
  • require-returns: add optional fixer (dfd2a8a)

v46.6.0

Compare Source

Features

v46.5.1

Compare Source

Bug Fixes

v46.5.0

Compare Source

Features

v46.4.6

Compare Source

Bug Fixes

v46.4.5

Compare Source

Bug Fixes
  • require-jsdoc: accessibility check for latest typescript-eslint/parser (#​1136) (e41df35)

v46.4.4

Compare Source

Bug Fixes

v46.4.3

Compare Source

Bug Fixes
  • match-description: drop throws and yields from being reported for non-empty descriptions by nonemptyTags default; #​1126 (03578ca)

v46.4.2

Compare Source

Bug Fixes
  • require-jsdoc: do not report MethodDefinition with non-public accessibility; fixes #​1124 (00922c3)

v46.4.1

Compare Source

Bug Fixes
  • require-jsdoc: do not report PropertyDefinition's with non-public accessibility; fixes #​1122 (1e45ae4)

v46.4.0

Compare Source

Features

v46.3.0

Compare Source

Bug Fixes
  • make name required on [@template](https://togithub.com/template) for non-JSDoc modes (467441b)
Features
  • match-description: ensure [@desc](https://togithub.com/desc) checked by default; check more desc-like tags by default; check non-empty tags; #​233 (1b9d9e4)

v46.2.6

Compare Source

Bug Fixes
  • imports-as-dependencies: do not log missing package.json when rule is not active; fixes #​1117 (3a5dd7d)

v46.2.5

Compare Source

Bug Fixes

v46.2.4

Compare Source

Bug Fixes
  • imports-as-dependencies: allow relative paths (7469e59)

v46.2.3

Compare Source

Bug Fixes
  • imports-as-dependencies: catch typings as possible publishing source (e3b0d0c)

v46.2.2

Compare Source

Bug Fixes
  • imports-as-dependencies: don't report TypeScript proper (75b6b8c)

v46.2.1

Compare Source

Bug Fixes
  • imports-as-dependencies: check for types in package.json and if not present, check [@types](https://togithub.com/types); fixes #​1107 (785fb26)

v46.2.0

Compare Source

Features
  • imports-as-dependencies: add new rule to detect missing dependencies for import statements; fixes #​896 (d7ec6e0)

v46.1.0

Compare Source

Features
  • require-returns: per-context forceRequireReturn; fixes #​757 (31b3a24)

v46.0.0

Compare Source

Features
  • no-defaults: make no-defaults on by default (034ade1)
BREAKING CHANGES
  • no-defaults: Removes default values. Disable the rule if removal not desired.

Also:

  • docs: adds info on TS recommended rules

v45.0.0

Compare Source

Features
  • add recommended-typescript-flavor configs (6042b77)
  • for typescript configs, disable no-undefined-types; fixes #​888 (ec41b90)
BREAKING CHANGES
  • This should only impact users of typescript configs. TS should itself handle
    checking for undefined types, so the (imperfect) rule has been disabled for
    such users.

v44.2.7

Compare Source

v44.2.6

Compare Source

v44.2.5

Compare Source

v44.2.4

Compare Source

v44.2.3

Compare Source

v44.2.2

Compare Source

v44.2.1

Compare Source

v44.2.0

Compare Source

v44.1.0

Compare Source

v44.0.2

Compare Source

v44.0.1

Compare Source

v44.0.0

Compare Source

v43.2.0

Compare Source

v43.1.1

Compare Source

v43.1.0

Compare Source

v43.0.9

Compare Source

v43.0.8

Compare Source

v43.0.7

Compare Source

v43.0.6

Compare Source

v43.0.5

Compare Source

v43.0.4

Compare Source

v43.0.3

Compare Source

v43.0.2

Compare Source

v43.0.1

Compare Source

v43.0.0

Compare Source

v42.0.0

Compare Source

v41.1.2

Compare Source

v41.1.1

Compare Source

v41.1.0

Compare Source

v41.0.0

Compare Source

v40.3.0

Compare Source

v40.2.1

Compare Source

v40.2.0

Compare Source

v40.1.2

Compare Source

v40.1.1

Compare Source

v40.1.0

Compare Source

v40.0.3

Compare Source

v40.0.2

Compare Source

v40.0.1

Compare Source

v40.0.0

Compare Source

v39.9.1

Compare Source

v39.9.0

Compare Source

v39.8.0

Compare Source

v39.7.5

Compare Source

v39.7.4

Compare Source

v39.7.3

Compare Source

v39.7.2

Compare Source

v39.7.1

Compare Source

v39.7.0

Compare Source

v39.6.10

Compare Source

v39.6.9

Compare Source

v39.6.8

Compare Source

v39.6.7

Compare Source

v39.6.6

Compare Source

v39.6.5

Compare Source

v39.6.4

Compare Source

Bug Fixes
  • require-return-checks: check return statements prior to last line; fixes #​935 (65e927b)

v39.6.3

Compare Source

Bug Fixes

v39.6.2

Compare Source

Bug Fixes

v39.6.1

Compare Source

Bug Fixes
  • no-restricted-syntax: update jsdoccomment to be able to use new descriptionStartLine, descriptionEndLine, and hasPreterminalDescription properties; fixes #​830 (d68d742)

v39.6.0

Compare Source

Features
  • check-types: add skipRootChecking option to preferredTypes setting; fixes #​863 (e5da5bb)

v39.5.1

Compare Source

Bug Fixes
  • require-returns-check: ensure breaks in final switch do not fulfill check for all branches returning (691a414)

v39.5.0

Compare Source

Features

v39.4.0

Compare Source

Features
  • require-param-type, require-param-description: add exemptDestructuredRootsFromChecks setting; fixes #​752 (da1c85f)

v39.3.25

Compare Source

Bug Fixes
  • update jsdoccomment and devDep. (94f784f)

v39.3.24

Compare Source

Bug Fixes
  • require-returns-check, require-yields-check: check for undefined/void within union; fixes #​925 (cfbdf8b)

v39.3.23

Compare Source

Bug Fixes
  • require-returns-check: allow implicit-return finally if other try-catch branches returning; fixes #​926 (12da503)

v39.3.22

Compare Source

Bug Fixes
  • valid-types: report problems with name parsing (e247d67)

v39.3.21

Compare Source

Bug Fixes
  • require-param: do not cache by comment node; fixes #​901 (867edc3)

v39.3.20

Compare Source

Bug Fixes
  • require-returns-check: allow for missing catch or finalizer and missing case contents; fixes #​924 (4fabdd6)

v39.3.19

Compare Source

Bug Fixes
  • require-param: be tolerant if this is not included as [@param](https://togithub.com/param); fixes #​919 (c1f21f8)

v39.3.18

Compare Source

Bug Fixes
  • require-returns-check: check child nodes of consequents; fixes #​923 (dc1f875)

v39.3.17

Compare Source

Bug Fixes
  • require-returns-check: throw statements to be exempted from final check if elsewhere in function; fixes #​892 (87c1c2a)

v39.3.16

Compare Source

Bug Fixes
  • check-param-names: tolerate documented "this" param; fixes #​919 (5d20bdf)

v39.3.15

Compare Source

Bug Fixes
  • require-returns-check: checks that all branches of final node return; fixes #​892 (bdd6af2)

v39.3.14

Compare Source

Bug Fixes

v39.3.13

Compare Source

Bug Fixes
  • check-param-names: properly handle index offset (0729508)

v39.3.12

Compare Source

Bug Fixes

v39.3.6

Compare Source

Bug Fixes
  • ensure TSDeclareFunction is checked by default where function contexts are expected; closes #​897 (25d2a7f)

v39.3.5

Compare Source

Bug Fixes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@coveralls
Copy link

coveralls commented Dec 5, 2020

Coverage Status

Coverage remained the same at 90.621% when pulling be46b74 on renovate/major-linters into 5d02767 on master.

@renovate renovate bot force-pushed the renovate/major-linters branch from 1c0a4fa to c671e3c Compare January 5, 2021 14:55
@renovate renovate bot force-pushed the renovate/major-linters branch from c671e3c to d084d78 Compare January 24, 2021 16:53
@renovate renovate bot changed the title Update dependency eslint-config-prettier to v7 Update linters (major) Jan 24, 2021
@renovate renovate bot force-pushed the renovate/major-linters branch from d084d78 to fa257d3 Compare January 31, 2021 11:56
@renovate renovate bot force-pushed the renovate/major-linters branch from fa257d3 to be46b74 Compare February 8, 2021 21:55
@renovate renovate bot force-pushed the renovate/major-linters branch from be46b74 to b028c7b Compare April 26, 2021 14:55
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from adc6ed8 to 318e7bd Compare May 15, 2021 20:10
@renovate renovate bot force-pushed the renovate/major-linters branch from 318e7bd to 9c60883 Compare June 6, 2021 19:25
@renovate renovate bot force-pushed the renovate/major-linters branch from 9c60883 to e91c828 Compare June 15, 2021 12:08
@renovate renovate bot force-pushed the renovate/major-linters branch from e91c828 to 60f33b5 Compare October 18, 2021 22:53
@renovate renovate bot force-pushed the renovate/major-linters branch from 60f33b5 to cac59d3 Compare March 7, 2022 09:27
@renovate renovate bot force-pushed the renovate/major-linters branch from cac59d3 to 8322bf8 Compare March 26, 2022 14:16
@renovate renovate bot force-pushed the renovate/major-linters branch from 8322bf8 to 015b48f Compare April 24, 2022 23:19
@renovate renovate bot force-pushed the renovate/major-linters branch from 015b48f to 64432ef Compare May 15, 2022 23:02
@renovate renovate bot force-pushed the renovate/major-linters branch from 64432ef to 0329463 Compare June 18, 2022 15:20
@renovate renovate bot force-pushed the renovate/major-linters branch from 0329463 to 13900ac Compare September 25, 2022 16:47
@renovate renovate bot force-pushed the renovate/major-linters branch from 13900ac to a3f5cea Compare November 20, 2022 16:49
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 9ba38d2 to 626f410 Compare March 24, 2023 18:00
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 3c034c8 to 762113d Compare March 31, 2023 12:47
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 9046ade to c4ede7b Compare April 18, 2023 07:14
@renovate renovate bot force-pushed the renovate/major-linters branch 5 times, most recently from 7f65210 to 3e12312 Compare June 2, 2023 19:18
@renovate renovate bot force-pushed the renovate/major-linters branch 3 times, most recently from fa1f9d2 to 88bcfc1 Compare February 6, 2024 19:01
@renovate renovate bot force-pushed the renovate/major-linters branch from 88bcfc1 to c1011b1 Compare February 14, 2024 10:45
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 3ab2ef0 to 7756a6c Compare February 23, 2024 21:26
@renovate renovate bot force-pushed the renovate/major-linters branch from 7756a6c to c2c85ef Compare March 7, 2024 11:59
@renovate renovate bot force-pushed the renovate/major-linters branch from c2c85ef to 642eb4e Compare March 28, 2024 06:55
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 79da670 to 80bac85 Compare April 5, 2024 22:48
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 2b3b2b1 to e08236b Compare April 22, 2024 22:34
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from fd12715 to efc976c Compare May 9, 2024 14:25
@renovate renovate bot force-pushed the renovate/major-linters branch from efc976c to 3116d5c Compare May 15, 2024 23:03
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from d3f6880 to 2d5373c Compare May 29, 2024 20:10
@renovate renovate bot force-pushed the renovate/major-linters branch 4 times, most recently from 9bbd7fe to 23b205a Compare June 7, 2024 03:44
@renovate renovate bot force-pushed the renovate/major-linters branch 3 times, most recently from e52ef84 to 364621e Compare June 14, 2024 09:33
@renovate renovate bot force-pushed the renovate/major-linters branch from 364621e to 2b2f663 Compare June 22, 2024 10:39
@renovate renovate bot force-pushed the renovate/major-linters branch from 2b2f663 to f20a800 Compare June 23, 2024 04:59
@renovate renovate bot changed the title Update linters (major) Update linters (major) - autoclosed Jun 23, 2024
@renovate renovate bot closed this Jun 23, 2024
@renovate renovate bot deleted the renovate/major-linters branch June 23, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant