UNPKG

@sailshq/eslint

Version:

An AST-based pattern checker for JavaScript.

670 lines (599 loc) 323 kB
v4.19.1 - March 21, 2018 * 3ff5d11 Fix: no-invalid-regexp not understand variable for flags (fixes #10112) (#10113) (薛定谔的猫) * abc765c Fix: object-curly-newline minProperties w/default export (fixes #10101) (#10103) (Kevin Partington) * 6f9e155 Docs: Update ambiguous for...in example for guard-for-in (#10114) (CJ R) * 0360cc2 Chore: Adding debug logs on successful plugin loads (#10100) (Kevin Partington) * a717c5d Chore: Adding log at beginning of unit tests in Makefile.js (#10102) (Kevin Partington) v4.19.0 - March 16, 2018 * 55a1593 Update: consecutive option for one-var (fixes #4680) (#9994) (薛定谔的猫) * 8d3814e Fix: false positive about ES2018 RegExp enhancements (fixes #9893) (#10062) (Toru Nagashima) * 935f4e4 Docs: Clarify default ignoring of node_modules (#10092) (Matijs Brinkhuis) * 72ed3db Docs: Wrap `Buffer()` in backticks in `no-buffer-constructor` rule description (#10084) (Stephen Edgar) * 3aded2f Docs: Fix lodash typos, make spacing consistent (#10073) (Josh Smith) * e33bb64 Chore: enable no-param-reassign on ESLint codebase (#10065) (Teddy Katz) * 66a1e9a Docs: fix possible typo (#10060) (Vse Mozhet Byt) * 2e68be6 Update: give a node at least the indentation of its parent (fixes #9995) (#10054) (Teddy Katz) * 72ca5b3 Update: Correctly indent JSXText with trailing linebreaks (fixes #9878) (#10055) (Teddy Katz) * 2a4c838 Docs: Update ECMAScript versions in FAQ (#10047) (alberto) v4.18.2 - March 2, 2018 * 6b71fd0 Fix: table@4.0.2, 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 - February 20, 2018 * 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 - February 16, 2018 * 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 - February 2, 2018 * 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 the `globals` key in the no-undef docs (#9867) (Dan Dascalescu) v4.16.0 - January 19, 2018 * 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 - January 6, 2018 * 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: add `ignoreComments` option to `indent` 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 - December 23, 2017 * 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 in `complexity` rule (fixes #8535) (#9754) (Kevin Partington) * eb4b1e0 Docs: reintroduce misspelling in `valid-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 message `source` 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 rule`lines-between-class-members` (fixes #9665) (#9680) (sakabar) v4.13.1 - December 11, 2017 * 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 - December 8, 2017 * 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 - November 30, 2017 * 1e362a0 Revert "Fix: Use XML 1.1 on XML formatters (fixes #9607) (#9608)" (#9667) (Kevin Partington) v4.12.0 - November 25, 2017 * 76dab18 Upgrade: doctrine@^2.0.2 (#9656) (Kevin Partington) * 28c9c8e New: add a Linter#defineParser function (#9321) (Ives van Hoorne) * 5619910 Update: Add autofix for `sort-vars` (#9496) (Trevin Hofmann) * 71eedbf Update: add `beforeStatementContinuationChars` 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 - November 10, 2017 * 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 for `lines-around-comment` (#9589) (Clément Fiorio) * b6a7490 Build: ensure fuzzer tests get run with `npm 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 ajv@5.3.0 (#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 in `no-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 - October 27, 2017 * 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: remove `npm 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: fix `npm 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 - October 14, 2017 * 85388fb Fix: Correct error and test messages to fit config search path (#9428) (Jonathan Pool) * 62a323c Fix: Add class options for `lines-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 - September 29, 2017 * 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 - September 21, 2017 * 4f87732 Fix: Revert setting node.parent early (fixes #9331) (#9336) (Teddy Katz) v4.7.1 - September 18, 2017 * 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 - September 15, 2017 * 787b78b Upgrade: Espree v3.5.1 (fixes #9153) (#9314) (Brandon Mills) * 1488b51 Update: run rules after `node.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 handle `return` (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) * 981f933 Fix: reuse the AST of source code object in verify (#9256) (Toru Nagashima) * cd698ba Docs: move RuleTester documentation to Node.js API page (#9273) (Teddy Katz) * 4ae7ad3 Docs: fix inaccuracy in `npm run perf` description (#9274) (Teddy Katz) * cad45bd Docs: improve documentation for rule contexts (#9272) (Teddy Katz) * 3b0c6fd Chore: remove extraneous linter properties (refs #9161) (#9267) (Teddy Katz) * c3231b3 Docs: Fix typo in array-bracket-newline.md (#9269) (宋文强) * 51132d6 Fix: Formatters keep trailing '.' if preceded by a space (fixes #9154) (#9247) (i-ron-y) * 88d5d4d Chore: remove undocumented Linter#markVariableAsUsed method (refs #9161) (#9266) (Teddy Katz) * 09414cf Chore: remove internal Linter#getDeclaredVariables method (refs #9161) (#9264) (Teddy Katz) * f31f59d Chore: prefer smaller scope for variables in codebase (#9265) (Teddy Katz) * 3693e4e Chore: remove undocumented Linter#getScope method (#9253) (Teddy Katz) * 5d7eb81 Chore: refactor config hash caching in CLIEngine (#9260) (Teddy Katz) * 1a76c4d Chore: remove SourceCode passthroughs from Linter.prototype (refs #9161) (#9263) (Teddy Katz) * 40ae27b Chore: avoid relying on Linter#getScope/markVariableAsUsed in tests (#9252) (Teddy Katz) * b383d81 Chore: make executeOnFile a pure function in CLIEngine (#9262) (Teddy Katz) * 5e0e579 Chore: avoid internal SourceCode methods in Linter tests (refs #9161) (#9223) (Teddy Katz) * adab827 Chore: remove unused eslint-disable comment (#9251) (Teddy Katz) * 31e4ec8 Chore: use consistent names for apply-disable-directives in tests (#9246) (Teddy Katz) * 7ba46e6 Fix: shebang error in eslint-disable-new-line; add tests (fixes #9238) (#9240) (i-ron-y) * 8f6546c Chore: remove undocumented defaults() method (refs #9161) (#9237) (Teddy Katz) * 82d8b73 Docs: Fix error in example code for sort-imports (fixes #8734) (#9245) (i-ron-y) * a32ec36 Update: refactor eslint-disable comment processing (#9216) (Teddy Katz) * 583f0b8 Chore: avoid using globals in CLIEngine tests (#9242) (Teddy Katz) * c8bf687 Chore: upgrade eslint-plugin-eslint-plugin@1.0.0 (#9234) (薛定谔的猫) * 3c41a05 Chore: always normalize rules to new API in rules.js (#9236) (Teddy Katz) * c5f4227 Chore: move logic for handling missing rules to rules.js (#9235) (Teddy Katz) * bf1e344 Chore: create report translators lazily (#9221) (Teddy Katz) * 2eedc1f Chore: remove currentFilename prop from Linter instances (refs #9161) (#9219) (Teddy Katz) * 5566e94 Docs: Replace misleading CLA links (#9133) (#9232) (i-ron-y) * c991630 Chore: remove ConfigOps.normalize in favor of ConfigOps.getRuleSeverity (#9224) (Teddy Katz) * 171962a Chore: remove internal Linter#getAncestors helper (refs #9161) (#9222) (Teddy Katz) * a567499 Chore: avoid storing list of problems on Linter instance (refs #9161) (#9214) (Teddy Katz) * ed6d088 Chore: avoid relying on undocumented Linter#getFilename API in tests (#9218) (Teddy Katz) v4.6.1 - September 3, 2017 * bdec46d Build: avoid process leak when generating website (#9217) (Teddy Katz) * cb74b87 Fix: avoid adding globals when an env is used with `false` (fixes #9202) (#9203) (Teddy Katz) * f9b7544 Docs: Correct a typo in generator-star-spacing documentation (#9205) (Ethan Rutherford) * e5c5e83 Build: Fixing issue with docs generation (Fixes #9199) (#9200) (Ilya Volodin) v4.6.0 - September 1, 2017 * 56dd769 Docs: fix link format in prefer-arrow-callback.md (#9198) (Vse Mozhet Byt) * 6becf91 Update: add eslint version to error output. (fixes #9037) (#9071) (薛定谔的猫) * 0e09973 New: function-paren-newline rule (fixes #6074) (#8102) (Teddy Katz) * 88a64cc Chore: Make parseJsonConfig() a pure function in Linter (#9186) (Teddy Katz) * 1bbac51 Fix: avoid breaking eslint-plugin-eslint-comments (fixes #9193) (#9196) (Teddy Katz) * 3e8b70a Fix: off-by-one error in eslint-disable comment checking (#9195) (Teddy Katz) * 73815f6 Docs: rewrite prefer-arrow-callback documentation (fixes #8950) (#9077) (Charles E. Morgan) * 0d3a854 Chore: avoid mutating report descriptors in report-translator (#9189) (Teddy Katz) * 2db356b Update: no-unused-vars Improve message to include the allowed patterns (#9176) (Eli White) * 8fbaf0a Update: Add configurability to generator-star-spacing (#8985) (Ethan Rutherford) * 8ed779c Chore: remove currentScopes property from Linter instances (refs #9161) (#9187) (Teddy Katz) * af4ad60 Fix: Handle error when running init without npm (#9169) (Gabriel Aumala) * 4b94c6c Chore: make parse() a pure function in Linter (refs #9161) (#9183) (Teddy Katz) * 1be5634 Chore: don't make Linter a subclass of EventEmitter (refs #9161) (#9177) (Teddy Katz) * e95af9b Chore: don't include internal test helpers in npm package (#9160) (Teddy Katz) * 6fb32e1 Chore: avoid using private Linter APIs in astUtils tests (refs #9161) (#9173) (Teddy Katz) * de6dccd Docs: add documentation for Linter methods (refs #6525) (#9151) (Teddy Katz) * 2d90030 Chore: remove unused assignment. (#9182) (薛定谔的猫) * d672aef Chore: refactor reporting logic (refs #9161) (#9168) (Teddy Katz) * 5ab0434 Fix: indent crash on sparse arrays with "off" option (fixes #9157) (#9166) (Teddy Katz) * c147b97 Chore: Make SourceCodeFixer accept text instead of a SourceCode instance (#9178) (Teddy Katz) * f127423 Chore: avoid using private Linter APIs in Linter tests (refs #9161) (#9175) (Teddy Katz) * 2334335 Chore: avoid using private Linter APIs in SourceCode tests (refs #9161) (#9174) (Teddy Katz) * 2dc243a Chore: avoid using internal Linter APIs in RuleTester (refs #9161) (#9172) (Teddy Katz) * d6e436f Fix: no-extra-parens reported some parenthesized IIFEs (fixes #9140) (#9158) (Teddy Katz) * e6b115c Build: Add an edit link to the rule docs’ metadata (#9049) (Jed Fox) * fcb7bb4 Chore: avoid unnecessarily complex forEach calls in no-extra-parens (#9159) (Teddy Katz) * ffa021e Docs: quotes rule - when does \n require backticks (#9135) (avimar) * 60c5148 Chore: improve coverage in lib/*.js (#9130) (Teddy Katz) v4.5.0 - August 18, 2017 * decdd2c Update: allow arbitrary nodes to be ignored in `indent` (fixes #8594) (#9105) (Teddy Katz) * 79062f3 Update: fix indentation of multiline `new.target` expressions (#9116) (Teddy Katz) * d00e24f Upgrade: `chalk` to 2.x release (#9115) (Stephen Edgar) * 6ef734a Docs: add missing word in processor documentation (#9106) (Teddy Katz) * a4f53ba Fix: Include files with no messages in junit results (#9093) (#9094) (Sean DuBois) * 1d6a9c0 Chore: enable eslint-plugin/test-case-shorthand-strings (#9067) (薛定谔的猫) * f8add8f Fix: don't autofix with linter.verifyAndFix when `fix: false` is used (#9098) (Teddy Katz) * 77bcee4 Docs: update instructions for adding TSC members (#9086) (Teddy Katz) * bd09cd5 Update: avoid requiring NaN spaces of indentation (fixes #9083) (#9085) (Teddy Katz) * c93a853 Chore: Remove extra space in blogpost template (#9088) (Kai Cataldo) v4.4.1 - August 7, 2017 * ec93614 Fix: no-multi-spaces to avoid reporting consecutive tabs (fixes #9079) (#9087) (Teddy Katz) v4.4.0 - August 5, 2017 * 89196fd Upgrade: Espree to 3.5.0 (#9074) (Gyandeep Singh) * b3e4598 Fix: clarify AST and don't use `node.start`/`node.end` (fixes #8956) (#8984) (Toru Nagashima) * 62911e4 Update: Add ImportDeclaration option to indent rule (#8955) (David Irvine) * de75f9b Chore: enable object-curly-newline & object-property-newline.(fixes #9042) (#9068) (薛定谔的猫) * 5ae8458 Docs: fix typo in object-shorthand.md (#9066) (Jon Berry) * c3d5b39 Docs: clarify options descriptions (fixes #8875) (#9060) (Brandon Mailhiot) * 37158c5 Docs: clarified behavior of globalReturn option (fixes #8953) (#9058) (Brandon Mailhiot) * c2f3553 Docs: Update example for MemberExpression option of indent (fixes #9056) (#9057) (Jeff) * 78a85e0 Fix: no-extra-parens incorrectly reports async function expressions (#9035) (薛定谔的猫) * c794f86 Fix: getter-return reporting method named 'get' (fixes #8919) (#9004) (薛定谔的猫) * d0f78ec Docs: update rule deprecation policy (fixes #8635) (#9033) (Teddy Katz) * 5ab282f Fix: Print error message in bin/eslint.js (fixes #9011) (#9041) (Victor Hom) * 50e3cf3 Docs: Update sort-keys doc to define natural ordering (fixes #9043) (#9045) (Karan Sharma) * 7ecfe6a Chore: enable eslint-plugin/test-case-property-ordering (#9040) (薛定谔的猫) * ad32697 Upgrade: js-yaml to 3.9.1 (refs #9011) (#9044) (Teddy Katz) * 66c1d43 Docs: Create SUPPORT.md (#9031) (Teddy Katz) * 7247b6c Update: handle indentation of custom destructuring syntax (fixes #8990) (#9027) (Teddy Katz) * cdb82f2 Fix: padding-line-between-statements crash on semicolons after blocks (#8748) (Alexander Madyankin) * 3141872 Chore: remove unnecessary eslint-disable comments in codebase (#9032) (Teddy Katz) * 0f97279 Fix: refactor no-multi-spaces to avoid regex backtracking (fixes #9001) (#9008) (Teddy Katz) * b74514d Fix: refactor RuleContext to not modify report locations (fixes #8980) (#8997) (Teddy Katz) * 31d7fd2 Fix: inconsistent `indent` behavior on computed properties (fixes #8989) (#8999) (Teddy Katz) * 3393894 Fix: avoid reporting the entire AST for missing rules (#8998) (Teddy Katz) * b3b95b8 Chore: enable additional rules on ESLint codebase (#9013) (Teddy Katz) * 9b6c552 Upgrade: eslint-plugin-eslint-plugin@0.8.0 (#9012) (薛定谔的猫) * acbe86a Chore: disallow .substr and .substring in favor of .slice (#9010) (Teddy Katz) * d0536d6 Chore: Optimizes adding Linter methods (fixes #9000) (#9007) (Sean C Denison) * 0a0401f Chore: fix spelling error. (#9003) (薛定谔的猫) * 3d020b9 Update: emit a warning for ecmaFeatures rather than throwing an error (#8974) (Teddy Katz) * d2f8f9f Fix: include name of invalid config in validation messages (fixes #8963) (#8973) (Teddy Katz) * c3ee46b Chore: fix misleading comment in RuleTester (#8995) (Teddy Katz) v4.3.0 - July 21, 2017 * 91dccdf Update: support more options in prefer-destructuring (#8796) (Victor Hom) * 3bebcfd Update: Support generator yields in no constant condition (#8762) (Victor Hom) * 96df8c9 Fix: Handle fixing objects containing comments (fixes #8484) (#8944) (Brian Schemp) * e39d41d Docs: Make `peerDependencies` package.json snippet valid JSON (#8971) (Sam Adams) * a5fd101 Fix: duplicated error message if a crash occurs (fixes #8964) (#8965) (Teddy Katz) * f8d122c Docs: trailing commas not allowed in json (#8969) (Scott Fletcher) * d09288a Chore: Use `output: null` to assert that a test case is not autofixed. (#8960) (薛定谔的猫) * e639358 Update: add question to confirm downgrade (fixes #8870) (#8911) (Toru Nagashima) * 601039d Docs: fix badge in eslint-config-eslint readme (#8954) (Teddy Katz) * 3c231fa Update: add enforceInMethodNames to no-underscore-dangle (fixes #7065) (#7234) (Gabriele Petronella) * 128591f Update: prefer-numeric-literals warns Number.parseInt (fixes #8913) (#8929) (Kevin Partington) * 846f8b1 Docs: Clarified that core PRs require issue in maintainer guide (#8927) (Kevin Partington) * 55bc35d Fix: Avoid shell mangling during eslint --init (#8936) (Anders Kaseorg) * 10c3d78 Chore: fix misleading `indent` test (#8925) (Teddy Katz) * fb8005d Update: no-restricted-globals custom error messages (fixes #8315) (#8932) (Kevin Partington) * a747b6f Chore: make minor improvements to `indent` internals (#8947) (Teddy Katz) * 1ea3723 Update: fix indentation of parenthesized MemberExpressions (fixes #8924) (#8928) (Teddy Katz) * 9abc6f7 Update: fix BinaryExpression indentation edge case (fixes #8914) (#8930) (Teddy Katz) * 0e90453 Docs: Fixing broken cyclomatic complexity link (fixes #8396) (#8937) (Chris Bargren) * a8a8350 Chore: improve performance of `indent` rule (#8905) (Teddy Katz) * 764b2a9 Chore: update header info in `indent` (#8926) (Teddy Katz) * 597c217 Fix: confusing error if plugins from config is not an array (#8888) (Calvin Freitas) * 3c1dd6d Docs: add description of no-sync `allowAtRootLevel` option (fixes #8902) (#8906) (Teddy Katz) * 933a9cf Chore: add a fuzzer to detect bugs in core rules (#8422) (Teddy Katz) * 45f8cd9 Docs: fix verifyAndFix result property name (#8903) (Tino Vyatkin) * 1a89e1c Docs: Fix always-multiline example in multiline-ternary docs (#8904) (Nathan Woltman) v4.2.0 - July 8, 2017 * e0f0101 Update: fix indentation of nested function parameters (fixes #8892) (#8900) (Teddy Katz) * 9f95a3e Chore: remove unused helper method from `indent` (#8901) (Teddy Katz) * 11ffe6b Fix: no-regex-spaces rule incorrectly fixes quantified spaces (#8773) (Keri Warr) * 975dacf Update: fix indentation of EmptyStatements (fixes #8882) (#8885) (Teddy Katz) * 88ed041 Build: Turnoff CI branch build (fixes #8804) (#8873) (Gyandeep Singh) * 72f22eb Chore: replace is-my-json-valid with Ajv (#8852) (Gajus Kuizinas) * 7c8de92 Docs: Clarified PR guidelines in maintainer guide (#8876) (Kevin Partington) * d1fc408 Docs: Update CLA link in Contributing docs (#8883) (Calvin Freitas) * 931a9f1 Fix: indent false positive with multi-line await expression (#8837) (薛定谔的猫) * 3767cda Update: add no-sync option to allow at root level (fixes #7985) (#8859) (Victor Hom) * 1ce553d Docs: Fix wording of minProperties in object-curly-newline (fixes #8874) (#8878) (solmsted) * f00854e Fix: --quiet no longer fixes warnings (fixes #8675) (#8858) (Kevin Partington) * b678535 Chore: Add collapsible block for config in ISSUE_TEMPLATE (#8872) (Gyandeep Singh) * 1f5bfc2 Update: Add always-multiline option to multiline-ternary (fixes #8770) (#8841) (Nathan Woltman) * 22116f2 Fix: correct comma-dangle JSON schema (#8864) (Evgeny Poberezkin) * 676af9e Update: fix indentation of JSXExpressionContainer contents (fixes #8832) (#8850) (Teddy Katz) * 330dd58 Chore: fix title of linter test suite (#8861) (Teddy Katz) * 60099ed Chore: enable for-direction rule on ESLint codebase (#8853) (薛定谔的猫) * e0d1a84 Chore: upgrade eslint-plugin-eslint-plugin & eslint-plugin-node (#8856) (薛定谔的猫) * 0780d86 Chore: remove identical tests (#8851) (Teddy Katz) * 5c3ac8e Fix: arrow-parens fixer gets tripped up with trailing comma in args (#8838) (薛定谔的猫) * c4f2e29 Build: fix race condition in demo (#8827) (Teddy Katz) * c693be5 New: Allow passing a function as `fix` option (fixes #8039) (#8730) (Ian VanSchooten) * 8796d55 Docs: add missing item to 4.0 migration guide table of contents (#8835) (薛定谔的猫) * 742998c doc md update: false -> `false` (#8825) (Erik Vold) * ce969f9 Docs: add guidelines for patch release communication (fixes #7277) (#8823) (Teddy Katz) * 5c83c99 Docs: Clarify arrow function parens in no-extra-parens (fixes #8741) (#8822) (Kevin Partington) * 84d921d Docs: Added note about Node/CJS scoping to no-redeclare (fixes #8814) (#8820) (Kevin Partington) * 85c9327 Update: fix parenthesized CallExpression indentation (fixes #8790) (#8802) (Teddy Katz) * be8d354 Update: simplify variable declarator indent handling (fixes #8785) (#8801) (Teddy Katz) * 9417818 Fix: no-debugger autofixer produced invalid syntax (#8806) (Teddy Katz) * 8698a92 New: getter-return rule (fixes #8449) (#8460) (薛定谔的猫) * eac06f2 Fix: no-extra-parens false positives for variables called "let" (#8808) (Teddy Katz) * 616587f Fix: dot-notation autofix produces syntax errors for object called "let" (#8807) (Teddy Katz) * a53ef7e Fix: don't require a third argument in linter.verifyAndFix (fixes #8805) (#8809) (Teddy Katz) * 5ad8b70 Docs: add minor formatting improvement to paragraph about parsers (#8816) (Teddy Katz) v4.1.1 - June 25, 2017 * f307aa0 Fix: ensure configs from a plugin are cached separately (fixes #8792) (#8798) (Teddy Katz) * 8b48ae8 Docs: Add doc on parser services (fixes #8390) (#8795) (Victor Hom) * 0d041e7 Fix: avoid crashing when using baseConfig with extends (fixes #8791) (#8797) (Teddy Katz) * 03213bb Chore: improve comment explanation of `indent` internal functions (#8800) (Teddy Katz) * d2e88ed Chore: Fix misleading comment in ConfigCache.js (#8799) (Teddy Katz) v4.1.0 - June 23, 2017 * e8f1362 Docs: Remove wrong descriptions in `padded-block` rule (#8783) (Plusb Preco) * 291a783 Update: `enforceForArrowConditionals` to `no-extra-parens` (fixes #6196) (#8439) (Evilebot Tnawi) * a21dd32 New: Add `overrides`/`files` options for glob-based config (fixes #3611) (#8081) (Sylvan Mably) * 879688c Update: Add ignoreComments option to no-trailing-spaces (#8061) (Jake Roussel) * b58ae2e Chore: Only instantiate fileEntryCache when cache flage set (perf) (#8763) (Gyandeep Singh) * 9851288 Update: fix indent errors on multiline destructure (fixes #8729) (#8756) (Victor Hom) * 3608f06 Docs: Increase visibility of code of conduct (fixes #8758) (#8764) (Kai Cataldo) * 673a58b Update: support multiple fixes in a report (fixes #7348) (#8101) (Toru Nagashima) * 7a1bc38 Fix: don't pass default parserOptions to custom parsers (fixes #8744) (#8745) (Teddy Katz) * c5b4052 Chore: enable computed-property-spacing on ESLint codebase (#8760) (Teddy Katz) * 3419f64 Docs: describe how to use formatters on the formatter demo page (#8754) (Teddy Katz) * a3ff8f2 Chore: combine tests in tests/lib/eslint.js and tests/lib/linter.js (#8746) (Teddy Katz) * b7cc1e6 Fix: Space-infix-ops should ignore type annotations in TypeScript (#8341) (Reyad Attiyat) * 46e73ee Fix: eslint --init installs wrong dependencies of popular styles (fixes #7338) (#8713) (Toru Nagashima) * a82361b Chore: Prevent package-lock.json files from being created (fixes #8742) (#8747) (Teddy Katz) * 5f81a68 New: Add eslintIgnore support to package.json (fixes #8458) (#8690) (Victor Hom) * b5a70b4 Update: fix multiline binary operator/parentheses indentation (#8719) (Teddy Katz) * ab8b016 Update: fix MemberExpression indentation with "off" option (fixes #8721) (#8724) (Teddy Katz) * eb5d12c Update: Add Fixer method to Linter API (#8631) (Gyandeep Singh) * 26a2daa Chore: Cache fs reads in ignored-paths (fixes #8363) (#8706) (Victor Hom) v4.0.0 - June 11, 2017 * 4aefb49 Chore: avoid using deprecated rules on ESLint codebase (#8708) (Teddy Katz) * 389feba Chore: upgrade deps. (#8684) (薛定谔的猫) * 3da7b5e Fix: Semi-Style only check for comments when tokens exist (fixes #8696) (#8697) (Reyad Attiyat) * 3cfe9ee Fix: Add space between async and param on fix (fixes #8682) (#8693) (Reyad Attiyat) * c702858 Chore: enable no-multiple-empty-lines on ESLint codebase (#8694) (Teddy Katz) * 34c4020 Update: Add support for parens on left side for-loops (fixes: #8393) (#8679) (Victor Hom) * 735cd09 Docs: Correct the comment in an example for `no-mixed-requires` (#8686) (Fangzhou Li) * 026f048 Chore: remove dead code from prefer-const (#8683) (Teddy Katz) v4.0.0-rc.0 - June 2, 2017 * 0058b0f8 Update: add --fix to no-debugger (#8660) (薛定谔的猫) * b4daa225 Docs: Note to --fix option for strict rule (#8680) (Vitaliy Potapov) * 4df33e7c Chore: check for root:true in project sooner (fixes #8561) (#8638) (Victor Hom) * c9b980ce Build: Add Node 8 on travis (#8669) (Gyandeep Singh) * 95248336 Fix: Don't check object destructing in integer property (fixes #8654) (#8657) (flowmemo) * c4ac969c Update: fix parenthesized ternary expression indentation (fixes #8637) (#8649) (Teddy Katz) * 4f2f9fcb Build: update license checker to allow LGPL (fixes #8647) (#8652) (Teddy Katz) * b0c83bd1 Docs: suggest pushing new commits to a PR instead of amending (#8632) (Teddy Katz) * d0e9fd2d Fix: Config merge to correctly account for extends (fixes #8193) (#8636) (Gyandeep Singh) * 705d88f7 Docs: Update CLA link on Pull Requests page (#8642) (Teddy Katz) * 794d4d6c Docs: missing paren on readme (#8640) (Dan Beam) * 7ebd9d6f New: array-element-newline rule (fixes #6075) (#8375) (Jan Peer Stöcklmair) * f62cff66 Chore: Remove dependency to user-home (fixes #8604) (#8629) (Pavol Madar) * 936bc174 Docs: Add missing documentation for scoped modules in sharable config developer-guide (#8610) (Jonathan Samines) v4.0.0-beta.0 - May 19, 2017 * 2f7015b6 New: semi-style rule (fixes #8169) (#8542) (Toru Nagashima) * 1eaef580 Revert "Breaking: Traverse into type annotations (fixes #7129) (#8365)" (#8584) (Kai Cataldo) * eb14584a Fix: no-unneeded-ternary change code behavior after fix (fixes #8507) (#8624) (Jan Peer Stöcklmair) * 3ec436ee Breaking: New Linter API (fixes #8454) (#8465) (Gyandeep Singh) * 3fc9653a Fix: Call expression consistency in variable declaration (fixes #8607) (#8619) (Reyad Attiyat) * 5b6093ef Docs: Remove .eslintignore reference to transpiled file filtering (#8622) (Alex Summer) * 729bbcdb Chore: Fix lgtm alerts. (#8611) (Max Schaefer) * 3418479a Update: improve indent of `flatTernaryExpressions` (fixes #8481) (#8587) (Toru Nagashima) * 268d52ef Update: Use sane defaults for JSX indentation (fixes #8425) (#8593) (Teddy Katz) * d21f5283 Chore: make shelljs a devDependency instead of a dependency (#8608) (Teddy Katz) * 11493781 Docs: Rephrase in about section (#8609) (Sudarsan G P) * 23401626 Chore: remove strip-bom dependency (refs #8603) (#8606) (Teddy Katz) * a93a2f95 New: padding-line-between-statements rule (fixes #7356) (#8099) (Toru Nagashima) * 0ef09ea0 New: for-direction rule (fixes #8387) (#8519) (薛定谔的猫) * a73e6c09 Fix: Fix failing uknown node test since #8569 indents class bodies (#8588) (Reyad Attiyat) * c6c639d6 Fix: Ignore unknown nodes for Indent rule (fixes #8440) (#8504) (Reyad Attiyat) * df17bc87 Fix: object-shorthand crash on some computed keys (fixes #8576) (#8577) (Teddy Katz) * 482d5720 New: switch-colon-spacing rule (fixes #7981) (#8540) (Toru Nagashima) * afa35c68 Update: check allman-style classes correctly in indent (fixes #8493) (#8569) (Teddy Katz) * de0b4ad7 Fix: Indent Ignore Variable Declaration init operator (fixes #8546) (#8563) (Reyad Attiyat) * 927ca0dc Fix: invalid syntax from prefer-arrow-callback autofixer (fixes #8541) (#8555) (Teddy Katz) * 25db3d22 Chore: avoid skipping test for env overrides (refs #8291) (#8556) (Teddy Katz) * 456f519b Update: make indent MemberExpression handling more robust (fixes #8552) (#8554) (Teddy Katz) * 873310e5 Fix: run no-unexpected-multiline only if needed (fixes #8550) (#8551) (Ruben Bridgewater) * 833a0cad Fix: confusing RuleTester error message when options is not an array (#8557) (Teddy Katz) v4.0.0-alpha.2 - May 5, 2017 * 74ab344 Update: check allman-style blocks correctly in indent rule (fixes #8493) (#8499) (Teddy Katz) * f6256d4 Update: no-extend-native checks global scope refs only (fixes #8461) (#8528) (Kevin Partington) * b463045 Docs: add typescript-eslint-parser (#8388) (#8534) (薛定谔的猫) * 99c56d5 Update: handle multiline parents consistently in indent (fixes #8455) (#8498) (Teddy Katz) * cf940c6 Update: indent `from` tokens in import statements (fixes #8438) (#8466) (Teddy Katz) * 0a9a90f Fix: max-len doesn't allow comments longer than code (#8532) (Ken Gregory) * 734846b Breaking: validate eslintrc properties (fixes #8213) (#8295) (alberto) * 025e97a Chore: delete duplicated test. (#8527) (薛定谔的猫) * 6a333ff Upgrade: espree@^3.4.2 (#8526) (Kevin Partington) * e52d998 Docs: Configuring Cascading and Hierarchy example correction (#8512) (Cheong Yip) * e135aa5 Docs: Correct code of conduct link on Readme.md (#8517) (Zander Mackie) * 37e3ba1 Chore: Add license report and scan status (#8503) (Kevin Wang) * afbea78 Chore: don't pull default options from eslint:recommended (fixes #8374) (#8381) (Teddy Katz) * d49acc3 Update: fix no-self-compare false negative on non-literals (fixes #7677) (#8492) (Teddy Katz) * aaa1a81 Fix: avoid creating extra whitespace in brace-style fixer (fixes #7621) (#8491) (Teddy Katz) * 9c3da77 Docs: list another related rule in no-undefined (#8467) (Ethan) * f987814 Docs: Update CHANGELOG.md for v4.0.0-alpha.1 release (#8488) (Kai Cataldo) v4.0.0-alpha.1 - April 21, 2017 * b0dadfe3 Docs: Update comments section of Migrating to v4.0.0 (#8486) (Kai Cataldo) * b337738f Update: Add `consistent` option to `object-curly-newline` (fixes #6488) (#7720) (Evilebot Tnawi) * 53fefb3b Update: add fix for no-confusing-arrow (#8347) (Mordy Tikotzky) * 735d02d5 Update: Deprecate sourceCode.getComments() (fixes #8408) (#8434) (Kai Cataldo) * ac39e3b0 Update: no-unexpected-multiline to flag confusing division (fixes #8469) (#8475) (Teddy Katz) * e35107f0 Fix: indent crash on arrow functions without parens at start of line (#8477) (Teddy Katz) * 973adeb6 Docs: State that functions option only applies in ES2017 (fixes #7809) (#8468) (Thenaesh Elango) * 7bc6fe0a New: array-bracket-newline rule (#8314) (Jan Peer Stöcklmair) * 10a1a2d7 Chore: Do not use cache when testing (#8464) (Kai Cataldo) * 9f540fd2 Update: no-unused-vars false negative about destructuring (fixes #8442) (#8459) (Toru Nagashima) * 741ed393 Docs: Clarify how to run local ESLint installation (#8463) (Kai Cataldo) * fac53890 Breaking: Remove array-callback-return from recommended (fixes #8428) (#8433) (Kai Cataldo) * 288c96c1 Upgrade: dependencies (#8304) (alberto) * 48700fc8 Docs: Remove extra header line from LICENSE (#8448) (Teddy Katz) * 161ee4ea Chore: avoid cloning comments array in TokenStore (#8436) (Teddy Katz) * 0c2a386e Docs: clarify new indent behavior with MemberExpressions (#8432) (Teddy Katz) * 446b8876 Docs: update space-before-function-paren docs for 4.0 (fixes #8430) (#8431) (Teddy Katz) v4.0.0-alpha.0 - April 7, 2017 * 950874f Docs: add 4.0.0 migration guide (fixes #8306) (#8313) (Teddy Katz) * 2754141 Fix: more autofix token-combining bugs (#8394) (Teddy Katz) * f5a7e42 Breaking: log number of fixable problems (fixes #7364) (#8324) (alberto) * 769b121 Chore: Fix indentation errors in indent-legacy (#8424) (Kai Cataldo) * 8394e48 Update: add deprecated indent-legacy rule as v3.x indent rule snapshot (#8286) (Teddy Katz) * 3c87e85 Fix: no-multi-spaces false positive with irregular indent whitespace (#8412) (Teddy Katz) * cc53481 Breaking: rewrite indent (fixes #1801, #3737, #3845, #6007, ...16 more) (#7618) (Teddy Katz) * 867dd2e Breaking: Calculate leading/trailing comments in core (#7516) (Kai Cataldo) * de9f1a0 Docs: ES6 syntax vs globals configuration (fixes #7984) (#8350) (Zander Mackie) * 66af53e Breaking: Traverse into type annotations (fixes #7129) (#8365) (Kai Cataldo) * 86cf3e4 New: no-buffer-constructor rule (fixes #5614) (#8413) (Teddy Katz) * f560c06 Update: fix space-unary-ops behavior with postfix UpdateExpressions (#8391) (Teddy Katz) * 936af66 Fix: no-multiple-empty-lines crash on space after last \n (fixes #8401) (#8402) (Teddy Katz) * e395919 Breaking: Resolve patterns from .eslintignore directory (fixes #6759) (#7678) (Ian VanSchooten) * c778676 Breaking: convert RuleTester to ES6 class (refs #8231) (#8263) (Teddy Katz) * 6f7757e Breaking: convert SourceCode to ES6 class (refs #8231) (#8264) (Teddy Katz) * 8842d7e Chore: fix comment spacing in tests (#8405) (Teddy Katz) * 9a9d916 Breaking: update eslint:recommended for 4.0.0 (fixes #8236) (#8372) (Teddy Katz) * b0c63f0 Breaking: infer endLine and endColumn from a reported node (fixes #8004) (#8234) (Teddy Katz) * 40b8c69 Breaking: no-multi-spaces check around inline comments (fixes #7693) (#7696) (Kai Cataldo) * 034a575 Breaking: convert CLIEngine to ES6 class (refs #8231) (#8262) (Teddy Katz) * 7dd890d Breaking: tweak space-before-function-paren default option (fixes #8267) (#8285) (Teddy Katz) * 0e0dd27 Breaking: Remove `ecmaFeatures` from `eslint:recommended` (#8239) (alberto) * 2fa7502 Breaking: disallow scoped plugin references without scope (fixes #6362) (#8233) (Teddy Katz) * 4673f6e Chore: Switch to eslint-scope from escope (#8280) (Corbin Uselton) * e232464 Breaking: change defaults for padded-blocks (fixes #7879) (#8134) (alberto) v3.19.0 - March 31, 2017 * e09132f Fix: no-extra-parens false positive with exports and object literals (#8359) (Teddy Katz) * 91baed4 Update: allow custom messages in no-restricted-syntax (fixes #8298) (#8357) (Vitor Balocco) * 35c93e6 Fix: prevent space-before-function-paren from checking type annotations (#8349) (Teddy Katz) * 3342e9f Fix: don't modify operator precedence in operator-assignment autofixer (#8358) (Teddy Katz) * f88375f Docs: clarify that no-unsafe-negation is in eslint:recommended (#8371) (Teddy Katz) * 02f0d27 Docs: Add soda0289 to Development Team (#8367) (Kai Cataldo) * 155424c Fix: ignore empty path in patterns (fixes #8362) (#8364) (alberto) * 27616a8 Fix: prefer-const false positive with object spread (fixes #8187) (#8297) (Vitor Balocco) * 8569a90 Docs: add note about