-
Notifications
You must be signed in to change notification settings - Fork 1
Update linters (major) - autoclosed #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1c0a4fa to
c671e3c
Compare
c671e3c to
d084d78
Compare
d084d78 to
fa257d3
Compare
fa257d3 to
be46b74
Compare
be46b74 to
b028c7b
Compare
adc6ed8 to
318e7bd
Compare
318e7bd to
9c60883
Compare
9c60883 to
e91c828
Compare
e91c828 to
60f33b5
Compare
60f33b5 to
cac59d3
Compare
cac59d3 to
8322bf8
Compare
8322bf8 to
015b48f
Compare
015b48f to
64432ef
Compare
64432ef to
0329463
Compare
0329463 to
13900ac
Compare
13900ac to
a3f5cea
Compare
9ba38d2 to
626f410
Compare
3c034c8 to
762113d
Compare
9046ade to
c4ede7b
Compare
7f65210 to
3e12312
Compare
fa1f9d2 to
88bcfc1
Compare
88bcfc1 to
c1011b1
Compare
3ab2ef0 to
7756a6c
Compare
7756a6c to
c2c85ef
Compare
c2c85ef to
642eb4e
Compare
79da670 to
80bac85
Compare
2b3b2b1 to
e08236b
Compare
fd12715 to
efc976c
Compare
efc976c to
3116d5c
Compare
d3f6880 to
2d5373c
Compare
9bbd7fe to
23b205a
Compare
e52ef84 to
364621e
Compare
364621e to
2b2f663
Compare
2b2f663 to
f20a800
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^6.12.0->^9.1.0^30.6.3->^48.2.15^2.1.2->^3.3.2Release Notes
prettier/eslint-config-prettier (eslint-config-prettier)
v9.1.0Compare Source
ESLINT_CONFIG_PRETTIER_NO_DEPRECATEDenvironment variable.v9.0.0Compare Source
"unicode-bom": "off"to your config to disable it again, or run ESLint with--fixto fix all files according to the rule (add or remove BOM). Thanks to Nicolas Stepien (@nstepien)!v8.10.0Compare Source
v8.9.0Compare Source
v8.8.0Compare Source
v8.7.0Compare Source
v8.6.0Compare Source
v8.5.0Compare Source
v8.4.0Compare Source
v8.3.0Compare Source
v8.2.0Compare Source
v8.1.0Compare Source
v8.0.0Compare 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.0Compare Source
v7.1.0Compare Source
v7.0.0Compare 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-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 }] } }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:
After:
Improved: The npm package is now 75% smaller.
v6.15.0Compare Source
v6.14.0Compare Source
v6.13.0Compare Source
gajus/eslint-plugin-jsdoc (eslint-plugin-jsdoc)
v48.2.15Compare Source
Bug Fixes
no-undefined-types): treat variables imported by[@import](https://togithub.com/import)tags as defined"; fixes #1246 (ce066df)v48.2.14Compare Source
Bug Fixes
no-undefined-types: treat variables imported by[@import](https://togithub.com/import)tags as defined; fixes #1244 (34ba2e0)v48.2.13Compare Source
v48.2.12Compare Source
Bug Fixes
name's (8603579)v48.2.11Compare Source
Bug Fixes
namefor eslintrc configs; fixes #1239 (c2d5a35)v48.2.10Compare Source
Bug Fixes
v48.2.9Compare Source
Bug Fixes
require-description-complete-sentence: regression with heading exempting; fixes #1220 (fbc9fca)v48.2.8Compare Source
Bug Fixes
require-description-complete-sentence: avoid triggering punctuation warning after Markdown headings; fixes #1220 (e9e4440)v48.2.7Compare Source
v48.2.6Compare Source
Bug Fixes
require-yields: avoid error whenExportNamedDeclarationhas nodeclarationprop (93a9415)v48.2.5Compare Source
Bug Fixes
typeParameters(#1229) (d417d05)v48.2.4Compare Source
v48.2.3Compare Source
Bug Fixes
valid-types: whitelist pratt parser keywords; fixes #1221 (ab5624b)v48.2.2Compare Source
Bug Fixes
importtag; fixes #1218 (9e9fed5)v48.2.1Compare Source
v48.2.0Compare Source
Features
disableMissingParamChecksoption (#1206) (ba642e4)v48.1.0Compare Source
Features
check-line-alignment: add `disableWrapIndent`` option (37df54d)v48.0.6Compare Source
Bug Fixes
v48.0.5Compare Source
Bug Fixes
v48.0.4Compare Source
Bug Fixes
require-description-complete-sentence: capture multiple newlines as "paragraphs"; fixes #1193 (c5f203a)v48.0.3Compare Source
Bug Fixes
require-jsdoc: ensure children of TS type reference and parameter instantiation can be exports; fixes #1186 (7461e01)require-param: skipthisparameter in checks (when followed by destructured content); fixes #1190 (0cd761b)v48.0.2Compare Source
Bug Fixes
v48.0.1Compare Source
Bug Fixes
v48.0.0Compare Source
Features
exports(6ac8116)BREAKING CHANGES
v47.0.2Compare Source
Bug Fixes
v47.0.1Compare Source
Bug Fixes
v47.0.0Compare Source
Features
BREAKING CHANGES
v46.10.1Compare Source
Bug Fixes
v46.10.0Compare Source
Features
v46.9.1Compare Source
Bug Fixes
check-examples: properly replace final extension; fixes #1172 (b102693)v46.9.0Compare Source
Features
v46.8.2Compare Source
Bug Fixes
getSourceCode(); fixes #1159 (8374349)v46.8.1Compare Source
Bug Fixes
require-description-complete-sentence: allow all inline tags at beginning of sentence; fixes #1150 (e8b1475)v46.8.0Compare Source
Features
require-returns: addpublicOnlyoption; fixes #1137 (8dbcb6f)v46.7.0Compare Source
Features
require-returns: add optional fixer (dfd2a8a)v46.6.0Compare Source
Features
informative-docs: addexcludedTags; fixes #1153 (6f1b50b)v46.5.1Compare Source
Bug Fixes
v46.5.0Compare Source
Features
v46.4.6Compare Source
Bug Fixes
v46.4.5Compare Source
Bug Fixes
require-jsdoc: accessibility check for latest typescript-eslint/parser (#1136) (e41df35)v46.4.4Compare Source
Bug Fixes
no-undefined-types: addAwaitedTS utility global (#1132) (44da8c7)v46.4.3Compare Source
Bug Fixes
match-description: dropthrowsandyieldsfrom being reported for non-empty descriptions bynonemptyTagsdefault; #1126 (03578ca)v46.4.2Compare Source
Bug Fixes
require-jsdoc: do not reportMethodDefinitionwith non-publicaccessibility; fixes #1124 (00922c3)v46.4.1Compare Source
Bug Fixes
require-jsdoc: do not reportPropertyDefinition's with non-publicaccessibility; fixes #1122 (1e45ae4)v46.4.0Compare Source
Features
valid-types: checklinkandtutorialfor content; #233 (42c713e)v46.3.0Compare Source
Bug Fixes
[@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.6Compare Source
Bug Fixes
imports-as-dependencies: do not log missing package.json when rule is not active; fixes #1117 (3a5dd7d)v46.2.5Compare Source
Bug Fixes
imports-as-dependencies: support Node builtins; fixes #1112 (ab00592)v46.2.4Compare Source
Bug Fixes
imports-as-dependencies: allow relative paths (7469e59)v46.2.3Compare Source
Bug Fixes
imports-as-dependencies: catchtypingsas possible publishing source (e3b0d0c)v46.2.2Compare Source
Bug Fixes
imports-as-dependencies: don't report TypeScript proper (75b6b8c)v46.2.1Compare Source
Bug Fixes
imports-as-dependencies: check fortypesinpackage.jsonand if not present, check[@types](https://togithub.com/types); fixes #1107 (785fb26)v46.2.0Compare Source
Features
imports-as-dependencies: add new rule to detect missing dependencies for import statements; fixes #896 (d7ec6e0)v46.1.0Compare Source
Features
require-returns: per-contextforceRequireReturn; fixes #757 (31b3a24)v46.0.0Compare 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:
v45.0.0Compare Source
Features
no-undefined-types; fixes #888 (ec41b90)BREAKING CHANGES
checking for undefined types, so the (imperfect) rule has been disabled for
such users.
v44.2.7Compare Source
v44.2.6Compare Source
v44.2.5Compare Source
v44.2.4Compare Source
v44.2.3Compare Source
v44.2.2Compare Source
v44.2.1Compare Source
v44.2.0Compare Source
v44.1.0Compare Source
v44.0.2Compare Source
v44.0.1Compare Source
v44.0.0Compare Source
v43.2.0Compare Source
v43.1.1Compare Source
v43.1.0Compare Source
v43.0.9Compare Source
v43.0.8Compare Source
v43.0.7Compare Source
v43.0.6Compare Source
v43.0.5Compare Source
v43.0.4Compare Source
v43.0.3Compare Source
v43.0.2Compare Source
v43.0.1Compare Source
v43.0.0Compare Source
v42.0.0Compare Source
v41.1.2Compare Source
v41.1.1Compare Source
v41.1.0Compare Source
v41.0.0Compare Source
v40.3.0Compare Source
v40.2.1Compare Source
v40.2.0Compare Source
v40.1.2Compare Source
v40.1.1Compare Source
v40.1.0Compare Source
v40.0.3Compare Source
v40.0.2Compare Source
v40.0.1Compare Source
v40.0.0Compare Source
v39.9.1Compare Source
v39.9.0Compare Source
v39.8.0Compare Source
v39.7.5Compare Source
v39.7.4Compare Source
v39.7.3Compare Source
v39.7.2Compare Source
v39.7.1Compare Source
v39.7.0Compare Source
v39.6.10Compare Source
v39.6.9Compare Source
v39.6.8Compare Source
v39.6.7Compare Source
v39.6.6Compare Source
v39.6.5Compare Source
v39.6.4Compare Source
Bug Fixes
require-return-checks: check return statements prior to last line; fixes #935 (65e927b)v39.6.3Compare Source
Bug Fixes
v39.6.2Compare Source
Bug Fixes
jsdoccomment(26141cb)v39.6.1Compare Source
Bug Fixes
no-restricted-syntax: update jsdoccomment to be able to use newdescriptionStartLine,descriptionEndLine, andhasPreterminalDescriptionproperties; fixes #830 (d68d742)v39.6.0Compare Source
Features
check-types: addskipRootCheckingoption topreferredTypessetting; fixes #863 (e5da5bb)v39.5.1Compare Source
Bug Fixes
require-returns-check: ensure breaks in final switch do not fulfill check for all branches returning (691a414)v39.5.0Compare Source
Features
text-escapingrule; fixes #864 (1776e18)v39.4.0Compare Source
Features
require-param-type,require-param-description: addexemptDestructuredRootsFromCheckssetting; fixes #752 (da1c85f)v39.3.25Compare Source
Bug Fixes
v39.3.24Compare Source
Bug Fixes
require-returns-check,require-yields-check: check for undefined/void within union; fixes #925 (cfbdf8b)v39.3.23Compare Source
Bug Fixes
require-returns-check: allow implicit-return finally if other try-catch branches returning; fixes #926 (12da503)v39.3.22Compare Source
Bug Fixes
valid-types: report problems with name parsing (e247d67)v39.3.21Compare Source
Bug Fixes
require-param: do not cache by comment node; fixes #901 (867edc3)v39.3.20Compare Source
Bug Fixes
require-returns-check: allow for missing catch or finalizer and missing case contents; fixes #924 (4fabdd6)v39.3.19Compare Source
Bug Fixes
require-param: be tolerant ifthisis not included as[@param](https://togithub.com/param); fixes #919 (c1f21f8)v39.3.18Compare Source
Bug Fixes
require-returns-check: check child nodes of consequents; fixes #923 (dc1f875)v39.3.17Compare Source
Bug Fixes
require-returns-check: throw statements to be exempted from final check if elsewhere in function; fixes #892 (87c1c2a)v39.3.16Compare Source
Bug Fixes
check-param-names: tolerate documented "this" param; fixes #919 (5d20bdf)v39.3.15Compare Source
Bug Fixes
require-returns-check: checks that all branches of final node return; fixes #892 (bdd6af2)v39.3.14Compare Source
Bug Fixes
v39.3.13Compare Source
Bug Fixes
check-param-names: properly handle index offset (0729508)v39.3.12Compare Source
Bug Fixes
v39.3.6Compare Source
Bug Fixes
TSDeclareFunctionis checked by default where function contexts are expected; closes #897 (25d2a7f)v39.3.5Compare Source
Bug Fixes
check-tag-names: constructor tag and tagNamePreference (#899) ([4f8d242](https://togithub.com/gajus/eConfiguration
📅 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.
This PR has been generated by Mend Renovate. View repository job log here.