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:
^3.19.0
->^4.18.2
By merging this PR, the below vulnerabilities will be automatically resolved:
Release Notes
eslint/eslint (eslint)
v4.18.2
Compare Source
6b71fd0
Fix: [email protected], because 4.0.3 needs "ajv": "^6.0.1" (#10022) (Mathieu Seiler)3c697de
Chore: fix incorrect comment about linter.verify return value (#10030) (Teddy Katz)9df8653
Chore: refactor parser-loading out of linter.verify (#10028) (Teddy Katz)f6901d0
Fix: remove catastrophic backtracking vulnerability (fixes #10002) (#10019) (Jamie Davis)e4f52ce
Chore: Simplify dataflow in linter.verify (#10020) (Teddy Katz)33177cd
Chore: make library files non-executable (#10021) (Teddy Katz)558ccba
Chore: refactor directive comment processing (#10007) (Teddy Katz)18e15d9
Chore: avoid useless catch clauses that just rethrow errors (#10010) (Teddy Katz)a1c3759
Chore: refactor populating configs with defaults in linter (#10006) (Teddy Katz)aea07dc
Fix: Make max-len ignoreStrings ignore JSXText (fixes #9954) (#9985) (Rachael Sim)v4.18.1
Compare Source
f417506
Fix: ensure no-await-in-loop reports the correct node (fixes #9992) (#9993) (Teddy Katz)3e99363
Docs: Fixed typo in key-spacing rule doc (#9987) (Jaid)7c2cd70
Docs: deprecate experimentalObjectRestSpread (#9986) (Toru Nagashima)v4.18.0
Compare Source
70f22f3
Chore: Apply memoization to config creation within glob utils (#9944) (Kenton Jacobsen)0e4ae22
Update: fix indent bug with binary operators/ignoredNodes (fixes #9882) (#9951) (Teddy Katz)47ac478
Update: add named imports and exports for object-curly-newline (#9876) (Nicholas Chua)e8efdd0
Fix: support Rest/Spread Properties (fixes #9885) (#9943) (Toru Nagashima)f012b8c
Fix: support Async iteration (fixes #9891) (#9957) (Toru Nagashima)74fa253
Docs: Clarify no-mixed-operators options (fixes #9962) (#9964) (Ivan Hayes)426868f
Docs: clean up key-spacing docs (fixes #9900) (#9963) (Abid Uzair)4a6f22e
Update: support eslint-disable-* block comments (fixes #8781) (#9745) (Erin)777283b
Docs: Propose fix typo for function (#9965) (John Eismeier)bf3d494
Docs: Fix typo in max-len ignorePattern example. (#9956) (Tim Martin)d64fbb4
Docs: fix typo in prefer-destructuring.md example (#9930) (Vse Mozhet Byt)f8d343f
Chore: Fix default issue template (#9946) (Kai Cataldo)v4.17.0
Compare Source
1da1ada
Update: Add "multiline" type to padding-line-between-statements (#8668) (Matthew Bennett)bb213dc
Chore: Use messageIds in some of the core rules (#9648) (Jed Fox)1aa1970
Docs: remove outdated rule naming convention (#9925) (Teddy Katz)3afaff6
Docs: Add prefer-destructuring variable reassignment example (#9873) (LePirlouit)d20f6b4
Fix: Typo in error message when running npm (#9866) (Maciej Kasprzyk)51ec6a7
Docs: Use GitHub Multiple PR/Issue templates (#9911) (Kai Cataldo)dc80487
Update: space-unary-ops uses astUtils.canTokensBeAdjacent (fixes #9907) (#9906) (Kevin Partington)084351b
Docs: Fix the messageId example (fixes #9889) (#9892) (Jed Fox)9cbb487
Docs: Mention theglobals
key in the no-undef docs (#9867) (Dan Dascalescu)v4.16.0
Compare Source
e26a25f
Update: allow continue instead of if wrap in guard-for-in (fixes #7567) (#9796) (Michael Ficarra)af043eb
Update: Add NewExpression support to comma-style (#9591) (Frazer McLean)4f898c7
Build: Fix JSDoc syntax errors (#9813) (Matija Marohnić)13bcf3c
Fix: Removing curly quotes in no-eq-null report message (#9852) (Kevin Partington)b96fb31
Docs: configuration hierarchy for CLIEngine options (fixes #9526) (#9855) (PiIsFour)8ccbdda
Docs: Clarify that -c configs merge with.eslintrc.*
(fixes #9535) (#9847) (Kevin Partington)978574f
Docs: Fix examples for no-useless-escape (#9853) (Toru Kobayashi)cd5681d
Chore: Deactivate consistent-docs-url in internal rules folder (#9815) (Kevin Partington)2e87ddd
Docs: Sync messageId examples' style with other examples (#9816) (Kevin Partington)1d61930
Update: use doctrine range information in valid-jsdoc (#9831) (Teddy Katz)133336e
Update: fix indent behavior on template literal arguments (fixes #9061) (#9820) (Teddy Katz)ea1b15d
Fix: avoid crashing on malformed configuration comments (fixes #9373) (#9819) (Teddy Katz)add1e70
Update: fix indent bug on comments in ternary expressions (fixes #9729) (#9818) (Teddy Katz)6a5cd32
Fix: prefer-destructuring error with computed properties (fixes #9784) (#9817) (Teddy Katz)601f851
Docs: Minor modification to code comments for clarity (#9821) (rgovind92)b9da067
Docs: fix misleading info about RuleTester column numbers (#9830) (Teddy Katz)2cf4522
Update: Rename and deprecate object-property-newline option (#9570) (Jonathan Pool)acde640
Docs: Add ES 2018 to Configuring ESLint (#9829) (Kai Cataldo)ccfce15
Docs: Minor tweaks to working with rules page (#9824) (Kevin Partington)54b329a
Docs: fix substitution of {{ name }} (#9822) (Andres Kalle)v4.15.0
Compare Source
6ab04b5
New: Add context.report({ messageId }) (fixes #6740) (#9165) (Jed Fox)fc7f404
Docs: add url to each of the rules (refs #6582) (#9788) (Patrick McElhaney)fc44da9
Docs: fix sort-imports rule block language (#9805) (ferhat elmas)65f0176
New: CLIEngine#getRules() (refs #6582) (#9782) (Patrick McElhaney)c64195f
Update: More detailed assert message for rule-tester (#9769) (Weijia Wang)9fcfabf
Fix: no-extra-parens false positive (fixes: #9755) (#9795) (Erin)61e5fa0
Docs: Add table of contents to Node.js API docs (#9785) (Patrick McElhaney)4c87f42
Fix: incorrect error messages of no-unused-vars (fixes #9774) (#9791) (akouryy)bbabf34
Update: addignoreComments
option toindent
rule (fixes #9018) (#9752) (Kevin Partington)db431cb
Docs: HTTP -> HTTPS (fixes #9768) (#9768) (Ronald Eddy Jr)cbf0fb9
Docs: describe how to feature-detect scopeManager/visitorKeys support (#9764) (Teddy Katz)f7dcb70
Docs: Add note about "patch release pending" label to maintainer guide (#9763) (Teddy Katz)v4.14.0
Compare Source
be2f57e
Update: support separate requires in one-var. (fixes #6175) (#9441) (薛定谔的猫)370d614
Docs: Fix typos (#9751) (Jed Fox)8196c45
Chore: Reorganize CLI options and associated docs (#9758) (Kevin Partington)75c7419
Update: Logical-and is counted incomplexity
rule (fixes #8535) (#9754) (Kevin Partington)eb4b1e0
Docs: reintroduce misspelling invalid-typeof
example (#9753) (Teddy Katz)ae51eb2
New: Add allowImplicit option to array-callback-return (fixes #8539) (#9344) (James C. Davis)e9d5dfd
Docs: improve no-extra-parens formatting (#9747) (Rich Trott)37d066c
Chore: Add unit tests for overrides glob matching. (#9744) (Robert Jackson)805a94e
Chore: Fix typo in CLIEngine test name (#9741) (@scriptdaemon)1c2aafd
Update: Improve parser integrations (fixes #8392) (#8755) (Toru Nagashima)4ddc131
Upgrade: debug@^3.1.0 (#9731) (Kevin Partington)f252c19
Docs: Make the lint messagesource
property a little more subtle (#9735) (Jed Fox)5a5c23c
Docs: fix the link to contributing page (#9727) (Victor Hom)f44ce11
Docs: change beginner to good first issue label text (#9726) (Victor Hom)14baa2e
Chore: improve arrow-body-style error message (refs #5498) (#9718) (Teddy Katz)f819920
Docs: fix typos (#9723) (Thomas Broadley)43d4ba8
Fix: false positive on rulelines-between-class-members
(fixes #9665) (#9680) (sakabar)v4.13.1
Compare Source
b72dc83
Fix: eol-last allow empty-string to always pass (refs #9534) (#9696) (Kevin Partington)d80aa7c
Fix: camelcase destructure leading/trailing underscore (fixes #9700) (#9701) (Kevin Partington)d49d9d0
Docs: Add missing period to the README (#9702) (Kevin Partington)4564fe0
Chore: no-invalid-meta crash if no export assignment (refs #9534) (#9698) (Kevin Partington)v4.13.0
Compare Source
256481b
Update: update handling of destructuring in camelcase (fixes #8511) (#9468) (Erin)d067ae1
Docs: Don’t use undocumented array-style configuration for max-len (#9690) (Jed Fox)1ad3091
Chore: fix test-suite to work with node master (#9688) (Myles Borins)cdb1488
Docs: Adds an example with try/catch. (#9672) (Jaap Taal)v4.12.1
Compare Source
1e362a0
Revert "Fix: Use XML 1.1 on XML formatters (fixes #9607) (#9608)" (#9667) (Kevin Partington)v4.12.0
Compare Source
76dab18
Upgrade: doctrine@^2.0.2 (#9656) (Kevin Partington)28c9c8e
New: add a Linter#defineParser function (#9321) (Ives van Hoorne)5619910
Update: Add autofix forsort-vars
(#9496) (Trevin Hofmann)71eedbf
Update: addbeforeStatementContinuationChars
to semi (fixes #9521) (#9594) (Toru Nagashima)4118f14
New: Adds implicit-arrow-linebreak rule (refs #9510) (#9629) (Sharmila Jesupaul)208fb0f
Fix: Use XML 1.1 on XML formatters (fixes #9607) (#9608) (Daniel Reigada)6e04f14
Upgrade:globals
to 11.0.1 (fixes #9614) (#9632) (Toru Nagashima)e13d439
Fix: space-in-parens crash (#9655) (Toru Nagashima)92171cc
Docs: Updating migration guide for single-line disable (#9385) (Justin Helmer)f39ffe7
Docs: remove extra punctuation from readme (#9640) (Teddy Katz)a015234
Fix: prefer-destructuring false positive on "super" (fixes #9625) (#9626) (Kei Ito)0cf081e
Update: add importNames option to no-restricted-imports (#9506) (Benjamin R Gibson)332c214
Docs: Add @platinumazure to TSC (#9618) (Ilya Volodin)v4.11.0
Compare Source
d4557a6
Docs: disallow use of the comma operator using no-restricted-syntax (#9585) (薛定谔的猫)d602f9e
Upgrade: espree v3.5.2 (#9611) (Kai Cataldo)4def876
Chore: avoid handling rules instances in config-validator (#9364) (Teddy Katz)fe5ac7e
Chore: fix incorrect comment in safe-emitter.js (#9605) (Teddy Katz)6672fae
Docs: Fixed a typo on lines-between-class-members doc (#9603) (Moinul Hossain)980ecd3
Chore: Update copyright and license info (#9599) (薛定谔的猫)cc2c7c9
Build: use Node 8 in appveyor (#9595) (薛定谔的猫)2542f04
Docs: Add missing options forlines-around-comment
(#9589) (Clément Fiorio)b6a7490
Build: ensure fuzzer tests get run withnpm test
(#9590) (Teddy Katz)1073bc5
Build: remove shelljs-nodecli (refs #9533) (#9588) (Teddy Katz)7e3bf6a
Fix: edge-cases of semi-style (#9560) (Toru Nagashima)e5a37ce
Fix: object-curly-newline for flow code (#9458) (Tiddo Langerak)9064b9c
Chore: add equalTokens in ast-utils. (#9500) (薛定谔的猫)b7c5b19
Fix: Correct [object Object] output of error.data. (#9561) (Jonathan Pool)51c8cf0
Docs: Disambiguate definition of Update tag (#9584) (Jonathan Pool)afc3c75
Docs: clarify what eslint-config-eslint is (#9582) (Teddy Katz)aedae9d
Docs: fix spelling in valid-typeof example (#9574) (Maksim Degtyarev)4c5aaf3
Docs: Fix typo in no-underscore-dangle rule (#9567) (Fabien Lucas)3623600
Chore: upgrade [email protected] (#9557) (薛定谔的猫)1b606cd
Chore: Remove an indirect dependency on jsonify (#9444) (Rouven Weßling)4d7d7ab
Update: Resolve npm installed formatters (#5900) (#9464) (Tom Erik Støwer)accc490
Fix: Files with no failures get "passing" testcase (#9547) (Samuel Levy)ab0f66d
Docs: Add examples to better show rule coverage. (#9548) (Jonathan Pool)88d2303
Chore: Add object-property-newline tests to increase coverage. (#9553) (Jonathan Pool)7f37b1c
Build: test Node 9 on Travis (#9556) (Teddy Katz)acccfbd
Docs: Minor rephrase inno-invalid-this
. (#9542) (Francisc)8f9c0fe
Docs: improve id-match usage advice (#9544) (Teddy Katz)a9606a3
Fix: invalid tests with super (fixes #9539) (#9545) (Teddy Katz)8e1a095
Chore: enable a modified version of multiline-comment-style on codebase (#9452) (Teddy Katz)cb60285
Chore: remove commented test for HTML formatter (#9532) (Teddy Katz)06b491e
Docs: fix duplicate entries in changelog (#9530) (Teddy Katz)2224733
Chore: use eslint-plugin-rulesdir instead of --rulesdir for self-linting (#9164) (Teddy Katz)9cf4ebe
Docs: add .md to link(for github users) (#9529) (薛定谔的猫)v4.10.0
Compare Source
bb6e60a
Fix: Improve the doc for no-restricted-modules rule (fixes #9437) (#9495) (vibss2397)c529de9
Docs: Amend rule document to correct and complete it (refs #6251). (#9498) (Jonathan Pool)f9c6673
Chore: Add tests to cover array and object values and leading commas. (#9502) (Jonathan Pool)9169258
Chore: removenpm run check-commit
script (#9513) (Teddy Katz)7d390b2
Docs: Revise contributor documentation on issue labels. (#9469) (Jonathan Pool)d80b9d0
Fix: no-var don't fix globals (fixes #9520) (#9525) (Toru Nagashima)b8aa071
Fix: allow linting the empty string from stdin (fixes #9515) (#9517) (Teddy Katz)350a72c
Chore: regex.test => string.startsWith (#9518) (薛定谔的猫)de0bef4
Chore: remove obsolete eslintbot templates (#9512) (Teddy Katz)720b6d5
Docs: Update ISSUE_TEMPLATE.md (#9504) (薛定谔的猫)2fa64b7
Fix: should not convert non-consecutive line comments to a single blo… (#9475) (薛定谔的猫)9725146
Fix: multiline-comment-style fix produces invalid code (fixes #9461). (#9463) (薛定谔的猫)b12cff8
Fix: Expected order of jsdoc tags (fixes #9412) (#9451) (Orlando Wenzinger)f054ab5
Docs: add.md
to link (for github users) (#9501) (薛定谔的猫)5ed9cfc
Docs: Correct violations of “Variable Declarations” in Code Conventions (#9447) (Jonathan Pool)3171097
Docs: Clears confusion on usage of global and local plugins.(#9492) (Vasili Sviridov)3204773
Chore: enable max-len. (#9414) (薛定谔的猫)0f71fef
Docs: Unquote booleans in lines-between-class-members docs (#9497) (Brandon Mills)b3d7532
Docs: use consistent terminology & fix link etc. (#9490) (薛定谔的猫)87db8ae
Docs: Fix broken links (#9488) (gpiress)51bdb2f
Docs: Incorrect link to related rule (#9477) (Gavin King)1a962e8
Docs: Add FAQ for when ESLint cannot find plugin (#9467) (Kevin Partington)8768b2d
Fix: multiline-comment-style autofixer added trailing space (#9454) (Teddy Katz)e830aa1
Fix: multiline-comment-style reports block comments followed by code (#9450) (Teddy Katz)b12e5fe
Docs: Repair broken links and add migration links. (#9473) (Jonathan Pool)eca01ed
Docs: Add missing info about special status of home-dir config files. (#9472) (Jonathan Pool)eb8cfb1
Fix: change err report in constant condition (fixes #9398) (#9436) (Victor Hom)da77eb4
Chore: Revise no-config-file test to prevent false failure. (#9443) (Jonathan Pool)47e5f6f
Docs: ensure "good commit message" examples actually follow guidelines (#9466) (Teddy Katz)ebb530d
Update: Don't ignore comments (no-trailing-spaces) (#9416) (Chris van Marle)5012661
Build: fixnpm run profile
script (fixes #9397) (#9455) (Teddy Katz)ecac0fd
Docs: Remove blockBindings references (#9446) (Jan Pilzer)0b89865
Chore: ensure tests for internal rules get run (#9453) (Teddy Katz)052c504
Docs: suggest deleting branches after merging PRs (#9449) (Teddy Katz)b31e55a
Chore: move internal rules out of lib/ (#9448) (Teddy Katz)a7521e3
Docs: improve examples for multiline-comment-style (#9440) (Teddy Katz)v4.9.0
Compare Source
85388fb
Fix: Correct error and test messages to fit config search path (#9428) (Jonathan Pool)62a323c
Fix: Add class options forlines-around-comment
(fixes #8564) (#8565) (Ed Lee)8eb4aae
New: multiline-comment-style rule (fixes #8320) (#9389) (薛定谔的猫)db41408
Chore: avoid applying eslint-env comments twice (#9278) (Teddy Katz)febb897
Chore: avoid loose equality assertions (#9415) (Teddy Katz)2247efa
Update: Add FunctionExpression to require-jsdoc (fixes #5867) (#9395) (Kai Cataldo)6791d18
Docs: Corrected noun to verb. (#9438) (Jonathan Pool)b02fbb6
Update: custom messages for no-restricted-* (refs #8400) (Maja Wichrowska)02732bd
Docs: Reorganized to avoid misunderstandings. (#9434) (Jonathan Pool)d9466b8
Docs: Correct time forecast for tests. (#9432) (Jonathan Pool)f7ed84f
Docs: Add instruction re home-directory config files (refs #7729) (#9426) (Jonathan Pool)30d018b
Chore: Add Aladdin-ADD & VictorHom to README (#9424) (Kai Cataldo)2d8a303
Docs: fix examples for prefer-numeric-literals (#9155) (Lutz Lengemann)d7610f5
Docs: Add jquery warning to prefer-destructuring (#9409) (Thomas Grainger)e835dd1
Docs: clarify no-mixed-operators (fixes #8051) (Ruxandra Fediuc)51360c8
Docs: update block-spacing details (fixes #8743) (#9375) (Victor Hom)6767857
Update: fix ignored nodes in indent rule when using tabs (fixes #9392) (#9393) (Robin Houston)37dde77
Chore: Refactor SourceCode#getJSDocComment (#9403) (Kai Cataldo)9fedd51
Chore: Add missing space in blog post template (#9407) (Kevin Partington)7654c99
Docs: add installing prerequisites in readme. (#9401) (薛定谔的猫)786cc73
Update: Add "consistent" option to array-bracket-newline (fixes #9136) (#9206) (Ethan Rutherford)e171f6b
Docs: add installing prerequisites. (#9394) (薛定谔的猫)74dfc87
Docs: update doc for class-methods-use-this (fixes #8910) (#9374) (Victor Hom)b4a9dbf
Docs: show console call with no-restricted-syntax (fixes #7806) (#9376) (Victor Hom)8da525f
Fix: recognise multiline comments as multiline arrays (fixes #9211) (#9369) (Phil Quinn)c581b77
Chore: Error => TypeError (#9390) (薛定谔的猫)ee99876
New: lines-between-class-members rule (fixes #5949) (#9141) (薛定谔的猫)9d3f5ad
Chore: report unused eslint-disable directives in ESLint codebase (#9371) (Teddy Katz)1167638
Update: add allowElseIf option to no-else-return (fixes #9228) (#9229) (Thomas Grainger)4567ab1
New: Add the fix-dry-run flag (fixes #9076) (#9073) (Rafał Ruciński)v4.8.0
Compare Source
3f2b908
New: add option to report unused eslint-disable directives (fixes #9249) (#9250) (Teddy Katz)ff2be59
Fix: dot notation rule failing to catch string template (fixes #9350) (#9357) (Phil Quinn)b1372da
Chore: remove sourceCode property from Linter (refs #9161) (#9363) (Teddy Katz)cef6f8c
Docs: remove line about removing rules from semver policy (#9367) (Teddy Katz)06efe87
Fix: Add meta element with charset attribute. (#9365) (H1Gdev)458ca67
Docs: update architecture page (fixes #9337) (#9345) (Victor Hom)1c6bc67
Fix: special EventEmitter keys leak information about other rules (#9328) (Teddy Katz)d593e61
Docs: update eslint.org links to use https (#9358) (Teddy Katz)38d0cb2
Fix: fix wrong code-path about try-for-in (fixes #8848) (#9348) (Toru Nagashima)434d9e2
Fix: Invalid font-size property value issue. (#9341) (H1Gdev)a7668c2
Chore: Remove unnecessary slice from logging utility (#9343) (Gyandeep Singh)2ff6fb6
Chore: remove unused arguments in codebase (#9340) (Teddy Katz)v4.7.2
Compare Source
4f87732
Fix: Revert setting node.parent early (fixes #9331) (#9336) (Teddy Katz)v4.7.1
Compare Source
08656db
Fix: Handle nested disable directive correctly (fixes #9318) (#9322) (Gyandeep Singh)9226495
Revert "Chore: rewrite parseListConfig for a small perf gain." (#9325) (薛定谔的猫)v4.7.0
Compare Source
787b78b
Upgrade: Espree v3.5.1 (fixes #9153) (#9314) (Brandon Mills)1488b51
Update: run rules afternode.parent
is already set (fixes #9122) (#9283) (Teddy Katz)4431d68
Docs: fix wrong config in max-len example. (#9309) (薛定谔的猫)7d24dde
Docs: Fix code snippet to refer to the correct option (#9313) (Ruben Tytgat)12388d4
Chore: rewrite parseListConfig for a small perf gain. (#9300) (薛定谔的猫)ce1f084
Update: fix MemberExpression handling in no-extra-parens (fixes #9156) (jackyho112)0c720a3
Update: allow autofixing when using processors (fixes #7510) (#9090) (Teddy Katz)838df76
Chore: upgrade deps. (#9289) (薛定谔的猫)f12def6
Update: indent flatTernary option to handlereturn
(fixes #9285) (#9296) (Teddy Katz)e220687
Fix: remove autofix for var undef inits (fixes #9231) (#9288) (Victor Hom)002e199
Docs: fix no-restricted-globals wrong config. (#9305) (薛定谔的猫)fcfe91a
Docs: fix wrong config in id-length example. (#9303) (薛定谔的猫)2731f94
Update: make newline-per-chained-call fixable (#9149) (João Granado)61f1093
Chore: avoid monkeypatching Linter instances in RuleTester (#9276) (Teddy Katz)28929cb
Chore: remove Linter#reset (refs #9161) (#9268) (Teddy Katz)abc8634
Build: re-run browserify when generating site (#9275) (Teddy Katz)7685fed
Fix: IIFE and arrow functions in no-invalid-this (fixes #9126) (#9258) (Toru Nagashima)2b1eba2
Chore: enable eslint-plugin/no-deprecated-context-methods (#9279) (Teddy Katz)