Skip to content

Commit 508760e

Browse files
IvanGoncharovmjmahone
authored andcommitted
Disable eslint rules that can conflict with prettier (#1421)
Continuation of 40f73fd Rules was disabled using this tool: https://github.com/prettier/eslint-config-prettier#cli-helper-tool
1 parent 7219e51 commit 508760e

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

.eslintrc

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,33 @@
4242
"rules": {
4343
"prettier/prettier": 2,
4444

45-
"flowtype/space-after-type-colon": [2, "always"],
46-
"flowtype/space-before-type-colon": [2, "never"],
47-
"flowtype/space-before-generic-bracket": [2, "never"],
48-
"flowtype/union-intersection-spacing": [2, "always"],
45+
"flowtype/space-after-type-colon": 0,
46+
"flowtype/space-before-type-colon": 0,
47+
"flowtype/space-before-generic-bracket": 0,
48+
"flowtype/union-intersection-spacing": 0,
4949
"flowtype/no-weak-types": [2, {"any": false}],
5050
"flowtype/define-flow-type": 2,
5151
"flowtype/use-flow-type": 2,
52-
"flowtype/semi": 2,
52+
"flowtype/semi": 0,
5353

54-
"arrow-parens": [2, "as-needed"],
55-
"arrow-spacing": 2,
54+
"arrow-parens": 0,
55+
"arrow-spacing": 0,
5656
"block-scoped-var": 0,
57-
"brace-style": [2, "1tbs", {"allowSingleLine": true}],
57+
"brace-style": 0,
5858
"callback-return": 2,
5959
"camelcase": [2, {"properties": "always"}],
6060
"comma-dangle": 0,
6161
"comma-spacing": 0,
62-
"comma-style": [2, "last"],
62+
"comma-style": 0,
6363
"complexity": 0,
64-
"computed-property-spacing": [2, "never"],
64+
"computed-property-spacing": 0,
6565
"consistent-return": 0,
6666
"consistent-this": 0,
6767
"curly": [2, "all"],
6868
"default-case": 0,
69-
"dot-location": [2, "property"],
69+
"dot-location": 0,
7070
"dot-notation": 0,
71-
"eol-last": 2,
71+
"eol-last": 0,
7272
"eqeqeq": ["error", "smart"],
7373
"func-names": 0,
7474
"func-style": 0,
@@ -78,8 +78,8 @@
7878
"id-match": [2, "^(?:_?[a-zA-Z0-9]*)|[_A-Z0-9]+$"],
7979
"indent": 0,
8080
"init-declarations": 0,
81-
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
82-
"keyword-spacing": 2,
81+
"key-spacing": 0,
82+
"keyword-spacing": 0,
8383
"linebreak-style": 2,
8484
"lines-around-comment": 0,
8585
"max-depth": 0,
@@ -88,7 +88,7 @@
8888
"max-params": 0,
8989
"max-statements": 0,
9090
"new-cap": 0,
91-
"new-parens": 2,
91+
"new-parens": 0,
9292
"newline-after-var": 0,
9393
"no-alert": 2,
9494
"no-array-constructor": 2,
@@ -119,9 +119,9 @@
119119
"no-extra-bind": 2,
120120
"no-extra-boolean-cast": 2,
121121
"no-extra-parens": 0,
122-
"no-extra-semi": 2,
122+
"no-extra-semi": 0,
123123
"no-fallthrough": 2,
124-
"no-floating-decimal": 2,
124+
"no-floating-decimal": 0,
125125
"no-func-assign": 2,
126126
"no-implicit-coercion": 2,
127127
"no-implied-eval": 2,
@@ -137,8 +137,8 @@
137137
"no-lonely-if": 2,
138138
"no-loop-func": 0,
139139
"no-mixed-requires": [2, true],
140-
"no-mixed-spaces-and-tabs": 2,
141-
"no-multi-spaces": 2,
140+
"no-mixed-spaces-and-tabs": 0,
141+
"no-multi-spaces": 0,
142142
"no-multi-str": 2,
143143
"no-multiple-empty-lines": 0,
144144
"no-native-reassign": 0,
@@ -167,18 +167,18 @@
167167
"no-sequences": 0,
168168
"no-shadow": 2,
169169
"no-shadow-restricted-names": 2,
170-
"no-spaced-func": 2,
170+
"no-spaced-func": 0,
171171
"no-sparse-arrays": 2,
172172
"no-sync": 2,
173173
"no-ternary": 0,
174174
"no-this-before-super": 2,
175175
"no-throw-literal": 2,
176-
"no-trailing-spaces": 2,
176+
"no-trailing-spaces": 0,
177177
"no-undef": 2,
178178
"no-undef-init": 2,
179179
"no-undefined": 0,
180180
"no-underscore-dangle": 0,
181-
"no-unexpected-multiline": 2,
181+
"no-unexpected-multiline": 0,
182182
"no-unneeded-ternary": 2,
183183
"no-unreachable": 2,
184184
"no-unused-expressions": 2,
@@ -199,23 +199,23 @@
199199
"prefer-const": 2,
200200
"prefer-reflect": 0,
201201
"prefer-spread": 0,
202-
"quote-props": [2, "as-needed", {"numbers": true}],
202+
"quote-props": 0,
203203
"radix": 2,
204204
"require-yield": 0,
205-
"semi": [2, "always"],
206-
"semi-spacing": [2, {"before": false, "after": true}],
205+
"semi": 0,
206+
"semi-spacing": 0,
207207
"sort-vars": 0,
208-
"space-before-blocks": [2, "always"],
208+
"space-before-blocks": 0,
209209
"space-in-parens": 0,
210-
"space-infix-ops": [2, {"int32Hint": false}],
211-
"space-unary-ops": [2, {"words": true, "nonwords": false}],
210+
"space-infix-ops": 0,
211+
"space-unary-ops": 0,
212212
"spaced-comment": [2, "always"],
213213
"strict": 0,
214214
"use-isnan": 2,
215215
"valid-jsdoc": 0,
216216
"valid-typeof": 2,
217217
"vars-on-top": 0,
218-
"wrap-iife": 2,
218+
"wrap-iife": 0,
219219
"wrap-regex": 0,
220220
"yoda": [2, "never", {"exceptRange": true}],
221221

0 commit comments

Comments
 (0)