summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-stat.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-02-21 21:19:32 -0800
committerRich Trott <rtrott@gmail.com>2016-02-24 14:54:29 -0800
commit9534f6dfd534c24d1da8a2f0715f2dd6b7e09285 (patch)
tree232fc92082b271070f6225d58006b6f1480678d9 /test/parallel/test-fs-stat.js
parent7b0a83d2b007a381effa038b3e4fb2421de10b87 (diff)
downloadandroid-node-v8-9534f6dfd534c24d1da8a2f0715f2dd6b7e09285.tar.gz
android-node-v8-9534f6dfd534c24d1da8a2f0715f2dd6b7e09285.tar.bz2
android-node-v8-9534f6dfd534c24d1da8a2f0715f2dd6b7e09285.zip
tools: enable additional lint rules
Enable additional likely-uncontroversial lint rules: * `comma-dangle` set to prohibit dangling commas on objects and arrays that are defined on a single line. Multi-line definitions can use or omit a trailing comma. * `no-unused-labels` Prohibits defining a label that is not used. * `no-path-concat` Prohibits string-concatenation using i`__dirname` and `__filename`. Use `path.join()`, `path.resolve()`, or template strings instead. * `no-new-symbol` disallow use of `new` operator with `Symbol` object. Violating this rule would result in a `TypeError` at runtime.` PR-URL: https://github.com/nodejs/node/pull/5357 Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com>
Diffstat (limited to 'test/parallel/test-fs-stat.js')
-rw-r--r--test/parallel/test-fs-stat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-stat.js b/test/parallel/test-fs-stat.js
index 1affdec626..782c0c096c 100644
--- a/test/parallel/test-fs-stat.js
+++ b/test/parallel/test-fs-stat.js
@@ -68,7 +68,7 @@ fs.open('.', 'r', undefined, function(err, fd) {
fs.close(fd);
});
-console.log('stating: ' + __filename);
+console.log(`stating: ${__filename}`);
fs.stat(__filename, function(err, s) {
if (err) {
got_error = true;