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

Ignore template literals #14173

Closed
wants to merge 2 commits into from
Closed

Commits on Jul 11, 2017

  1. tools: ignore template literals for line length

    The line length limitation applied by linting is intended to improve
    readability. Unfortunately with template literals, practices used to get
    around it can inhibit readability. For example:
    
        return `The "${name}" array must have a length of ${
               length}. Received length ${actual}`;
    
    Configure the linter to ignore line length limitations for template
    literals.
    Trott committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    b859cbd View commit details
    Browse the repository at this point in the history
  2. lib,test: remove linebreaks from template literals

    Improve readability of template literals by removing some creative use
    of line breaks.
    Trott committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    83033fb View commit details
    Browse the repository at this point in the history