Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools: relax lint rule for regexps #12807

Closed
wants to merge 2 commits into from
Closed

Commits on May 3, 2017

  1. tools: relax lint rule for regexps

    Relax the rule for maximum line length in JS files if the line contains
    a regular expression literal. This will avoid the need to convert a
    regular expression literal into a RegExp constructor call broken across
    multiple lines in order to satisfy the maximum line length rule. That
    practice hampers readability.
    Trott committed May 3, 2017
    Configuration menu
    Copy the full SHA
    51ef035 View commit details
    Browse the repository at this point in the history
  2. lib,test: use regular expression literals

    Replace RegExp constructors with regular expression literals where
    possible.
    Trott committed May 3, 2017
    Configuration menu
    Copy the full SHA
    9babfd9 View commit details
    Browse the repository at this point in the history