Bumps eslint-config-prettier from 6.11.0 to 7.0.0.
Changelog
Sourced from eslint-config-prettier's changelog.
<h3>Version 7.0.0 (2020-12-05)</h3><h3>Version 6.15.0 (2020-10-27)</h3>
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
<pre lang="json">"prettier/prettier"to your"extends"array to turn them off again.{ "extends": ["prettier", "prettier/prettier"], "plugins": ["prettier"], "rules": { "prettier/prettier": "error" } }</pre>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:
<pre lang="json">no-tabsis now a validatable rule. If you use it, you should enableallowIndentationTabsso that the rule works regardless of your Prettier config:{ "rules": { "no-tabs": ["error", { "allowIndentationTabs": true }] } }</pre>Changed: The CLI helper tool is now called just
eslint-config-prettierinstead ofeslint-config-prettier-check. This is so thatnpx eslint-config-prettieralways works regardless of whether you have already installedeslint-config-prettieror not: If you have, the local installation is used; if you haven’t,npxdownloads a temporary copy.Changed: The CLI helper tool no longer requires you to pipe the output of
eslint --print-configto it. Instead, it does that automatically for you via ESLint API:s added in ESLint v7.Before:
<pre>npx eslint --print-config index.js | npx eslint-config-prettier-check</pre>After:
<pre>npx eslint-config-prettier index.js</pre>Improved: The npm package is now 75% smaller.
... (truncated)
Commits
eslint-config-prettier v7.0.0068fd1bMerge pull request #168 from prettier/next4d7347aVarious cleanupsf0b8764Fix local eslint require0d0b1acMake error message fit better for eslint-plugin-prettier7642c58Don’t warn about eslint-plugin-prettier rules if prettier/prettier is offbc65d43Remove docs moved to eslint-plugin-prettierdcba135Reduce npm package size by 75%4d08b84Move eslint-plugin-prettier to its own file like all other plugins8a4cdcfTurn no-tabs into a validatable rule7867a9c- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)