From 2c14d271d1e2bd8cfecebd9759fafefac08c5fa3 Mon Sep 17 00:00:00 2001 From: Matthijs van Henten Date: Wed, 17 Feb 2016 11:43:19 +0000 Subject: [PATCH 1/3] removed some undesired rules --- .eslintrc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index ec9e26df..5efed0d0 100644 --- a/.eslintrc +++ b/.eslintrc @@ -54,14 +54,12 @@ rules: no-did-update-set-state: 1 no-direct-mutation-state: 1 no-is-mounted: 1 - no-multi-comp: 1 no-set-state: 1 no-string-refs: 1 no-unknown-property: 1 prefer-es6-class: [1, "never"] prop-types: 1 react-in-jsx-scope: 1 - require-extension: [1, { extensions: [".js", ".jsx"] }] self-closing-comp: 1 sort-comp: 1 wrap-multilines: 1 @@ -74,10 +72,8 @@ rules: jsx-max-props-per-line: [1, { maximum: 3 }] jsx-no-bind: 1 jsx-no-duplicate-props: 1 - jsx-no-literals: 1 jsx-no-undef: 1 jsx-pascal-case: 1 - jsx-sort-props: 1 jsx-uses-react: 1 default-case: 3 From a78f987c73fd0188293886ec34637ae0ca603255 Mon Sep 17 00:00:00 2001 From: Matthijs van Henten Date: Wed, 17 Feb 2016 12:08:14 +0000 Subject: [PATCH 2/3] removed more eshint foobars --- .eslintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 5efed0d0..cc80c84b 100644 --- a/.eslintrc +++ b/.eslintrc @@ -69,7 +69,7 @@ rules: jsx-indent-props: 1 jsx-key: 1 jsx-indent: 1 - jsx-max-props-per-line: [1, { maximum: 3 }] + jsx-max-props-per-line: [1, { maximum: 4 }] jsx-no-bind: 1 jsx-no-duplicate-props: 1 jsx-no-undef: 1 From 23ddc8888aee94e5cac2051dccf59a6bc2656fa1 Mon Sep 17 00:00:00 2001 From: Matthijs van Henten Date: Wed, 17 Feb 2016 16:57:12 +0000 Subject: [PATCH 3/3] .eslint removes more linter foo --- .eslintrc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index cc80c84b..36d90769 100644 --- a/.eslintrc +++ b/.eslintrc @@ -54,8 +54,6 @@ rules: no-did-update-set-state: 1 no-direct-mutation-state: 1 no-is-mounted: 1 - no-set-state: 1 - no-string-refs: 1 no-unknown-property: 1 prefer-es6-class: [1, "never"] prop-types: 1 @@ -65,11 +63,10 @@ rules: wrap-multilines: 1 jsx-boolean-value: [1, "always"] jsx-equals-spacing: 1 - jsx-handler-names: 1 jsx-indent-props: 1 jsx-key: 1 jsx-indent: 1 - jsx-max-props-per-line: [1, { maximum: 4 }] + jsx-max-props-per-line: [1, { maximum: 5 }] jsx-no-bind: 1 jsx-no-duplicate-props: 1 jsx-no-undef: 1