Update dependency eslint to ~3.19.0 #541
Open
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.9.1->~3.19.0Release Notes
eslint/eslint (eslint)
v3.19.0Compare Source
e09132fFix: no-extra-parens false positive with exports and object literals (#8359) (Teddy Katz)91baed4Update: allow custom messages in no-restricted-syntax (fixes #8298) (#8357) (Vitor Balocco)35c93e6Fix: prevent space-before-function-paren from checking type annotations (#8349) (Teddy Katz)3342e9fFix: don't modify operator precedence in operator-assignment autofixer (#8358) (Teddy Katz)f88375fDocs: clarify that no-unsafe-negation is in eslint:recommended (#8371) (Teddy Katz)02f0d27Docs: Add soda0289 to Development Team (#8367) (Kai Cataldo)155424cFix: ignore empty path in patterns (fixes #8362) (#8364) (alberto)27616a8Fix: prefer-const false positive with object spread (fixes #8187) (#8297) (Vitor Balocco)8569a90Docs: add note about git's linebreak handling to linebreak-style docs (#8361) (Teddy Katz)5878593Chore: fix invalid syntax in no-param-reassign test (#8360) (Teddy Katz)1b1046bFix: don't classify plugins that throw errors as "missing" (fixes #6874) (#8323) (Teddy Katz)29f4ba5Fix: no-useless-computed-key invalid autofix for getters and setters (#8335) (Teddy Katz)0541eafFix: no-implicit-coercion invalid autofix with consecutive identifiers (#8340) (Teddy Katz)41b9786Fix: no-extra-parens false positive with objects following arrows (#8339) (Teddy Katz)3146167Fix:eslint.verifyshould not mutate config argument (fixes #8329) (#8334) (alberto)927de90Fix: dot-notation autofix produces invalid syntax for integer properties (#8332) (Teddy Katz)a9d1beaFix: comma-style autofix produces errors on parenthesized elements (#8331) (Teddy Katz)d52173fFix: don't generate invalid options in config-rule (#8326) (Teddy Katz)6eda3b5Fix: no-extra-parens invalid autofix in for-of statements (#8337) (Teddy Katz)6c819d8Fix: dot-notation autofix produces errors on parenthesized computed keys (#8330) (Teddy Katz)2d883d7Fix: object-shorthand autofix produces errors on parenthesized functions (#8328) (Teddy Katz)cd9b774Fix: quotes false positive with backtick option in method names (#8327) (Teddy Katz)d064ba2Fix: no-else-return false positive for ifs in single-statement position (#8338) (Teddy Katz)6a718baChore: enable max-statements-per-line on ESLint codebase (#8321) (Teddy Katz)614b62eChore: update sinon calls to deprecated API. (#8310) (alberto)0491572Chore: use precalculated counts in codeframe formatter (#8296) (Vitor Balocco)8733e6aChore: Fix incorrect error location properties in tests (#8307) (alberto)c4ffb49Chore: Fix typos in test option assertions (#8305) (Teddy Katz)79a97cbUpgrade: devDependencies (#8303) (alberto)e4da200Upgrade: Mocha to 3.2.0 (#8299) (Ilya Volodin)2f144caFix: operator-assignment autofix errors with parentheses (fixes #8293) (#8294) (Teddy Katz)7521cd5Chore: update token logic in rules to use ast-utils (#8288) (Teddy Katz)9b509ceChore: refactor space-before-function-paren rule (#8284) (Teddy Katz)ddc6350Fix: no-param-reassign false positive on destructuring (fixes #8279) (#8281) (Teddy Katz)f8176b3Chore: improve test coverage for node-event-generator (#8287) (Teddy Katz)602e9c2Docs: fix incorrect selector examples (#8278) (Teddy Katz)v3.18.0Compare Source
85f74caFix: broken code path of direct nested loops (fixes #8248) (#8274) (Toru Nagashima)a61c359Fix: Ignore hidden folders when resolving globs (fixes #8259) (#8270) (Ian VanSchooten)6f05546Chore: convert StubModuleResolver in config tests to ES6 class (#8265) (Teddy Katz)0c0fc31Fix: false positive of no-extra-parens about spread and sequense (#8275) (Toru Nagashima)e104973Docs: remove self-reference in no-restricted-syntax docs (#8277) (Vitor Balocco)23eca51Update: Add allowTaggedTemplates to no-unused-expressions (fixes #7632) (#8253) (Kevin Partington)f9ede3fUpgrade: doctrine to 2.0.0 (#8269) (alberto)1b678a6New: allow rules to listen for AST selectors (fixes #5407) (#7833) (Teddy Katz)63ca0c5Chore: use precalculated counts in stylish formatter (#8251) (alberto)47c3171Fix: typo in console.error (#8258) (Jan Peer Stöcklmair)e74ed6dChore: convert Traverser to ES6 class (refs #7849) (#8232) (Teddy Katz)13eead9Fix: sort-vars crash on mixed destructuring declarations (#8245) (Teddy Katz)133f489Fix: func-name-matching crash on destructuring assignment to functions (#8247) (Teddy Katz)a34b9c4Fix: func-name-matching crash on non-string literal computed keys (#8246) (Teddy Katz)7276e6dDocs: remove unneeded semicolons in arrow-parens.md (#8249) (Dmitry Gershun)8c40a25Upgrade: concat-stream known to be vulnerable prior 1.5.2 (#8228) (Samuel)149c055Upgrade: mock-fs to v4.2.0 (fixes #8194) (#8243) (Teddy Katz)a83bff9Build: remove unneeded json config in demo (fixes #8237) (#8242) (alberto)df12137Docs: fix typos (#8235) (Gyandeep Singh)b5e9788Chore: rename no-extra-parens methods (#8225) (Vitor Balocco)7f8afe6Update: no-extra-parens overlooked spread and superClass (fixes #8175) (#8209) (Toru Nagashima)ce6ff56Docs: set recommended true for no-global-assign (fixes #8215) (#8218) (BinYi LIU)5b5c236Fix: wrong comment when module not found in config (fixes #8192) (#8196) (alberto)v3.17.1Compare Source
f8c8e6eBuild: change mock-fs path without SSH (fixes #8207) (#8208) (Toru Nagashima)f713f11Fix: nonblock-statement-body-position multiline error (fixes #8202) (#8203) (Teddy Katz)41e3d9cFix:operator-assignmentwith parenthesized expression (fixes #8190) (#8197) (alberto)5e3bca7Chore: add eslint-plugin-eslint-plugin (#8198) (Teddy Katz)580da36Chore: add missingoutputproperty to tests (#8195) (alberto)v3.17.0Compare Source
4fdf6d7Update: deprecateapplyDefaultPatternsinline-comment-position(#8183) (alberto)25e5817Fix: Don't autofix+ +ato++ain space-unary-ops (#8176) (Alan Pierce)a6ce8f9Build: Sort rules before dumping them to doc files (#8154) (Danny Andrews)0af9057Chore: Upgrade to a patched version of mock-fs (fixes #8177) (#8188) (Teddy Katz)bf4d8cfUpdate: ignore eslint comments in lines-arount-comment (fixes #4345) (#8155) (alberto)dad20adNew: add SourceCode#getLocFromIndex and #getIndexFromLoc (fixes #8073) (#8158) (Teddy Katz)18a519fUpdate: let RuleTester cases assert that no autofix occurs (fixes #8157) (#8163) (Teddy Katz)a30eb8dDocs: improve documentation for RuleTester cases (#8162) (Teddy Katz)a78ec9fChore: upgradecoverallsto ^2.11.16 (#8161) (alberto)d02bd11Fix: padded-blocks autofix problems with comments (#8149) (alberto)9994889Docs: Add missing space tocreateinno-use-before-define(#8166) (Justin Anastos)4d542baDocs: Remove unneeded statement about autofix (#8164) (alberto)20daea5New: no-compare-neg-zero rule (#8091) (薛定谔的猫)4d35a81Fix: Add a utility to avoid autofix conflicts (fixes #7928, fixes #8026) (#8067) (Alan Pierce)287e882New: nonblock-statement-body-position rule (fixes #6067) (#8108) (Teddy Katz)7f1f4e5Chore: remove unneeded devDepslinefixandgh-got(#8160) (alberto)ca1694bUpdate: ignore negative ranges in fixes (#8133) (alberto)163d751Docs:lines-around-commentdoesn't disallow empty lines (#8151) (alberto)1c84922Chore: upgrade eslint-plugin-node (#8156) (alberto)1ee5c27Fix: Make RuleTester handle empty-string cases gracefully (fixes #8142) (#8143) (Teddy Katz)044bc10Docs: Add details about "--fix" option for "sort-imports" rule (#8077) (Olivier Audard)3fec54aAdd option to ignore property in no-param-reassign (#8087) (Christian Bundy)4e52cfcFix: Improve keyword-spacing typescript support (fixes #8110) (#8111) (Reyad Attiyat)7ff42e8New: Allow regexes in RuleTester (fixes #7837) (#8115) (Daniel Lo Nigro)cbd7dedBuild: display rules’ meta data in their docs (fixes #5774) (#8127) (Wilson Kurniawan)da8e8afUpdate: include function name in report message if possible (fixes #7260) (#8058) (Dieter Luypaert)8f91e32Fix:ignoreRestSiblingsoption didn't cover arguments (fixes #8119) (#8120) (Toru Nagashima)v3.16.1Compare Source
ff8a80cFix: duplicated autofix output for inverted fix ranges (fixes #8116) (#8117) (Teddy Katz)a421897Docs: fix typo in arrow-parens.md (#8132) (Will Chen)22d7fbfChore: fix invalid redeclared variables in tests (#8130) (Teddy Katz)8d95598Chore: fix output assertion typos in rule tests (#8129) (Teddy Katz)9fa2559Docs: Add missing quotes in key-spacing rule (#8121) (Glenn Reyes)f3a6cedBuild: package.json update for eslint-config-eslint release (ESLint Jenkins)v3.16.0Compare Source
d89d0b4Update: fix quotes false negative for string literals as template tags (#8107) (Teddy Katz)21be366Chore: Ensuring eslint:recommended rules are sorted. (#8106) (Kevin Partington)360dbe4Update: Improve error message when extend config missing (fixes #6115) (#8100) (alberto)f62a724Chore: use updated token iterator methods (#8103) (Kai Cataldo)daf6f26Fix: check output in RuleTester when errors is a number (fixes #7640) (#8097) (alberto)cfb65c5Update: make no-lone-blocks report blocks in switch cases (fixes #8047) (#8062) (Teddy Katz)290fb1fUpdate: Add includeComments to getTokenByRangeStart (fixes #8068) (#8069) (Kai Cataldo)ff066dcChore: Incorrect source code test text (#8096) (Jack Ford)14d146dDocs: Clarify --ext only works with directories (fixes #7939) (#8095) (alberto)013a454Docs: Add TSC meeting quorum requirement (#8086) (Kevin Partington)7516303Fix:sourceCode.getTokenAftershouldn't skip tokens after comments (#8055) (Toru Nagashima)c53e034Fix: unicode-bom fixer insert BOM in appropriate location (fixes #8083) (#8084) (pantosha)55ac302Chore: fix the timing to define rules for tests (#8082) (Toru Nagashima)c7e64f3Upgrade: mock-fs (#8070) (Toru Nagashima)acc3301Update: handle uncommon linebreaks consistently in rules (fixes #7949) (#8049) (Teddy Katz)591b74aChore: enable operator-linebreak on ESLint codebase (#8064) (Teddy Katz)6445d2aDocs: Add documentation for /* exported */ (fixes #7998) (#8065) (Lee Yi Min)fcc38dbChore: simplify and improve performance for autofix (#8035) (Toru Nagashima)b04fde7Chore: improve performance of SourceCode constructor (#8054) (Teddy Katz)90fd555Update: improve null detection in eqeqeq for ES6 regexes (fixes #8020) (#8042) (Teddy Katz)16248e2Fix: no-extra-boolean-cast incorrect Boolean() autofixing (fixes #7977) (#8037) (Jonathan Wilsson)834f45dUpdate: rewrite TokenStore (fixes #7810) (#7936) (Toru Nagashima)329dcdcChore: unify checks for statement list parents (#8048) (Teddy Katz)c596690Docs: Clarify generator-star-spacing config example (fixes #8027) (#8034) (Hòa Trần)a11d4a6Docs: fix a typo in shareable configs documentation (#8036) (Dan Homola)1e3d4c6Update: add fixer for no-unused-labels (#7841) (Teddy Katz)f47fb98Update: ensure semi-spacing checks import/export declarations (#8033) (Teddy Katz)e228d56Update: no-undefined handles properties/classes/modules (fixes #7964) (#7966) (Kevin Partington)7bc92d9Chore: fix invalid test cases (#8030) (Toru Nagashima)v3.15.0Compare Source
f2a3580Fix:no-extra-parensincorrect precedence (fixes #7978) (#7999) (alberto)d6b6ba1Fix: no-var should fix ForStatement.init (#7993) (Toru Nagashima)99d386dUpgrade: Espree v3.4.0 (#8019) (Kai Cataldo)42390fdDocs: update README.md for team (#8016) (Toru Nagashima)d7ffd88Chore: enable template-tag-spacing on ESLint codebase (#8005) (Teddy Katz)f2be7e3Docs: Fix typo in object-curly-newline.md (#8002) (Danny Andrews)df2351aDocs: Fix misleading section in brace-style documentation (#7996) (Teddy Katz)5ae6e00Chore: avoid unnecessary feature detection for Symbol (#7992) (Teddy Katz)5d57c57Chore: fix no-else-return lint error (refs #7986) (#7994) (Vitor Balocco)62fb054Chore: enable no-else-return on ESLint codebase (#7986) (Teddy Katz)c59a0baUpdate: add ignoreRestSiblings option to no-unused-vars (#7968) (Zack Argyle)5cdfa99Chore: enable no-unneeded-ternary on ESLint codebase (#7987) (Teddy Katz)fbd7c13Update: ensure operator-assignment handles exponentiation operators (#7970) (Teddy Katz)c5066ceUpdate: add "variables" option to no-use-before-define (fixes #7111) (#7948) (Teddy Katz)09546a4New:template-tag-spacingrule (fixes #7631) (#7913) (Jonathan Wilsson)v3.14.1Compare Source
791f32bFix: brace-style false positive for keyword method names (fixes #7974) (#7980) (Teddy Katz)d7a0addDocs: Add ESLint tutorial embed to getting started (#7971) (Jamis Charles)72d41f0Fix: no-var autofix syntax error in single-line statements (fixes #7961) (#7962) (Teddy Katz)b9e5b68Fix: indent rule crash on sparse array with object (fixes #7959) (#7960) (Gyandeep Singh)a7bd66aChore: Adding assign/redeclare tests to no-undefined (refs #7964) (#7965) (Kevin Partington)8bcbf5dDocs: typo in prefer-promise-reject-errors (#7958) (Patrick McElhaney)v3.14.0Compare Source
506324aFix:no-vardoes not fix if causes ReferenceError (fixes #7950) (#7953) (Toru Nagashima)05e7432New: no-chained-assignments rule (fixes #6424) (#7904) (Stewart Rand)243e47dUpdate: Add fixer for no-else-return (fixes #7863) (#7864) (Xander Dumaine)f091d95New:prefer-promise-reject-errorsrule (fixes #7685) (#7689) (Teddy Katz)ca01e00Fix: recognize all line terminators in func-call-spacing (fixes #7923) (#7924) (Francesco Trotta)a664e8aUpdate: add ignoreJSX option to no-extra-parens (Fixes #7444) (#7926) (Robert Rossmann)8ac3518Fix: no-useless-computed-key false positive with__proto__(#7934) (Teddy Katz)c835e19Docs: remove reference to deleted rule (#7942) (Alejandro Oviedo)3c1e63bDocs: Improve examples for no-case-declarations (fixes #6716) (#7920) (Kevin Rangel)7e04b33Fix: Ignore inline plugin rule config in autoconfig (fixes #7860) (#7919) (Ian VanSchooten)6448ba0Fix: add parentheses in no-extra-boolean-cast autofixer (fixes #7912) (#7914) (Szymon Przybylski)b3f2094Fix: brace-style crash with lone block statements (fixes #7908) (#7909) (Teddy Katz)5eb2e88Docs: Correct typos in configuring.md (#7916) (Gabriel Delépine)bd5e219Update: ensure brace-style validates class bodies (fixes #7608) (#7871) (Teddy Katz)427543aFix: catastrophic backtracking in astUtils linebreak regex (fixes #7893) (#7898) (Teddy Katz)995554cFix: Correct typos in no-alert.md and lib/ast-utils.js (#7905) (Stewart Rand)d6150e3Chore: Enable comma-dangle on ESLint codebase (fixes #7725) (#7906) (Teddy Katz)075ec25Chore: update to use ES6 classes (refs #7849) (#7891) (Claire Dranginis)55f0cb6Update: refactor brace-style and fix inconsistencies (fixes #7869) (#7870) (Teddy Katz)v3.13.1Compare Source
3fc4e3fFix: prefer-destructuring reporting compound assignments (fixes #7881) (#7882) (Teddy Katz)f90462eFix: no-extra-label autofix should not remove labels used elsewhere (#7885) (Teddy Katz)v3.13.0Compare Source
cd4c025Update: add fixer for no-extra-label (#7840) (Teddy Katz)aa75c92Fix: Ensure prefer-const fixes destructuring assignments (fixes #7852) (#7859) (Teddy Katz)4008022Chore: Refactor to use ES6 Classes (Part 3)(refs #7849) (#7865) (Gyandeep Singh)c9ba40aUpdate: add fixer forno-unneeded-ternary(#7540) (Teddy Katz)dd56d87Update: add object-shorthand option for arrow functions (fixes #7564) (#7746) (Teddy Katz)fbafdc0Docs:padded-blocksnevercase (fixes #7868) (#7878) (alberto)ca1f841Fix: no-useless-return stack overflow on loops after throw (fixes #7855) (#7856) (Teddy Katz)d80d994Update: add fixer for object-property-newline (fixes #7740) (#7808) (Teddy Katz)bf3ea3aFix: capitalized-comments: Ignore consec. comments if first is invalid (#7835) (Kevin Partington)616611aChore: Refactor to use ES6 Classes (Part 2)(refs #7849) (#7847) (Gyandeep Singh)856084bChore: Refactor to use ES6 Classes (Part 1)(refs #7849) (#7846) (Gyandeep Singh)bf45893Docs: Clarify that we only support Stage 4 proposals (#7845) (Kevin Partington)0fc24f7Fix: adapt new-paren rule so it handles TypeScript (fixes #7817) (#7820) (Philipp A)df0b06bFix: no-multiple-empty-lines perf issue on large files (fixes #7803) (#7843) (Teddy Katz)18fa521Chore: use ast-utils helper functions in no-multiple-empty-lines (#7842) (Teddy Katz)7122205Docs: Array destructuring example for no-unused-vars (fixes #7838) (#7839) (Remco Haszing)e21b36bChore: add integration tests for cache files (refs #7748) (#7794) (Teddy Katz)2322733Fix: Throw error if ruletester is missing required test scenarios (#7388) (Teddy Katz)1beececUpdate: add fixer foroperator-linebreak(#7702) (Teddy Katz)c5c3b21Fix: no-implied-eval false positive on 'setTimeoutFoo' (fixes #7821) (#7836) (Teddy Katz)00dd96cChore: enable array-bracket-spacing on ESLint codebase (#7830) (Teddy Katz)ebcae1fUpdate: no-return-await with with complexreturnargument (fixes #7594) (#7595) (Dalton Santos)fd4cd3bFix: Disable no-var autofixer in some incorrect cases in loops (#7811) (Alan Pierce)1f25834Docs: update outdated info in Architecture page (#7816) (Teddy Katz)f20b9e9Fix: Relax no-useless-escape's handling of ']' in regexes (fixes #7789) (#7793) (Teddy Katz)3004c1eFix: consistent-return shouldn't report class constructors (fixes #7790) (#7797) (Teddy Katz)b938f1fDocs: Add an example for the spread operator to prefer-spread.md (#7802) (#7804) (butlermd)b8ce2dcDocs: Remove .html extensions from links in developer-guide (#7805) (Kevin Partington)aafebb2Docs: Wrap placeholder sample in {% raw %} (#7798) (Daniel Lo Nigro)bb6b73bChore: replace unnecessary function callbacks with arrow functions (#7795) (Teddy Katz)428fbdfFix: func-call-spacing "never" doesn't fix w/ line breaks (fixes #7787) (#7788) (Kevin Partington)6e61070Fix:semifalse positive before regex/template literals (fixes #7782) (#7783) (Teddy Katz)ff0c050Fix: remove internal property from config generation (fixes #7758) (#7761) (alberto)27424cbNew:prefer-destructuringrule (fixes #6053) (#7741) (Alex LaFroscia)bb648ceDocs: fix unclear example for no-useless-escape (#7781) (Teddy Katz)8c3a962Fix: syntax errors from object-shorthand autofix (fixes #7744) (#7745) (Teddy Katz)8b296a2Docs: fix in semi.md: correct instead of incorrect (#7779) (German Prostakov)3493241Upgrade: strip-json-comments ~v2.0.1 (Janus Troelsen)75b7ba4Chore: enable object-curly-spacing on ESLint codebase (refs #7725) (#7770) (Teddy Katz)7d1dc7eUpdate: Make default-case comment case-insensitive (fixes #7673) (#7742) (Robert Rossmann)f1bf5ecChore: convert remaining old-style context.report() calls to the new API (#7763) (Teddy Katz)v3.12.2Compare Source
dec3ec6Fix: indent bug with AssignmentExpressions (fixes #7747) (#7750) (Teddy Katz)5344751Build: Don't create blogpost links from rule names within other words (#7754) (Teddy Katz)639b798Docs: UseObject.prototypein examples (#7755) (Alex Reardon)v3.12.1Compare Source
0ad4d33Fix:indentregression with function calls (fixes #7732, fixes #7733) (#7734) (Teddy Katz)ab246ddDocs: Rules restricting globals/properties/syntax are linked together (#7743) (Kevin Partington)df2f115Docs: Add eslint-config-mdcs to JSCS Migration Guide (#7737) (Joshua Koo)4b77333Build: avoid creating broken rule links in the changelog (#7731) (Teddy Katz)v3.12.0Compare Source
e569225Update: fix false positive/negative of yoda rule (fixes #7676) (#7695) (Toru Nagashima)e95a230Fix: indent "first" option false positive on nested arrays (fixes #7727) (#7728) (Teddy Katz)81f9e7dFix: Allow duplicated let declarations inprefer-const(fixes #7712) (#7717) (Teddy Katz)1d0d61dNew: Add no-await-in-loop rule (#7563) (Nat Mote)2cdfb4eNew: Additional APIs (fixes [#Configuration
📅 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.