diff options
author | Rich Trott <rtrott@gmail.com> | 2016-09-09 17:07:54 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-09-12 21:11:55 -0700 |
commit | 2da2625ad16b09c25d7622c91ffe1d940e44e41a (patch) | |
tree | 1703937d59bd6723cbbd97a2219aaa5e301fad85 /tools/eslint/lib/rules/no-duplicate-imports.js | |
parent | a6b1f175c2368bb749c6c58a9d8df22e8c72a377 (diff) | |
download | node-new-2da2625ad16b09c25d7622c91ffe1d940e44e41a.tar.gz |
tools: update ESLint to 3.5.0
PR-URL: https://github.com/nodejs/node/pull/8478
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'tools/eslint/lib/rules/no-duplicate-imports.js')
-rw-r--r-- | tools/eslint/lib/rules/no-duplicate-imports.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/eslint/lib/rules/no-duplicate-imports.js b/tools/eslint/lib/rules/no-duplicate-imports.js index 05ca4196d7..d12c3a56df 100644 --- a/tools/eslint/lib/rules/no-duplicate-imports.js +++ b/tools/eslint/lib/rules/no-duplicate-imports.js @@ -37,8 +37,11 @@ function checkAndReport(context, node, value, array, message) { if (array.indexOf(value) !== -1) { context.report({ node, - message: "'{{module}}' " + message, - data: {module: value} + message: "'{{module}}' {{message}}", + data: { + module: value, + message + } }); } } |