blob: 01b65f3845a675eadc24e85cf55d018e102d4f06 [file] [log] [blame]
Michael Landoefa037d2017-02-19 12:57:33 +02001{
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +02002 "parser": "babel-eslint",
3 "parserOptions": {
4 "ecmaVersion": 6,
5 "sourceType": "module",
6 "ecmaFeatures": {
7 "jsx": true,
8 "classes": true,
9 "modules": true,
10 "experimentalDecorators": true
11 }
12 },
13 "env": {
14 "es6": true,
15 "jquery": true,
16 "node": true,
17 "jest": true
18 },
19 "plugins": ["react", "import", "prettier"],
20 "extends": ["prettier"],
21 "globals": {
22 "Event": true,
23 "window": true,
24 "navigator": true,
25 "System": true,
26 "document": true,
27 "localStorage": true,
28 "sessionStorage": true,
29 "Image": true,
30 "requestAnimationFrame": true,
31 "cancelAnimationFrame": true,
32 "DEBUG": true,
33 "SVGElement": true,
34 "FormData": true,
35 "DEV": true,
36 "Blob": true,
37 "XMLHttpRequest": true,
38 "WebSocket": true,
39 "URL": true,
40 "PunchOutRegistry": true,
41 "it": true,
42 "describe": true
43 },
44 "rules": {
45 "prettier/prettier": [
46 "error",
47 {
48 "singleQuote": true,
49 "jsxBracketSameLine": true,
50 "tabWidth": 4
51 }
52 ],
53 "linebreak-style": 0,
54 "no-unused-vars": 2,
55 "no-bitwise": 0,
56 "no-eq-null": 2,
57 "eqeqeq": 2,
58 "no-unused-expressions": 2,
59 "no-use-before-define": 2,
60 "new-cap": [
61 2,
62 {
63 "capIsNewExceptions": ["DataTable", "V"]
64 }
65 ],
66 "no-caller": 2,
67 "no-empty": 2,
68 "no-undef": 2,
69 "quotes": [2, "single", "avoid-escape"],
70 "no-plusplus": 0,
71 "no-cond-assign": [2, "except-parens"],
72 "no-invalid-this": 0,
73 "dot-notation": 0,
74 "camelcase": [
75 2,
76 {
77 "properties": "never"
78 }
79 ],
80 "curly": 2,
81 "semi": [2, "always"],
82 "import/default": 0,
83 "import/no-unresolved": 0,
84 "import/no-named-as-default": 2,
85 "import/no-duplicates": 0,
86 "import/imports-first": 2,
87 "import/export": 2,
88 "react/display-name": 0,
89 "react/forbid-prop-types": 0,
90 "react/jsx-boolean-value": 0,
91 "react/jsx-no-duplicate-props": 1,
92 "react/jsx-no-literals": 0,
93 "react/jsx-no-undef": 1,
94 "react/jsx-sort-prop-types": 0,
95 "react/jsx-sort-props": 0,
96 "react/jsx-uses-react": 1,
97 "react/jsx-uses-vars": 1,
98 "react/no-danger": 1,
99 "react/no-did-mount-set-state": 2,
100 "react/no-did-update-set-state": 2,
101 "react/no-direct-mutation-state": 1,
102 "react/no-multi-comp": 0,
103 "react/no-set-state": 0,
104 "react/no-unknown-property": 1,
105 "react/prop-types": 0,
106 "react/react-in-jsx-scope": 1,
107 "react/self-closing-comp": 1,
108 "react/sort-comp": 0
Michael Landoefa037d2017-02-19 12:57:33 +0200109 }
Michael Landoefa037d2017-02-19 12:57:33 +0200110}