forked from juju/juju-gui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
73 lines (73 loc) · 1.3 KB
/
.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
env:
browser: true
node: true
es6: true
plugins:
- react
parserOptions:
ecmaVersion: 6
ecmaFeatures:
jsx: true
rules:
indent: [2, 2, {SwitchCase: 1, VariableDeclarator: 2}]
max-len: [2, 80, 2]
no-const-assign: 2
no-debugger: 2
no-multi-spaces: 2
no-shadow: 0
no-single-tests: 2
no-sparse-arrays: 2
no-test-utils: 2
no-undef: 2
no-underscore-dangle: 0
no-unused-vars: [2, {args: "none"}]
quotes: [2, "single"]
react/jsx-key: 2
react/jsx-no-duplicate-props: 2
react/prop-types: 2
react/sort-prop-types: 2
semi: [2, "always"]
space-before-blocks: 2
strict: [2, "global"]
globals:
after: true
afterAll: true
afterEach: true
assert: true
before: true
beforeAll: true
beforeEach: true
chai: true
classNames: true
Clipboard: true
consoleManager: true
dataLayer: true
describe: true
enhanceWithClickOutside: true
Exception: true
expect: true
fail: true
GlobalConfig: true
it: true
JsDiff: true
jsTestUtils: true
jsyaml: true
juju: true
jujulib: true
Keysim: true
marked: true
nacl: true
Prism: true
queryComponentSelector: true
React: true
ReactDnD: true
ReactDnDHTML5Backend: true
ReactDOM: true
renderIntoDocument: true
saveAs: true
sinon: true
Stripe: true
testUtils: true
xit: true
YUI: true
zip: true