chore(deps): update dependency standard to v17 #83
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.
This PR contains the following updates:
14.3.4->17.1.2Release Notes
standard/standard (standard)
v17.1.2Compare Source
eslint-plugin-react(#1976)004e63bv17.1.1Compare Source
7.35.2(#1976)d535d98v17.1.0Compare Source
eslint-config-standardfrom17.0.0to17.1.0v17.0.0Compare Source
eslint-config-standardfrom17.0.0to17.1.0v16.0.4Compare Source
eslintfrom~7.13.1to~7.18.0eslint-config-standardfrom16.0.2to16.0.3eslint-plugin-importfrom~2.22.1to~2.24.2eslint-plugin-promisefrom~4.2.1to~5.1.0eslint-plugin-reactfrom~7.21.5to~7.25.1v16.0.3Compare Source
We're super excited to announce
standard17!This major release fully focuses on getting in sync with the wider ESLint ecosystem
and doesn't in itself introduce any new rules or features.
When you upgrade, consider running
standard --fixto automatically format yourcode to match the current set of rules.
This is the first release by two of our
standardco-maintainers @Divlo and @voxpelli. Buy them a cake if you run into them, thanks for getting this release out!Major changes
eslint-config-nodehas been replaced with the up to date forkeslint-config-n. If you have used comments like// eslint-disable-line node/no-deprecated-apiyou now have to reference then/rules instead.object-shorthandrule (as warning)await#1548 #1775--verboseby defaultChanged features
eslintfrom~7.18.0to^8.13.0eslint-config-standardfrom16.0.3to17.0.0to adapt to ESLint 8eslint-config-standard-jsxfrom10.0.0to^11.0.0to adapt to ESLint 8standard-enginefrom^14to^15.0.0to adapt to ESLint 8, see itsCHANGELOGeslint-plugin-node@~11.1.0toeslint-plugin-n@^15.1.0to adapt to ESLint 8eslint-plugin-importfrom~2.24.2to^2.26.0eslint-plugin-promisefrom~5.1.0to^6.0.0eslint-plugin-reactfrom~7.25.1to^7.28.0v16.0.2Compare Source
eslintfrom~7.13.1to~7.18.0eslint-config-standardfrom16.0.2to16.0.3eslint-plugin-importfrom~2.22.1to~2.24.2eslint-plugin-promisefrom~4.2.1to~5.1.0eslint-plugin-reactfrom~7.21.5to~7.25.1v16.0.1Compare Source
standardtreats all rule violations as errors, which means thatstandardwill exit with a non-zero (error) exit code.
However, we may occasionally release a new major version of
standardwhich changes a rule that affects the majority of
standardusers (for example,transitioning from
vartolet/const). We do this only when we think theadvantage is worth the cost and only when the rule is
auto-fixable.
In these situations, we have a "transition period" where the rule change is only
a "warning". Warnings don't cause
standardto return a non-zero (error)exit code. However, a warning message will still print to the console. During
the transition period,
using standard --fixwill update your code so that it'sready for the next major version.
The slow and careful approach is what we strive for with
standard. We'regenerally extremely conservative in enforcing the usage of new language
features. We want using
standardto be light and fun and so we're carefulabout making changes that may get in your way. As always, you can
disable a rule at any time, if necessary.
v16.0.0Compare Source
We're super excited to announce
standard16!As with every new major release, there are lots of new rules in 16.0.0 designed
to help catch bugs and make programmer intent more explicit. This release brings
better performance, tons of bug fixes, improved JSX, React ⚛️, and Next.js support!
When you upgrade, consider running
standard --fixto automatically format yourcode to match the newly added rules.
❤️ If you enjoy StandardJS and want to support future releases, please
support Feross!
New features
🏎 Better performance: the filesystem doesn't need to be traversed multiple times! #1023
.gitignore🌟 Support the
.gitignoreignore syntax from the command line #1117standard srcwould not lint thesrc/folderstandard src/**/*.jswas requiredstandard srcto lint thesrc/folder!🌟 Support relative paths from the command line in more situations (e.g.
standard ../src/*.js) #1384🌟 New
extensionsoption for linting additional extensions besides.js,.jsx,.mjs, and.cjsCan be configured with the
--extcommand line flag or inpackage.json:Example:
{ "standard": { "extensions": [".ts"] } }🌟 New cache directory location, respecting
XDG_CACHE_HOMEpreference, with fallback to~/.cache/standardstandard-engine/#214Changed features
Update
eslintfrom~7.11.0to~7.12.1Update
standard-enginefrom^12to^14--helpcommand which indicates thatbundle.jsis automatically ignored when it is not anymore standard-engine/#224deglobpackage and use built-in ESLint folder-traversal supportPaths with square brackets (e.g.
[and]) are no longer skipped #1333blog/[slug].jsBetter mono-repo support: Nested
node_modules/folders are ignored by default #1182Remove
eslint-plugin-standard#1316no-callback-literalrule intoeslint-plugin-nodeNew rules
(Estimated % of affected standard users, based on test suite in parens)
Arraymethod callbacks (array-callback-return) #859 [7%]RegExpconstructor in favor of regular expression literals (prefer-regex-literals) #1413 [1%]case NaN,switch(NaN),indexOf(NaN), andlastIndexOf(NaN)(use-isnan) #1429 [0%]exports(node/no-exports-assign) #1400 [0%]ReactDOM.render(react/no-render-return-value) #1568 [1%]this.state(react/no-direct-mutation-state) #1571 [0%]findDOMNode(react/no-find-dom-node) #1570 [0%]isMounted(react/no-is-mounted) #1569 [0%]target='_blank'on any component namedLink(react/jsx-no-target-blank) #1576 [0%]Changed rules
indent#1499v15.0.1Compare Source
indentrule eslint-config-standard/#177v15.0.0Compare Source
We're super excited to announce
standard17!This major release fully focuses on getting in sync with the wider ESLint ecosystem
and doesn't in itself introduce any new rules or features.
When you upgrade, consider running
standard --fixto automatically format yourcode to match the current set of rules.
This is the first release by two of our
standardco-maintainers @Divlo and @voxpelli. Buy them a cake if you run into them, thanks for getting this release out!Major changes
eslint-config-nodehas been replaced with the up to date forkeslint-config-n. If you have used comments like// eslint-disable-line node/no-deprecated-apiyou now have to reference then/rules instead.object-shorthandrule (as warning)await#1548 #1775--verboseby defaultChanged features
eslintfrom~7.18.0to^8.13.0eslint-config-standardfrom16.0.3to17.0.0to adapt to ESLint 8eslint-config-standard-jsxfrom10.0.0to^11.0.0to adapt to ESLint 8standard-enginefrom^14to^15.0.0to adapt to ESLint 8, see itsCHANGELOGeslint-plugin-node@~11.1.0toeslint-plugin-n@^15.1.0to adapt to ESLint 8eslint-plugin-importfrom~2.24.2to^2.26.0eslint-plugin-promisefrom~5.1.0to^6.0.0eslint-plugin-reactfrom~7.25.1to^7.28.0Configuration
📅 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.