Commits on May 16, 2017
  1. Merge pull request #425 from shicks/jsdoc

    Fix jsdoc highlighting for tags w/ optional braces.
    dgutov committed on GitHub May 16, 2017
  2. Fix jsdoc highlighting for tags w/ optional braces

    Some of the tags in js2-jsdoc-arg-tag-regexp (specifically `@this`, `@throws`, and `@type`) are used with braces by Closure Compiler. Previously the close-brace was styled differently from the open-brace.  Adding a branch to the regex for optional braces fixes this.
    shicks committed May 16, 2017
Commits on May 15, 2017
  1. Add option js2-getprop-has-side-effects (#424)

    Includes a slight restructuring of how side-effect calculations are done (for better testability) and adds basic test coverage for no.side.effect warnings.
    shicks committed with dgutov May 15, 2017
Commits on May 4, 2017
Commits on Apr 29, 2017
  1. Merge pull request #421 from raxod502/feat/C-M-j

    Map C-M-j to js2-line-break
    dgutov committed on GitHub Apr 29, 2017
Commits on Apr 28, 2017
  1. Map C-M-j to js2-line-break

    In Emacs, indent-new-comment-line is bound to both M-j and
    C-M-j. js2-mode remapped M-j to js2-line-break, but didn't remap
    C-M-j. This commit fixes that by telling Emacs to remap *all* bindings
    for indent-new-comment-line (currently, just M-j and C-M-j) to
    raxod502 committed Apr 28, 2017
Commits on Apr 17, 2017
  1. Remove js2-mark-safe-local, it's unused now

    Closes #416.
    dgutov committed Apr 17, 2017
Commits on Mar 30, 2017
  1. Allow trailing comma in param list (#410)

    Fixes #403
    ttmarek committed with dgutov Mar 30, 2017
Commits on Mar 21, 2017
Commits on Feb 22, 2017
  1. Merge pull request #363 from XeCycle/class-public-field

    Add support for ES7 class public fields
    dgutov committed on GitHub Feb 22, 2017
  2. Merge pull request #366 from XeCycle/drop-yield-paren

    Fix some yield parsing (#362)
    dgutov committed on GitHub Feb 22, 2017
Commits on Feb 7, 2017
  1. yield should not end a return statement

    return yield x; is valid.
    XeCycle committed Feb 7, 2017
Commits on Feb 2, 2017
  1. Merge pull request #404 from jordonbiondo/feature/ignore-warnings

    Allow specific warnings to be ignored
    dgutov committed on GitHub Feb 2, 2017
Commits on Jan 28, 2017
  1. ignored warning support

    jordonbiondo committed Jan 27, 2017
Commits on Jan 16, 2017
  1. Bump the version

    dgutov committed Jan 16, 2017
Commits on Dec 31, 2016
  1. Merge pull request #387 from futurist/master

    feat: add js2-comments-between func
    dgutov committed on GitHub Dec 31, 2016
Commits on Dec 30, 2016
Commits on Dec 13, 2016
  1. Merge pull request #397 from lelit/issue393

    Fix issue393
    dgutov committed on GitHub Dec 13, 2016
Commits on Dec 12, 2016
Commits on Dec 10, 2016
Commits on Dec 9, 2016
Commits on Dec 8, 2016
  1. Rewrite js2--classify-variables, focusing only on name nodes

    This streamlines the function, avoiding multiple paths that obfuscated the logic:
    it should be now easier to reason about its behavior and integrate other corner
    cases, if/when needed.
    lelit committed Dec 8, 2016
Commits on Dec 5, 2016
  1. Fix arrow expression function's length

    Fixes #394.
    dgutov committed Dec 5, 2016
Commits on Dec 2, 2016
  1. Refactor ‘js2-define-destruct-symbols’ on top of ‘js2--collect-declar…

    The latter has been renamed from ‘js2--collect-target-name-nodes’.
    lelit committed Dec 2, 2016
  2. Handle other cases of destructuring assignments/initializations

    While this fixes the cases suggested by Dmitry, it basically duplicates the
    ‘js2-define-destruct-symbols’: most probably that function may be refactored
    on top of the new ‘js2--collect-target-name-nodes’.
    Also, there is still an (harmless) bug in the way variables are summarized:
    with destructuring initializations (some of the) variables appear to used
    at the same location.
    lelit committed Dec 2, 2016
Commits on Dec 1, 2016
  1. Handle destructuring assignments when classifying variables

    This should fix #393.
    lelit committed Dec 1, 2016
Commits on Nov 18, 2016