blob: baa1391245f79504d61e9114765fb4f7d0ec4d71 [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
2 "parser": "babel-eslint",
3 "env": {
4 "es6": true,
5 "jquery": true,
6 "node": true,
AviZi280f8012017-06-09 02:39:56 +03007 "jest": true
Michael Landoefa037d2017-02-19 12:57:33 +02008 },
9 "plugins": [
10 "react",
11 "import"
12 ],
13 "ecmaFeatures": {
14 "jsx": true,
15 "classes": true,
16 "modules": true
17 },
18 "globals": {
19 "Event": true,
20 "window": true,
21 "navigator": true,
22 "System": true,
23 "document": true,
24 "localStorage": true,
25 "sessionStorage": true,
26 "Image": true,
27 "requestAnimationFrame": true,
28 "cancelAnimationFrame": true,
29 "DEBUG": true,
30 "SVGElement": true,
31 "FormData": true,
32 "DEV": true,
33 "Blob": true,
34 "XMLHttpRequest": true,
talig8e9c0652017-12-20 14:30:43 +020035 "WebSocket": true,
Michael Landoefa037d2017-02-19 12:57:33 +020036 "URL": true,
37 "PunchOutRegistry": true,
38 "it": true,
39 "describe": true
40 },
41 "rules": {
42 "linebreak-style": 0,
43 "no-unused-vars": 2,
44 "no-bitwise": 0,
45 "no-eq-null": 2,
46 "eqeqeq": 2,
47 "wrap-iife": [
48 2,
49 "any"
50 ],
51 "no-unused-expressions": 2,
52 "indent": [
53 1,
54 "tab",
55 {
56 "SwitchCase": 1
57 }
58 ],
59 "no-use-before-define": 2,
60 "new-cap": [
61 2,
62 {
63 "capIsNewExceptions": [
64 "DataTable",
65 "V"
66 ]
67 }
68 ],
69 "no-caller": 2,
70 "no-empty": 2,
71 "no-undef": 2,
72 "quotes": [
73 2,
74 "single",
75 "avoid-escape"
76 ],
77 "jsx-quotes": [
78 2,
79 "prefer-single"
80 ],
81 "no-plusplus": 0,
82 "no-cond-assign": [
83 2,
84 "except-parens"
85 ],
86 "comma-style": [
87 2,
88 "last"
89 ],
90 "no-invalid-this": 0,
91 "dot-notation": 0,
92 "max-len": [
93 1,
94 200
95 ],
96 "camelcase": [
97 2,
98 {
99 "properties": "never"
100 }
101 ],
102 "curly": 2,
103 "brace-style": 0,
104 "semi": [
105 2,
106 "always"
107 ],
108 "space-in-brackets": [
109 0,
110 "never"
111 ],
112 "space-infix-ops": 2,
113 "import/default": 0,
114 "import/no-unresolved": 0,
115 "import/no-named-as-default": 2,
116 "import/no-duplicates": 0,
117 "import/imports-first": 2,
118 "import/export": 2,
119 "react/display-name": 0,
120 "react/forbid-prop-types": 0,
121 "react/jsx-boolean-value": 0,
122 "react/jsx-closing-bracket-location": [
123 1,
124 {
125 "nonEmpty": "after-props",
126 "selfClosing": "after-props"
127 }
128 ],
129 "react/jsx-curly-spacing": 0,
130 "react/jsx-indent-props": [
131 1,
132 "tab"
133 ],
134 "react/jsx-max-props-per-line": 0,
135 "react/jsx-no-duplicate-props": 1,
136 "react/jsx-no-literals": 0,
137 "react/jsx-no-undef": 1,
138 "react/jsx-sort-prop-types": 0,
139 "react/jsx-sort-props": 0,
140 "react/jsx-uses-react": 1,
141 "react/jsx-uses-vars": 1,
142 "react/no-danger": 1,
143 "react/no-did-mount-set-state": 2,
144 "react/no-did-update-set-state": 2,
145 "react/no-direct-mutation-state": 1,
146 "react/no-multi-comp": 0,
147 "react/no-set-state": 0,
148 "react/no-unknown-property": 1,
149 "react/prop-types": 0,
150 "react/react-in-jsx-scope": 1,
151 "react/require-extension": 1,
152 "react/self-closing-comp": 1,
153 "react/sort-comp": 0,
154 "react/wrap-multilines": 1
155 }
156}