summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2017-05-02 22:01:57 -0700
committerAnna Henningsen <anna@addaleax.net>2017-05-05 13:43:25 +0200
commitfeb90d37ff542c58612c800bb89a4574bcfb25a9 (patch)
tree0deb48cd2ae69653d411eee97b5a79e4acab2d32 /test
parentf1d593cda16dec18d56e76bedb11200d57e74e36 (diff)
downloadnode-new-feb90d37ff542c58612c800bb89a4574bcfb25a9.tar.gz
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. PR-URL: https://github.com/nodejs/node/pull/12807 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions