From 4242122a4782fdefe4805529e3a41ad0cdb4665b Mon Sep 17 00:00:00 2001 From: Mike Greiling Date: Wed, 19 Sep 2018 17:42:20 -0500 Subject: Upgrade eslint to v5 We needed to disable a few eslint-config-airbnb-base rules in order to keep the number of line changes under control. These should be re-enabled asap. --- .eslintrc.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.eslintrc.yml') diff --git a/.eslintrc.yml b/.eslintrc.yml index ebf8048f19c..ba637649409 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -56,6 +56,10 @@ rules: component: always svg: always math: always + camelcase: + - error + - properties: never + ignoreDestructuring: true ## Conflicting rules with prettier: space-before-function-paren: off curly: off @@ -63,7 +67,7 @@ rules: function-paren-newline: off object-curly-newline: off padded-blocks: off - # Disabled for now, to make the eslint 3 -> eslint 4 update smoother + # Disabled for now, to make the eslint 3 -> eslint 5 update smoother ## Indent rule. We are using the old for now: https://eslint.org/docs/user-guide/migrating-to-4.0.0#indent-rewrite indent: off indent-legacy: @@ -78,3 +82,11 @@ rules: FunctionExpression: parameters: 1 body: 1 + # Disabled for now, to make the airbnb-base 12.1.0 -> 13.1.0 update smoother + operator-linebreak: off + implicit-arrow-linebreak: off + no-else-return: + - error + - allowElseIf: true + import/no-useless-path-segments: off + lines-between-class-members: off -- cgit v1.2.3