diff options
author | Rich Trott <rtrott@gmail.com> | 2016-04-30 22:23:09 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-05-04 10:24:47 -0700 |
commit | 1027b9447ed56ab416d8916b5b4cb212240f1481 (patch) | |
tree | 63f69f8966d17d6f79579b7bdc809c42d76e36b1 /lib | |
parent | 52f85bebfc7fac8b9cf4a91662580c21bdbce491 (diff) | |
download | android-node-v8-1027b9447ed56ab416d8916b5b4cb212240f1481.tar.gz android-node-v8-1027b9447ed56ab416d8916b5b4cb212240f1481.tar.bz2 android-node-v8-1027b9447ed56ab416d8916b5b4cb212240f1481.zip |
lib,test: update in preparation for linter update
ESLint 2.9.0 fixes some bugs that resulted in minor issues not being
caught by ESLint 2.7.0. Update instances of our code that will be
flagged when we upgrade to ESLint 2.9.0.
PR-URL: https://github.com/nodejs/node/pull/6498
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/internal/readline.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/readline.js b/lib/internal/readline.js index 3248c7c50a..1cc0b58d67 100644 --- a/lib/internal/readline.js +++ b/lib/internal/readline.js @@ -1,6 +1,7 @@ 'use strict'; // Regexes used for ansi escape code splitting +// eslint-disable-next-line no-control-regex const metaKeyCodeReAnywhere = /(?:\x1b)([a-zA-Z0-9])/; const functionKeyCodeReAnywhere = new RegExp('(?:\x1b+)(O|N|\\[|\\[\\[)(?:' + [ '(\\d+)(?:;(\\d+))?([~^$])', |