aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 09:07:32 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-17 09:07:32 +0900
commit92d958f65b14ba46b630e8e34aed6d736ce2f187 (patch)
treeecdfab395bd747b1257e51aab3a714fa914bb7f2 /.eslintrc
parente82581605cccd1bd2cad44b5013a6a76e9215695 (diff)
sort .eslintrc
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc19
1 files changed, 8 insertions, 11 deletions
diff --git a/.eslintrc b/.eslintrc
index 980f996..23f3809 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -14,36 +14,33 @@
"extends": [ "eslint:all" ],
"rules": {
"array-bracket-newline": ["error", { "multiline": true }],
- "arrow-body-style": "off",
"array-element-newline": "off",
+ "arrow-body-style": "off",
"arrow-parens": ["error", "as-needed", { "requireForBlockBody": true }],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
+ "capitalized-comments": "off",
"comma-dangle": "off",
"consistent-return": "off",
"default-case": "off",
+ "function-paren-newline": "off",
"id-length": "off",
"indent": ["error", 2],
- "function-paren-newline": "off",
"max-statements": ["error", 15],
"multiline-ternary": "off",
"newline-after-var": "off",
"newline-before-return": "off",
- "no-magic-numbers": "off",
"no-bitwise": "off",
- "no-use-before-define": "off",
- "no-warning-comments": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"no-empty-function": "off",
+ "no-magic-numbers": "off",
"no-mixed-operators": "off",
"no-plusplus": "off",
- "capitalized-comments": "off",
"no-ternary": "off",
"no-undefined": "off",
- "object-curly-spacing": [
- "error",
- "always", { "arraysInObjects": false, "objectsInObjects": false }
- ],
+ "no-use-before-define": "off",
+ "no-warning-comments": "off",
"object-curly-newline": ["error", { "consistent": true }],
+ "object-curly-spacing": ["error", "always", { "arraysInObjects": false, "objectsInObjects": false }],
"object-property-newline": ["error", { "allowMultiplePropertiesPerLine": true }],
"object-shorthand": "off",
"one-var": "off",
@@ -51,8 +48,8 @@
"prefer-const": "off",
"prefer-destructuring": ["error", { "AssignmentExpression": {"array": false}}],
"prefer-template": "off",
- "quotes": ["error", "single", { "allowTemplateLiterals": true }],
"quote-props": "off",
+ "quotes": ["error", "single", { "allowTemplateLiterals": true }],
"require-jsdoc": "off",
"sort-imports": "off",
"sort-keys": "off",