forked from facebook/relay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (37 loc) · 965 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
extends:
- fbjs
rules:
# Consistency with internal config
no-class-assign: off
# This is very noisy, so disable
consistent-return: off
# Flow declares trip up the no-redeclare rule
no-redeclare: off
# Prettier and ESLint may disagree on the following rules
indent: off
array-bracket-spacing: off
comma-dangle: off
max-len: off
space-before-function-paren: off
flowtype/object-type-delimiter: off
# Tests do not need to follow relay naming rules
relay/graphql-naming: off
# TODO T31139228: remove or re-enable these once eslint-plugin-flowtype
# is compatible with babel-eslint >= 8
no-undef: off
no-unused-vars: off
# This has a different name internally
no-label-var: off
# Relay uses console statements for debugging and compile feedback
no-console:
- warn
- allow:
- warn
- error
- debug
- time
- timeEnd
- timeStamp
- groupCollapsed
- groupEnd