Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRefael Ackermann <refack@gmail.com>2017-07-03 19:51:45 +0300
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2017-07-19 22:02:12 +0300
commit20c7b58596dbc0fbe4cda1a99257c9bd1b551233 (patch)
tree3714463f8bf2d4b44e71c58362ae04631085692e /benchmark
parentdbd629e72032f1716f7042b7d9c8120ec1c80b9a (diff)
tools: eslint - use `error` and `off`
PR-URL: https://github.com/nodejs/node/pull/14061 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'benchmark')
-rw-r--r--benchmark/.eslintrc.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/benchmark/.eslintrc.yaml b/benchmark/.eslintrc.yaml
index d569a63249f..beaaea041fc 100644
--- a/benchmark/.eslintrc.yaml
+++ b/benchmark/.eslintrc.yaml
@@ -3,11 +3,11 @@
rules:
# Stylistic Issues
# http://eslint.org/docs/rules/#stylistic-issues
- indent: [2, 2, {ArrayExpression: first,
- CallExpression: {arguments: first},
- FunctionDeclaration: {parameters: first},
- FunctionExpression: {parameters: first},
- MemberExpression: off,
- ObjectExpression: first,
- SwitchCase: 1}]
- indent-legacy: 0
+ indent: [error, 2, {ArrayExpression: first,
+ CallExpression: {arguments: first},
+ FunctionDeclaration: {parameters: first},
+ FunctionExpression: {parameters: first},
+ MemberExpression: off,
+ ObjectExpression: first,
+ SwitchCase: 1}]
+ indent-legacy: off