Skip to content

Commit f403ae9

Browse files
cleanup ESLint config (#2257)
1 parent e9d7fc1 commit f403ae9

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.eslintrc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ rules:
1818
flowtype/newline-after-flow-annotation: [error, always]
1919
flowtype/no-dupe-keys: error
2020
flowtype/no-existential-type: off # checked by Flow
21-
flowtype/no-flow-fix-me-comments: off # TODO
21+
flowtype/no-flow-fix-me-comments: off
2222
flowtype/no-mixed: off
2323
flowtype/no-mutable-array: off
2424
flowtype/no-primitive-constructor-types: error
@@ -103,8 +103,8 @@ rules:
103103
array-callback-return: [error, { allowImplicit: true }]
104104
block-scoped-var: error
105105
class-methods-use-this: off
106-
complexity: off # maybe
107-
consistent-return: off # TODO
106+
complexity: off
107+
consistent-return: off
108108
curly: [error, all]
109109
default-case: off
110110
default-param-last: off # TODO
@@ -117,7 +117,7 @@ rules:
117117
no-case-declarations: error
118118
no-div-regex: error
119119
no-else-return: error
120-
no-empty-function: off # TODO
120+
no-empty-function: error
121121
no-empty-pattern: error
122122
no-eq-null: off
123123
no-eval: error
@@ -314,7 +314,7 @@ rules:
314314
jsx-quotes: off
315315
key-spacing: off
316316
keyword-spacing: off
317-
linebreak-style: error
317+
linebreak-style: off
318318
max-len: off
319319
multiline-ternary: off
320320
newline-per-chained-call: off

src/type/__tests__/enumType-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const ColorType = new GraphQLEnumType({
1919
},
2020
});
2121

22-
const Complex1 = { someRandomFunction: () => {} };
22+
const Complex1 = { someRandomFunction: () => null };
2323
const Complex2 = { someRandomValue: 123 };
2424

2525
const ComplexEnum = new GraphQLEnumType({

0 commit comments

Comments
 (0)