Skip to content

Releases: eslint/eslint

v0.16.0

07 Mar 20:55
Compare
Choose a tag to compare
  • Fix: Pass correct sourceType to escope (fixes #1959) (Nicholas C. Zakas)
  • Fix: Scoping for Node.js (fixes #892) (Nicholas C. Zakas)
  • Fix: strict rule should honor module code (fixes #1956) (Nicholas C. Zakas)
  • New: Add es6 environment (fixes #1864, fixes #1944) (Nicholas C. Zakas)
  • Docs: Update ecmaFeatures list (fixes #1942) (Nicholas C. Zakas)
  • Fix: Make no-unused-vars ignore exports (fixes #1903) (Nicholas C. Zakas)
  • Upgrade: Espree to v1.11.0 (Nicholas C. Zakas)
  • Fix: Comment configuration of rule doesn't work (fixes #1792) (Jary)
  • Fix: Rest args should work in no-undef and block-scoped-var (fixes #1543) (Nicholas C. Zakas)
  • Breaking: change no-comma-dangle to comma-dangle (fixes #1350) (Mathias Schreck)
  • Update: space-before-function-parentheses to support generators (fixes #1929) (Brandon Mills)
  • New: Adding support for "// eslint-disable-line rule" style comments (Billy Matthews)
  • Fix: Use unversioned sinon file in browser test (fixes #1947) (Nicholas C. Zakas)
  • Docs: Add mention of compatible parsers (Nicholas C. Zakas)
  • Fix: Better error when given null as rule config (fixes #1760) (Glen Mailer)
  • Update: no-empty to check TryStatement.handler (fixes #1930) (Brandon Mills)
  • Fix: space-before-function-parentheses and object methods (fixes #1920) (Brandon Mills)
  • New: no-dupe-args rule (fixes #1880) (Jamund Ferguson)
  • Fix: comma-spacing should ignore JSX text (fixes #1916) (Brandon Mills)
  • Breaking: made eol-last less strict (fixes #1460) (Glen Mailer)
  • New: generator-star middle option (fixes #1808) (Jamund Ferguson)
  • Upgrade: Espree to 1.10.0 for classes support (Nicholas C. Zakas)
  • Docs: no-plusplus.md - auto semicolon insertion (Miroslav Obradović)
  • Docs: Use union types in TokenStore JSDoc (refs #1878) (Brandon Mills)
  • Fix: block-scoped-var to work with destructuring (fixes #1863) (Nicholas C. Zakas)
  • Docs: Update docs for token-related methods (fixes #1878) (Nicholas C. Zakas)
  • Update: Remove preferGlobal from package.json (fixes #1877) (Nicholas C. Zakas)
  • Fix: allow block bindings in no-inner-declarations (fixes #1893) (Roberto Vidal)
  • Fix: getScope and no-use-before-define for arrow functions (fixes #1895) (Brandon Mills)
  • Fix: Make no-inner-declarations look for arrow functions (fixes #1892) (Brandon Mills)
  • Breaking: Change no-space-before-semi to semi-spacing and add "after" option (fixes #1671) (Mathias Schreck)
  • Update: Add support for custom preprocessors (fixes #1817) (Ilya Volodin)

v0.15.1

01 Mar 15:52
Compare
Choose a tag to compare
  • Build: Fix release task (Nicholas C. Zakas)
  • Fix: check all semicolons in no-space-before-semi (fixes #1885) (Mathias Schreck)
  • Fix: Refactor comma-spacing (fixes #1587, fixes #1845) (Roberto Vidal)
  • Fix: Allow globalReturn in consistent-return (fixes #1868) (Brandon Mills)
  • Fix: semi rule should check throw statements (fixes #1873) (Mathias Schreck)
  • Docs: Added HolidayCheck AG as user (0xPIT)
  • Upgrade: chalk to 1.0.0 (Sindre Sorhus)
  • Docs: Add CustomInk to the list of companies (Derek Lindahl)
  • Docs: Alphabetize project & company usage list (Derek Lindahl)
  • Docs: fix typo (Henry Zhu)
  • Docs: Fix typo (Brenard Cubacub)

v0.15.0

21 Feb 21:47
Compare
Choose a tag to compare
  • Upgrade: Espree to 1.9.1 (fixes #1816, fixes #1805) (Nicholas C. Zakas)
  • Fix: make rules work with for-of statements (fixes #1859) (Mathias Schreck)
  • Fix: Enable globalReturn for Node.js environment (fixes #1158) (Nicholas C. Zakas)
  • Fix: Location of extra paren message (fixes #1814) (Nicholas C. Zakas)
  • Fix: Remove unnecessary file exists check (fixes #1831) (Nicholas C. Zakas)
  • Fix: Don't count else-if in max-depth (fixes #1835) (Nicholas C. Zakas)
  • Fix: Don't flag for-of statement (fixes #1852) (Nicholas C. Zakas)
  • Build: Test using io.js as well (Nicholas C. Zakas)
  • Change customformat value to path (suisho)
  • Docs: Add a missing word in the Contributing doc (Ben Linskey)
  • Docs: Fix typo in wrap-iife rule doc title (Ben Linskey)
  • Docs: Update pages to fix rendering of lists (David Anson)
  • Fix: new-cap should allow defining exceptions (fixes #1424) (Brian Di Palma)
  • Update: Add requireReturnDescription for valid-jsdoc (fixes #1833) (Brian Di Palma)
  • New: rule no-throw-literal added (fixes #1791) (Dieter Oberkofler)
  • New: multi-line option for the curly rule (fixes #1812) (Hugo Wood)
  • Docs: fix typo in configuring docs (mendenhallmagic)
  • Update: Backslashes in path (fixes #1818) (Jan Schär)
  • Docs: Update pages to fix rendering of lists and fenced code blocks (David Anson)
  • Docs: add webpack loader to the docs/integrations page (Maxime Thirouin)
  • Breaking: space-before-function-parentheses replaces space-after-function-name and checkFunctionKeyword (fixes #1618) (Mathias Schreck)

v0.14.1

08 Feb 18:08
Compare
Choose a tag to compare
  • Fix: Exit code should be 1 for any number of errors (fixes #1795) (Nicholas C. Zakas)
  • Fix: Check indentation of first line (fixes #1796) (Nicholas C. Zakas)
  • Fix: strict rules shouldn't throw on arrow functions (fixes #1789) (Nicholas C. Zakas)

v0.14.0

08 Feb 18:07
Compare
Choose a tag to compare
  • Update: Fix indentation of comment (Nicholas C. Zakas)
  • Fix: comma-spacing for template literals (fixes #1736) (Nicholas C. Zakas)
  • Build: Add Node.js 0.12 testing (Nicholas C. Zakas)
  • Breaking: Remove node from results (fixes #957) (Nicholas C. Zakas)
  • Breaking: Exit code is now error count (Nicholas C. Zakas)
  • Docs: Correct getFormatter() documentation (refs #1723) (Nicholas C. Zakas)
  • Update: Make rules work with arrow functions (fixes #1508, fixes #1509, fixes #1493) (Nicholas C. Zakas)
  • Fix: Ensure template string references count (fixes #1542) (Nicholas C. Zakas)
  • Fix: no-undef to work with arrow functions (fixes #1604) (Nicholas C. Zakas)
  • Upgrade: Espree to version 1.8.0 (Nicholas C. Zakas)
  • Fix: Don't throw error for arguments (fixes #1759) (Nicholas C. Zakas)
  • Fix: Don't warn on computed nonliteral properties (fixes #1762) (Nicholas C. Zakas)
  • New: Allow parser to be configured (fixes #1624) (Nicholas C. Zakas)
  • Docs: Added double quotes for JSON keys for comma-spacing and key-spacing rule (Dmitry Polovka)
  • New: Rule indent (fixes #1022) (Dmitriy Shekhovtsov)
  • Revert "New: Rule indent (fixes #1022)" (Nicholas C. Zakas)
  • Update: fix eslint indentations (fixes #1770) (Dmitriy Shekhovtsov)
  • Fix: Scoping issues for no-unused-vars (fixes #1741) (Nicholas C. Zakas)
  • Docs: Added eslint-enable inline (Ivan Fraixedes)
  • New: Add predefined Meteor globals (fixes #1763) (Johan Brook)
  • New: Rule indent (fixes #1022) (Dmitriy Shekhovtsov)
  • Update: Check all assignments for consistent-this (fixes #1513) (Timothy Jones)
  • Fix: Support exceptions in no-multi-spaces (fixes #1755) (Brandon Mills)
  • Docs: Forgotten parentheses in code snippet (Ivan Fraixedes)
  • Update: CLIEngine results include warning and error count (fixes #1732) (gyandeeps)
  • Fix: Scoping issues for no-unused-vars (fixes #1733) (Nicholas C. Zakas)
  • Update: Add getNodeByRangeIndex method (refs #1755) (Brandon Mills)
  • Update: Replace getTokenByRange(Index->Start) (refs #1721) (Brandon Mills)
  • Update: Fast-path for empty input (fixes #546) (Nicholas C. Zakas)
  • Fix: Allow single line else-if (fixes #1739) (Nicholas C. Zakas)
  • Fix: Don't crash when $HOME isn't set (fixes #1465) (Nicholas C. Zakas)
  • Fix: Make no-multi-spaces work for every case (fixes #1603, fixes #1659) (Nicholas C. Zakas)
  • Breaking: Show error and warning counts in stylish summary (fixes #1746) (Brandon Mills)
  • Docs: fixed typo in no-lone-blocks docs (Vitor Balocco)
  • Docs: fixed typo in consistent-return docs (Vitor Balocco)
  • Breaking: remove implied eval check from no-eval (fixes #1202) (Mathias Schreck)
  • Update: Improve CLIEngine.getFormatter() (refs #1723) (Nicholas C. Zakas)
  • Docs: Add Backbone plugin link (Ilya Volodin)
  • Docs: use npm's keyword route (Tom Vincent)
  • Build: Update sitegen script (Closes #1725) (Ilya Volodin)

v0.13.0

24 Jan 22:19
Compare
Choose a tag to compare
  • Update: The rule spaced-line-comment now also allows tabs and not only spaces as whitespace. (fixes #1713) (Dieter Oberkofler)
  • Docs: add Jasmine rules and eslintplugin npm links (Tom Vincent)
  • Fix: Make no-redeclare work with let (fixes #917) (Nicholas C. Zakas)
  • Update: Add CLIEngine.getFormatter() (fixes #1653) (Nicholas C. Zakas)
  • Breaking: Update escope (fixes #1642) (Nicholas C. Zakas)
  • Update: Switch to using estraverse-fb (fixes #1712) (Nicholas C. Zakas)
  • Docs: Update README FAQ (Nicholas C. Zakas)
  • Update: no-warning-comments matches on whole word only (fixes #1709) (Nick Fisher)
  • Build: Add JSDoc generation (fixes #1363) (Nicholas C. Zakas)
  • Docs: Add more info about context (fixes #1330) (Nicholas C. Zakas)
  • Upgrade: Espree to 1.7.1 (fixes #1706) (Nicholas C. Zakas)
  • Docs: Make CLA notice more prominent (Nicholas C. Zakas)
  • Update: Added globals for: phantom,jquery, prototypejs, shelljs (fixes #1704) (Dmitriy Shekhovtsov)
  • Docs: Fixed example for the space-return-throw-case rule (mpal9000)
  • Fix: Except object literal methods from func-names (fixes #1699) (Brandon Mills)
  • Update: use global strict mode everywhere (fixes #1691) (Brandon Mills)
  • Update: Add allowPattern option for dot-notation rule (fixes #1679) (Tim Schaub)
  • Fix: Missing undeclared variables in JSX (fixes #1676) (Yannick Croissant)
  • Fix: no-unused-expressions rule incorrectly flagging yield (fixes #1672) (Rémi Gérard-Marchant)
  • Update: Combine strict mode rules (fixes #1246) (Brandon Mills)
  • Fix: disregards leading './' in ignore pattern or file name (fixes #1685) (Chris Montrois)
  • Upgrade: globals module to latest (fixes #1670) (Nicholas C. Zakas)
  • Fix: generator-star should allow params (fixes #1677) (Brandon Mills)
  • Fix: no-unused-vars for JSX (fixes #1673 and fixes #1534) (Yannick Croissant)
  • Docs: Add angularjs-eslint link into the integration doc (Emmanuel DEMEY)

v0.12.0

17 Jan 16:58
Compare
Choose a tag to compare
  • Fix: Track JSX global variable correctly (fixes #1534) (Nicholas C. Zakas)
  • Fix: Property regex flag checking (fixes #1537) (Nicholas C. Zakas)
  • Docs: Add angularjs-eslint link into the integration doc (Emmanuel DEMEY)
  • Update: Expose ecmaFeatures on context (fixes #1648) (Nicholas C. Zakas)
  • Docs: Added Fitbit to the list of companies (Igor Zalutsky)
  • New: gen-star rule (refs #1617) (Jamund Ferguson)
  • New: no-var rule (refs #1617) (Jamund Ferguson)
  • Fix: Support JSX spread operator (fixes #1634) (Nicholas C. Zakas)
  • Docs: Document ecmaFeatures (Nicholas C. Zakas)
  • Upgrade: several dependencies (fixes #1377) (Nicholas C. Zakas)
  • Fix: Broken JSX test (Nicholas C. Zakas)
  • Fix: no-bitwise reports on bitwise assignment expressions (fixes #1643) (Mathias Schreck)
  • Fix: Find JSXIdentifier refs in no-unused-vars (fixes #1534) (Nicholas C. Zakas)
  • Update: Add a couple JSX tests (Nicholas C. Zakas)
  • Fix: quotes rule ignores JSX literals (fixes #1477) (Nicholas C. Zakas)
  • Fix: Don't warn on JSX literals with newlines (fixes #1533) (Nicholas C. Zakas)
  • Update: Fully enable JSX support (fixes #1640) (Nicholas C. Zakas)
  • Breaking: Allow parser feature flips (fixes #1602) (Nicholas C. Zakas)
  • Fix: Allow comments in key-spacing groups (fixes #1632) (Brandon Mills)
  • Fix: block-scoped-var reports labels (fixes #1630) (Michael Ficarra)
  • Docs: add newline to no-process-env (fixes #1627) (Tom Vincent)
  • Fix: Update optionator, --no in help (fixes #1134) (George Zahariev)
  • Fix: Allow individual newlines in space-in-brackets (fixes #1614) (Brandon Mills)
  • Docs: Correct alignment in example project tree (Tim Schaub)
  • Docs: Remove references to Esprima (Nicholas C. Zakas)
  • Docs: Remove illegal code fence (Nicholas C. Zakas)

v0.11.0

30 Dec 21:34
Compare
Choose a tag to compare
  • Fix: Adding regexp literal exception (fixes #1589) (Greg Cochard)
  • Fix: padded-blocks incorrectly complained on comments (fixes #1416) (Mathias Schreck)
  • Fix: column location of key-spacing with additional tokens (fixes #1458) (Mathias Schreck)
  • Build: tag correct commit (refs #1606) (Mathias Schreck)
  • Upgrade: Updat Espree to 1.3.1 (Nicholas C. Zakas)
  • Fix: add es3 config option to dot-notation rule (fixes #1484) (Michael Ficarra)
  • Fix: valid-jsdoc should recognize @Class (fixes #1585) (Nicholas C. Zakas)
  • Update: Switch to use Espree (fixes #1595) (Nicholas C. Zakas)
  • Fix: brace-style stroustrup should report on cuddled elseif (fixes #1583) (Ian Christian Myers)
  • New: Configuration via package.json (fixes #698) (Michael Mclaughlin)
  • Update: Set environments w/ globals (fixes #1577) (Elan Shanker)
  • Fix: yoda treats negative numbers as literals (fixes #1571) (Brandon Mills)
  • Fix: function arguments now count towards no-shadow check (fixes #1584) (Glen Mailer)
  • Fix: check if next statement is on newline when warning against extra semicolons. (fixes #1580) (Evan You)
  • Update: add yoda exception for range tests (fixes #1561) (Brandon Mills)
  • New: space-after-function-name (fixes #1340) (Roberto Vidal)

v0.10.2

30 Dec 21:34
Compare
Choose a tag to compare
  • Fix: detect for...in in no-loop-func (fixes #1573) (Greg Cochard)
  • Update: simplify comma-spacing logic (fixes #1562) (Brandon Mills)
  • Fix: operator-assignment addition is non-commutative (fixes#1556) (Brandon Mills)
  • 0.10.1 (Nicholas C. Zakas)
  • Update: Add new-cap exception configurations. (Fixes #1487) - newCapsAllowed - nonNewCapsAllowed (Jordan Harband)

v0.10.1

30 Dec 21:35
Compare
Choose a tag to compare
  • Docs: Fix v0.10.0 changelog (Nicholas C. Zakas)
  • Build: Ensure changelog works with large semver versions (Nicholas C. Zakas)
  • Fix: comma-spacing and comma-style to work with array literals (fixes #1492) (Nicholas C. Zakas)
  • Update: better operator regex in use-isnan rule (fixes #1551) (Michael Ficarra)
  • Fix: wrong op index in no-multi-spaces (fixes #1547) (Brandon Mills)
  • Fix: Restrict use-isnan violations to comparison operators. (Fixes #1535) (Jordan Harband)
  • Fix: comma-spacing has false positives when parenthesis are used (fixes #1457) (Jamund Ferguson)
  • Docs: alphabetize the "Stylistic Issues" section (Jeff Williams)
  • Build: make the "gensite" target work when DOCS_DIR does not exist (fixes #1530) (Jeff Williams)
  • Docs: badges should only refer to master branch (Mathias Schreck)
  • Fix: prevent crash on empty blocks in no-else-return (fixes #1527) (Mathias Schreck)
  • Build: Fix md to html conversion regex (fixes #1525) (Brandon Mills)