Skip to content

Releases: eslint/eslint

v0.21.1

16 May 15:54
Compare
Choose a tag to compare
  • Fix: loc obj in report fn expects column (fixes #2481) (Varun Verma)
  • Build: Make sure that all md files end with empty line (fixes #2520) (Ilya Volodin)
  • Added Gitter badge (The Gitter Badger)
  • Fix: forced no-shadow to check all scopes (fixes #2294) (Jose Roberto Vidal)
  • Fix: --init indent setting (fixes #2493) (Nicholas C. Zakas)
  • Docs: Mention bundling multiple shareable configs (Nicholas C. Zakas)
  • Fix: Not to override the required extended config object directly (fixes #2487) (Gyandeep Singh)
  • Build: Update markdownlint dependency (David Anson)
  • Docs: added recursive function example to no-unused-vars (Jose Roberto Vidal)
  • Docs: Fix typo (then -> than) (Vladimir Agafonkin)
  • Revert "Fix: sanitise Jekyll interpolation during site generation (fixes #2297)" (Nicholas C. Zakas)
  • Fix: dot-location should use correct dot token (fixes #2504) (Mathias Schreck)
  • Fix: Stop linebreak-style from crashing (fixes #2490) (James Whitney)
  • Fix: rule no-duplicate-case problem with CallExpressions. (fixes #2499) (Matthias Osswald)
  • Fix: Enable full support for eslint-env comments (refs #2134) (Ilya Volodin)
  • Build: Speed up site generation (fixes #2475) (Ilya Volodin)
  • Docs: Fixing trailing spaces (Fixes #2478) (Ilya Volodin)
  • Docs: Update README FAQs (Nicholas C. Zakas)
  • Fix: Allow comment before comma for comma-spacing rule (fixes #2408) (Gyandeep Singh)

v0.21.0

09 May 18:07
Compare
Choose a tag to compare
  • New: Shareable configs (fixes #2415) (Nicholas C. Zakas)
  • Fix: Edge cases for no-wrap-func (fixes #2466) (Nicholas C. Zakas)
  • Docs: Update ecmaFeatures description (Nicholas C. Zakas)
  • New: Add dot-location rule. (fixes #1884) (Greg Cochard)
  • New: Add addPlugin method to CLI-engine (Fixes #1971) (Ilya Volodin)
  • Breaking: Do not check unset declaration types (Fixes #2448) (Ilya Volodin)
  • Fix: no-redeclare switch scoping (fixes #2337) (Nicholas C. Zakas)
  • Fix: Check extra scope in no-use-before-define (fixes #2372) (Nicholas C. Zakas)
  • Fix: Ensure baseConfig isn't changed (fixes #2380) (Nicholas C. Zakas)
  • Fix: Don't warn for member expression functions (fixes #2402) (Nicholas C. Zakas)
  • New: Adds skipBlankLines option to the no-trailing-spaces rule (fixes #2303) (Andrew Vaughan)
  • Fix: Adding exception for last line (Refs #2423) (Greg Cochard)
  • Fix: crash on 0 max (fixes #2423) (gcochard)
  • Fix object-shorthand arrow functions (fixes #2414) (Jamund Ferguson)
  • Fix: Improves detection of self-referential functions (fixes #2363) (Jose Roberto Vidal)
  • Update: key-spacing groups must be consecutive lines (fixes #1728) (Brandon Mills)
  • Docs: grammar fix in no-sync (Tony Lukasavage)
  • Docs: Update configuring.md to fix incorrect link. (Ans)
  • New: Check --stdin-filename by ignore settings (fixes #2432) (Aliaksei Shytkin)
  • Fix: no-loop-func rule allows functions at init part (fixes #2427) (Toru Nagashima)
  • New: Add init command (fixes #2302) (Ilya Volodin)
  • Fix: no-irregular-whitespace should work with irregular line breaks (fixes #2316) (Mathias Schreck)
  • Fix: generator-star-spacing with class methods (fixes #2351) (Brandon Mills)
  • New: no-unneeded-ternary rule to disallow boolean literals in conditional expressions (fixes #2391) (Gyandeep Singh)
  • Docs: Add restParams to ecmaFeatures options list (refs: #2346) (Bogdan Savluk)
  • Fix: space-in-brackets Cannot read property 'range' (fixes #2392) (Gyandeep Singh)
  • Docs: Sort the rules (Lukas Böcker)
  • Add: Exception option for no-extend-native and no-native-reassign (fixes #2355) (Gyandeep Singh)
  • Fix: space-in-brackets import declaration (fixes #2378) (Gyandeep Singh)
  • Update: Add uninitialized and initialized options (fixes #2206) (Ian VanSchooten)
  • Fix: brace-style to not warn about curly mix ifStatements (fixes #1739) (Gyandeep Singh)
  • Fix: npm run profile script should use espree (fixes #2150) (Mathias Schreck)
  • New: Add support for extending configurations (fixes #1637) (Espen Hovlandsdal)
  • Fix: Include string literal keys in object-shorthand (Fixes #2374) (Jamund Ferguson)
  • Docs: Specify language for all code fences, enable corresponding markdownlint rule. (David Anson)
  • New: linebreak-style rule (fixes #1255) (Erik Müller)
  • Update: Add "none" option to operator-linebreak rule (fixes #2295) (Casey Visco)
  • Fix: sanitise Jekyll interpolation during site generation (fixes #2297) (Michael Ficarra)

v0.20.0

24 Apr 18:55
Compare
Choose a tag to compare
  • Fix: support arrow functions in no-extra-parens (fixes #2367) (Michael Ficarra)
  • Fix: Column position in space-infix-ops rule (fixes #2354) (Gyandeep Singh)
  • Fix: allow plugins to be namespaced (fixes #2360) (Seth Pollack)
  • Update: one-var: enable let & const (fixes #2301) (Joey Baker)
  • Docs: Add meteor to avaiable environments list (bartmichu)
  • Update: Use Object.assign() polyfill for all object merging (fixes #2348) (Sindre Sorhus)
  • Docs: Update markdownlint dependency, resolve/suppress new issues. (David Anson)
  • Fix: newline-after-var declare and export (fixes #2325) (Gyandeep Singh)
  • Docs: Some typos and grammar. (AlexKVal)
  • Fix: newline-after-var to ignore declare in for specifiers (fixes #2317) (Gyandeep Singh)
  • New: add --stdin-filename option (fixes #1950) (Mordy Tikotzky)
  • Fix: Load .eslintrc in $HOME only if no other .eslintrc is found (fixes #2279) (Jasper Woudenberg)
  • Fix: Add v8 module to no-mixed-requires rule (fixes #2320) (Gyandeep Singh)
  • Fix: key-spacing with single properties (fixes #2311) (Brandon Mills)
  • Docs: no-invalid-regexp: add ecmaFeatures flags for u/y (Jordan Harband)
  • New: object-shorthand rule (refs: #1617) (Jamund Ferguson)
  • Update: backticks support for quotes rule (fixes #2153) (borislavjivkov)
  • Fix: space-in-brackets to work with modules (fixes #2216) (Nicholas C. Zakas)

v0.19.0

24 Apr 02:57
Compare
Choose a tag to compare
  • Upgrade: Espree to 2.0.1 (Nicholas C. Zakas)
  • Docs: Update one-var documentation (fixes #2210) (Nicholas C. Zakas)
  • Update: Add test for no-undef (fixes #2214) (Nicholas C. Zakas)
  • Fix: Report better location for padded-blocks error (fixes #2224) (Nicholas C. Zakas)
  • Fix: Don't check concise methods in quote-props (fixes #2251) (Nicholas C. Zakas)
  • Fix: Consider tabs for space-in-parens rule (fixes #2191) (Josh Quintana)
  • Fix: block-scoped-var to work with classes (fixes #2280) (Nicholas C. Zakas)
  • Docs: Remove trailing spaces, enable corresponding markdownlint rule. (David Anson)
  • Fix: padded-blocks with ASI (fixes #2273) (Brandon Mills)
  • Fix: Handle comment lines in newline-after-var (fixed #2237) (Casey Visco)
  • Docs: Standardize on '*' for unordered lists, enable corresponding markdownlint rule. (David Anson)
  • Fix: no-undef and no-underscore-dangle to use double quotes (fixes #2258) (Gyandeep Singh)
  • Docs: Improve grammar and style in comma-dangle.md (Nate Eagleson)
  • Docs: Improve grammar and style in padded-blocks.md (Nate Eagleson)
  • Docs: Update URL in no-wrap-func.md to resolve 404 (Nate Eagleson)
  • Docs: Fix typo in command-line-interface.md (Nate Eagleson)
  • Docs: Fix typo in working-with-rules.md (Nate Eagleson)
  • Docs: Remove hard tabs from *.md, enable corresponding markdownlint rule. (David Anson)
  • Fix: Function id missing in parent scope when using ecmaFeature modules for rule block-scoped-var (fixes #2242) (Michael Ferris)
  • Fix: Ignore single lines for vertical alignment (fixes #2018) (Ian VanSchooten)
  • Fix: Allow inline comments in newline-after-var rule (fixes #2229) (Casey Visco)
  • Upgrade: Espree 2.0.0 and escope 3.0.0 (fixes #2234, fixes #2201, fixes (Nicholas C. Zakas)
  • Docs: Update --no-ignore warning (Brandon Mills)
  • Build: Remove jshint files (fixes #2222) (Jeff Tan)
  • Docs: no-empty fix comment change (refs #2188) (Gyandeep Singh)
  • Fix: duplicate semi and no-extra-semi errors (fixes #2207) (Brandon Mills)
  • Docs: Update processors description (Nicholas C. Zakas)
  • Fix: semi error on export declaration (fixes #2194) (Brandon Mills)
  • New: operator-linebreak rule (fixes #1405) (Benoît Zugmeyer)
  • Docs: Fixing broken links in documentation (Ilya Volodin)
  • Upgrade: Espree to 0.12.3 (fixes #2195) (Gyandeep Singh)
  • Fix: camelcase rule with {properties: never} shouldn't check assignment (fixes #2189) (Gyandeep Singh)
  • New: Allow modifying base config (fixes #2143) (Meo)
  • New: no-continue rule (fixes #1945) (borislavjivkov)
  • Fix: no-empty rule should allow any comments (fixes #2188) (Gyandeep Singh)
  • Docs: Fix spell in camelcase doc (fixes #2190) (Gyandeep Singh)
  • Fix: Require semicolon after import/export statements (fixes #2174) (Gyandeep Singh)
  • Build: Add linting of Markdown files to "npm test" script (fixes #2182) (David Anson)
  • Build: Fixing site generation (Ilya Volodin)
  • Build: Fix gensite task to work even if files are missing (Nicholas C. Zakas)

v0.18.0

28 Mar 17:36
Compare
Choose a tag to compare
  • Fix: Mark variables as used in module scope (fixes #2137) (Nicholas C. Zakas)
  • Fix: arrow functions need wrapping (fixes #2113) (Nicholas C. Zakas)
  • Fix: Don't crash on empty array pattern item (fixes #2111) (Nicholas C. Zakas)
  • Fix: Don't error on destructured params (fixes #2051) (Nicholas C. Zakas)
  • Docs: Fixing broken links (Ilya Volodin)
  • Fix: no-constant-condition should not flag += (fixes #2155) (Nicholas C. Zakas)
  • Fix: Ensure piped in code will trigger correct errors (fixes #2154) (Nicholas C. Zakas)
  • Fix: block-scoped-var to handle imports (fixes #2087) (Nicholas C. Zakas)
  • Fix: no-dupe-args to work with destructuring (fixes #2148) (Nicholas C. Zakas)
  • Fix: key-spacing crash on computed properties (fixes #2120) (Brandon Mills)
  • Fix: indent crash on caseless switch (fixes #2144) (Brandon Mills)
  • Fix: Don't warn about destructured catch params (fixes #2125) (Nicholas C. Zakas)
  • Update: Omit setter param from no-unused-vars (fixes #2133) (Nicholas C. Zakas)
  • Docs: Cleaning dead links (Ilya Volodin)
  • Docs: Moving documentation out of the repository and modifying build scripts (Ilya Volodin)
  • Docs: Update link to Documentation (Kate Lizogubova)
  • Docs: Adding back deprecated space-unary-word-ops documentation (Ilya Volodin)
  • Fix: Unused recursive functions should be flagged (issue2095) (Nicholas C. Zakas)
  • Breaking: Remove JSX support from no-undef (fixes #2093) (Nicholas C. Zakas)
  • Fix: markVariableAsUsed() should work in Node.js env (fixes #2089) (Nicholas C. Zakas)
  • New: Add "always" and "never" options to "one-var" rule. (fixes #1619) (Danny Fritz)
  • New: newline-after-var rule (fixes #2057) (Gopal Venkatesan)
  • Fix: func-names with ES6 classes (fixes #2103) (Marsup)
  • Fix: Add "Error" to the "new-cap" rule exceptions (fixes #2098) (Mickaël Tricot)
  • Fix: vars-on-top conflict with ES6 import (fixes #2099) (Gyandeep Singh)
  • Docs: Fixed JSON syntax (Sajin)
  • New: space-before-function-paren rule (fixes #2028) (Brandon Mills)
  • Breaking: rule no-empty also checking for empty catch blocks. (fixes #1841) (Dieter Oberkofler)
  • Update: rule camelcase to allow snake_case in object literals. (fixes #1919) (Dieter Oberkofler)
  • New: Added option int32Hint for space-infix-ops (fixes #1295) (Kirill Efimov)
  • New: no-param-reassign rule (fixes #1599) (Nat Burns)

v0.17.1

18 Mar 00:39
Compare
Choose a tag to compare
  • Fix: no-func-assign should not fail on import declarations (fixes #2060) (Igor Zalutsky)
  • Fix: block-scoped-var to work with destructuring (fixes #2059) (Nicholas C. Zakas)
  • Fix: no-redeclare should check Node.js scope (fixes #2064) (Nicholas C. Zakas)
  • Fix: space-before-function-parentheses generator methods (fixes #2082) (Brandon Mills)
  • Fix: Method name resolution in complexity rule (fixes #2049) (Nicholas C. Zakas)
  • Fix: no-unused-vars crash from escope workaround (fixes #2042) (Brandon Mills)
  • Fix: restrict dot-notation keywords to actual ES3 keywords (fixes #2075) (Michael Ficarra)
  • Fix: block-scoped-var to work with classes (fixes #2048) (Nicholas C. Zakas)
  • Docs: Update no-new documentation (fixes #2044) (Nicholas C. Zakas)
  • Fix: yoda range exceptions with this (fixes #2063) (Brandon Mills)
  • Docs: Fix documentation on configuring eslint with comments (Miguel Ping)
  • Fix: rule no-duplicate-case problem with MemberExpressions. (fixes #2038) (Dieter Oberkofler)
  • Fix: Exempt \0 from no-octal-escape (fixes #1923) (Michael Ficarra)

v0.17.0

14 Mar 20:29
Compare
Choose a tag to compare
  • Fix: module import specifiers should be defined (refs #1978) (Nicholas C. Zakas)
  • Fix: Ignore super in no-undef (refs #1968) (Nicholas C. Zakas)
  • Upgrade: Espree to v0.12.0 (refs #1968) (Nicholas C. Zakas)
  • Fix: destructured arguments should work in block-scoped-var (fixes #1996) (Nicholas C. Zakas)
  • Fix: Line breaking with just carriage return (fixes #2005) (Nicholas C. Zakas)
  • Fix: location of new-cap error messages (fixes #2025) (Mathias Schreck)
  • Breaking: Stop checking JSX variable use, expose API instead (fixes #1911) (Glen Mailer)
  • Fix: Check spacing of class methods (fixes #1989) (Nicholas C. Zakas)
  • New: no-duplicate-case rule to disallow a duplicate case label (fixes #2015) (Dieter Oberkofler)
  • Clarify issue requirement for doc pull requests (Ian)
  • Add quotes around object key (Ian)
  • Fix: Add comma-dangle allow-multiline (fixes #1984) (Keith Cirkel)
  • Fix: Don't explode on default export function (fixes #1985) (Nicholas C. Zakas)
  • Update: Add AST node exceptions to comma-style. (fixes #1932) (Evan Simmons)
  • Docs: Add spread operator to available language options (Nicholas C. Zakas)
  • New: generator-star-spacing rule (fixes #1680, fixes #1949) (Brandon Mills)

v0.16.2

11 Mar 00:46
Compare
Choose a tag to compare
  • Fix: Ensure globalReturn isn't on when node:false (fixes #1995) (Nicholas C. Zakas)
  • Downgrade: escope pegged to 2.0.6 (refs #2001) (Nicholas C. Zakas)
  • Upgrade: escope to 2.0.7 (fixes #1978) (Nicholas C. Zakas)
  • Docs: Update descriptive text for --no-ignore option. (David Anson)
  • Upgrade: estraverse to latest for ESTree support (fixes #1986) (Nicholas C. Zakas)
  • Fix: Global block-scope-var check should work (fixes #1980) (Nicholas C. Zakas)
  • Fix: Don't warn about parens around yield (fixes #1981) (Nicholas C. Zakas)

v0.16.1

11 Mar 00:46
Compare
Choose a tag to compare
  • Fix: Node.js scoping in block-scoped-var (fixes #1969) (Nicholas C. Zakas)
  • Update: Enable ES6 scoping for more options (Nicholas C. Zakas)
  • Fix: Ensure all export nodes are traversable (fixes #1965) (Nicholas C. Zakas)
  • Fix: Ensure class names are marked as used (fixes #1967) (Nicholas C. Zakas)
  • Fix: remove typo that caused a crash (fixes #1963) (Fabricio C Zuardi)
  • Docs: Added missing "are" (Sean Wilkinson)

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)