summaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-02-13 13:57:34 -0800
committerRich Trott <rtrott@gmail.com>2016-02-18 10:13:03 -0800
commitd3c3a928c3a2f9e961881b47ef0796e57ae8d429 (patch)
tree90f11bae9e6ef98e60f8d90c1db56ba73be306ac /.eslintrc
parent32f6098eefc7404ef74ca59dfdfceebb009f6f53 (diff)
downloadnode-new-d3c3a928c3a2f9e961881b47ef0796e57ae8d429.tar.gz
tools: remove obsolete lint rules
We are about to upgrade from ESlint 1 to ESLint 2. Remove lint rules that will not exist in ESLint 2. PR-URL: https://github.com/nodejs/node/pull/5214 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: jbergstroem - Johan Bergström <bugs@bergstroem.nu> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Myles Borins <myles.borins@gmail.com>
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc16
1 files changed, 1 insertions, 15 deletions
diff --git a/.eslintrc b/.eslintrc
index 49f77d3545..a15348e702 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,18 +1,6 @@
env:
node: true
-
-# enable ECMAScript features
-ecmaFeatures:
- arrowFunctions: true
- binaryLiterals: true
- blockBindings: true
- classes: true
- forOf: true
- generators: true
- objectLiteralShorthandMethods: true
- objectLiteralShorthandProperties: true
- octalLiterals: true
- templateStrings: true
+ es6: true
rules:
# Possible Errors
@@ -55,12 +43,10 @@ rules:
no-trailing-spaces: 2
quotes: [2, "single", "avoid-escape"]
semi: 2
- space-after-keywords: 2
space-before-blocks: [2, "always"]
space-before-function-paren: [2, "never"]
space-in-parens: [2, "never"]
space-infix-ops: 2
- space-return-throw-case: 2
space-unary-ops: 2
# ECMAScript 6