blob: 5bc1423a4a9da12c54339a52db4ef7080f16f13a [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
2 "parser": "babel-eslint",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +02003 "parserOptions": {
4 "ecmaVersion": 6,
5 "sourceType": "module",
6 "ecmaFeatures": {
7 "jsx": true,
8 "classes": true,
9 "modules": true,
10 "experimentalDecorators": true
11 }
12 },
Michael Landoefa037d2017-02-19 12:57:33 +020013 "env": {
14 "es6": true,
15 "jquery": true,
16 "node": true,
AviZi280f8012017-06-09 02:39:56 +030017 "jest": true
Michael Landoefa037d2017-02-19 12:57:33 +020018 },
19 "plugins": [
20 "react",
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020021 "import",
22 "prettier"
Michael Landoefa037d2017-02-19 12:57:33 +020023 ],
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020024 "extends": [
25 "prettier"
26 ],
Michael Landoefa037d2017-02-19 12:57:33 +020027 "globals": {
28 "Event": true,
29 "window": true,
30 "navigator": true,
31 "System": true,
32 "document": true,
33 "localStorage": true,
34 "sessionStorage": true,
35 "Image": true,
36 "requestAnimationFrame": true,
37 "cancelAnimationFrame": true,
38 "DEBUG": true,
39 "SVGElement": true,
40 "FormData": true,
41 "DEV": true,
42 "Blob": true,
43 "XMLHttpRequest": true,
talig8e9c0652017-12-20 14:30:43 +020044 "WebSocket": true,
Michael Landoefa037d2017-02-19 12:57:33 +020045 "URL": true,
46 "PunchOutRegistry": true,
47 "it": true,
48 "describe": true
49 },
50 "rules": {
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020051 "prettier/prettier": ["error", {
52 "singleQuote": true,
53 "jsxBracketSameLine": true,
54 "tabWidth": 4
55 }],
Michael Landoefa037d2017-02-19 12:57:33 +020056 "linebreak-style": 0,
57 "no-unused-vars": 2,
58 "no-bitwise": 0,
59 "no-eq-null": 2,
60 "eqeqeq": 2,
Michael Landoefa037d2017-02-19 12:57:33 +020061 "no-unused-expressions": 2,
Michael Landoefa037d2017-02-19 12:57:33 +020062 "no-use-before-define": 2,
63 "new-cap": [
64 2,
65 {
66 "capIsNewExceptions": [
67 "DataTable",
68 "V"
69 ]
70 }
71 ],
72 "no-caller": 2,
73 "no-empty": 2,
74 "no-undef": 2,
75 "quotes": [
76 2,
77 "single",
78 "avoid-escape"
79 ],
Michael Landoefa037d2017-02-19 12:57:33 +020080 "no-plusplus": 0,
81 "no-cond-assign": [
82 2,
83 "except-parens"
84 ],
Michael Landoefa037d2017-02-19 12:57:33 +020085 "no-invalid-this": 0,
86 "dot-notation": 0,
Michael Landoefa037d2017-02-19 12:57:33 +020087 "camelcase": [
88 2,
89 {
90 "properties": "never"
91 }
92 ],
93 "curly": 2,
Michael Landoefa037d2017-02-19 12:57:33 +020094 "semi": [
95 2,
96 "always"
97 ],
Michael Landoefa037d2017-02-19 12:57:33 +020098 "import/default": 0,
99 "import/no-unresolved": 0,
100 "import/no-named-as-default": 2,
101 "import/no-duplicates": 0,
102 "import/imports-first": 2,
103 "import/export": 2,
104 "react/display-name": 0,
105 "react/forbid-prop-types": 0,
106 "react/jsx-boolean-value": 0,
Michael Landoefa037d2017-02-19 12:57:33 +0200107 "react/jsx-no-duplicate-props": 1,
108 "react/jsx-no-literals": 0,
109 "react/jsx-no-undef": 1,
110 "react/jsx-sort-prop-types": 0,
111 "react/jsx-sort-props": 0,
112 "react/jsx-uses-react": 1,
113 "react/jsx-uses-vars": 1,
114 "react/no-danger": 1,
115 "react/no-did-mount-set-state": 2,
116 "react/no-did-update-set-state": 2,
117 "react/no-direct-mutation-state": 1,
118 "react/no-multi-comp": 0,
119 "react/no-set-state": 0,
120 "react/no-unknown-property": 1,
121 "react/prop-types": 0,
122 "react/react-in-jsx-scope": 1,
Michael Landoefa037d2017-02-19 12:57:33 +0200123 "react/self-closing-comp": 1,
124 "react/sort-comp": 0,
Michael Landoefa037d2017-02-19 12:57:33 +0200125 }
126}