Skip to content

Conversation

renovate[bot]
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 94.731% when pulling 38cc7b6 on renovate/major-linters into da2f150 on master.

@renovate renovate bot force-pushed the renovate/major-linters branch from 12b5c95 to 4a04698 Compare January 6, 2021 22:54
@renovate renovate bot force-pushed the renovate/major-linters branch from 4a04698 to ee3f435 Compare January 22, 2021 17:58
@renovate renovate bot changed the title Update dependency eslint-config-prettier to v7 Update linters (major) Jan 22, 2021
@renovate renovate bot force-pushed the renovate/major-linters branch from ee3f435 to 76e1c92 Compare February 1, 2021 16:59
@renovate renovate bot force-pushed the renovate/major-linters branch from 76e1c92 to 38cc7b6 Compare February 10, 2021 15:43
@renovate renovate bot force-pushed the renovate/major-linters branch from 38cc7b6 to 75aee4d Compare April 26, 2021 16:44
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 8dca128 to e6b5900 Compare May 15, 2021 21:15
@renovate renovate bot force-pushed the renovate/major-linters branch from e6b5900 to 6c20e5a Compare June 6, 2021 21:16
@renovate renovate bot force-pushed the renovate/major-linters branch from 6c20e5a to b91149f Compare June 16, 2021 18:10
@renovate renovate bot force-pushed the renovate/major-linters branch from b91149f to 03537a6 Compare October 18, 2021 15:44
@renovate renovate bot force-pushed the renovate/major-linters branch from 03537a6 to 97d93f9 Compare March 7, 2022 17:07
@renovate renovate bot force-pushed the renovate/major-linters branch from 97d93f9 to 98eaaf2 Compare March 26, 2022 12:04
@renovate renovate bot force-pushed the renovate/major-linters branch from 98eaaf2 to d3d86ee Compare April 25, 2022 00:24
@renovate renovate bot force-pushed the renovate/major-linters branch from d3d86ee to 79ff53a Compare May 16, 2022 00:34
@renovate renovate bot force-pushed the renovate/major-linters branch from 79ff53a to d3fa36e Compare June 18, 2022 19:25
@renovate renovate bot force-pushed the renovate/major-linters branch from d3fa36e to 8cfb326 Compare September 25, 2022 21:47
@renovate renovate bot force-pushed the renovate/major-linters branch from 8cfb326 to a75cafd Compare November 20, 2022 15:28
@renovate renovate bot force-pushed the renovate/major-linters branch from a75cafd to 93221ce Compare March 16, 2023 06:33
@renovate renovate bot force-pushed the renovate/major-linters branch 3 times, most recently from 47731de to a44085e Compare March 31, 2023 12:47
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 048d535 to 9b96436 Compare April 18, 2023 07:36
@renovate renovate bot force-pushed the renovate/major-linters branch 5 times, most recently from a5d423a to f2c0aed Compare June 2, 2023 20:14
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 68fe310 to 58a5a30 Compare February 6, 2024 19:42
@renovate renovate bot force-pushed the renovate/major-linters branch from 58a5a30 to 006c7a4 Compare February 14, 2024 11:11
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from c607e24 to a9f5453 Compare February 23, 2024 22:49
@renovate renovate bot force-pushed the renovate/major-linters branch from a9f5453 to c1f8373 Compare March 7, 2024 11:41
@renovate renovate bot force-pushed the renovate/major-linters branch from c1f8373 to d78e557 Compare March 28, 2024 03:56
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from c660a46 to da5aac5 Compare April 5, 2024 22:56
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 67bdfe5 to 849dc83 Compare April 22, 2024 20:36
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 9e802e1 to a233221 Compare May 9, 2024 17:47
@renovate renovate bot force-pushed the renovate/major-linters branch from a233221 to 0aa06ee Compare May 15, 2024 17:05
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from aa2f803 to d53785a Compare May 29, 2024 17:00
@renovate renovate bot force-pushed the renovate/major-linters branch 4 times, most recently from 896b9e2 to c4c1c0c Compare June 7, 2024 01:39
@renovate renovate bot force-pushed the renovate/major-linters branch 3 times, most recently from cfbdfc0 to f845c08 Compare June 14, 2024 10:42
@renovate renovate bot force-pushed the renovate/major-linters branch 2 times, most recently from 38a7995 to 777c1c8 Compare June 23, 2024 04:46
@renovate renovate bot force-pushed the renovate/major-linters branch from 777c1c8 to cd56e4d Compare June 23, 2024 06:10
@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 23:14
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