Reorder eslint rules
authorFrank Bessou <frank.bessou@logilab.fr>
Tue, 18 Apr 2017 12:18:59 +0200
changeset 121 2356bccb7de1
parent 120 c8abcde27479
child 122 a704e7916827
Reorder eslint rules
.eslintrc.yml
--- a/.eslintrc.yml	Tue Apr 18 11:28:28 2017 +0200
+++ b/.eslintrc.yml	Tue Apr 18 12:18:59 2017 +0200
@@ -19,14 +19,10 @@
   es6: true
   node: true
 rules:
+  comma-dangle: ["error", "always-multiline"]
   comma-spacing: ["error"]
-  react/no-multi-comp: off
-  react/jsx-indent-props: [2, 4]
-  object-curly-spacing: ["error", "never"]
-  object-shorthand: off
-  no-unused-vars: ["error", {"argsIgnorePattern": "_$"}]
+  eqeqeq: [1]
   indent: ["off", 4, {"VariableDeclarator": 1}]
-  quotes: [0]
   key-spacing: [0]
   new-cap: [0]
   no-console: ["error", {"allow": ["warn", "error"]}]
@@ -34,9 +30,13 @@
   no-multi-spaces: [0]
   no-shadow: [0]
   no-trailing-spaces: [2]
+  no-unused-vars: ["error", {"argsIgnorePattern": "_$"}]
   no-use-before-define: [2, "nofunc"]
-  eqeqeq: [1]
-  comma-dangle: ["error", "always-multiline"]
+  object-curly-spacing: ["error", "never"]
+  object-shorthand: off
+  quotes: [0]
+  react/jsx-indent-props: [2, 4]
+  react/no-multi-comp: off
   space-before-function-paren: ["error", "never"]
 plugins:
   - react