Unable to import service template with interface
[sdc.git] / openecomp-ui / .eslintrc
1 {
2     "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         "browser": true
19     },
20     "plugins": ["react", "import", "prettier"],
21     "extends": ["prettier"],
22     "globals": {
23         "Event": true,
24         "window": true,
25         "navigator": true,
26         "System": true,
27         "document": true,
28         "localStorage": true,
29         "sessionStorage": true,
30         "Image": true,
31         "requestAnimationFrame": true,
32         "cancelAnimationFrame": true,
33         "DEBUG": true,
34         "SVGElement": true,
35         "FormData": true,
36         "DEV": true,
37         "Blob": true,
38         "XMLHttpRequest": true,
39         "WebSocket": true,
40         "URL": true,
41         "PunchOutRegistry": true,
42         "it": true,
43         "describe": true
44     },
45     "rules": {
46         "prettier/prettier": [
47             "error",
48             {
49                 "singleQuote": true,
50                 "jsxBracketSameLine": true,
51                 "tabWidth": 4
52             }
53         ],
54         "linebreak-style": 0,
55         "no-unused-vars": 2,
56         "no-bitwise": 0,
57         "no-eq-null": 2,
58         "eqeqeq": 2,
59         "no-unused-expressions": 2,
60         "no-use-before-define": 2,
61         "new-cap": [
62             2,
63             {
64                 "capIsNewExceptions": ["DataTable", "V"]
65             }
66         ],
67         "no-caller": 2,
68         "no-empty": 2,
69         "no-undef": 2,
70         "quotes": [2, "single", "avoid-escape"],
71         "no-plusplus": 0,
72         "no-cond-assign": [2, "except-parens"],
73         "no-invalid-this": 0,
74         "dot-notation": 0,
75         "camelcase": [
76             2,
77             {
78                 "properties": "never"
79             }
80         ],
81         "curly": 2,
82         "semi": [2, "always"],
83         "import/default": 0,
84         "import/no-unresolved": 0,
85         "import/no-named-as-default": 2,
86         "import/no-duplicates": 0,
87         "import/imports-first": 2,
88         "import/export": 2,
89         "react/display-name": 0,
90         "react/forbid-prop-types": 0,
91         "react/jsx-boolean-value": 0,
92         "react/jsx-no-duplicate-props": 1,
93         "react/jsx-no-literals": 0,
94         "react/jsx-no-undef": 1,
95         "react/jsx-sort-prop-types": 0,
96         "react/jsx-sort-props": 0,
97         "react/jsx-uses-react": 1,
98         "react/jsx-uses-vars": 1,
99         "react/no-danger": 1,
100         "react/no-did-mount-set-state": 2,
101         "react/no-did-update-set-state": 2,
102         "react/no-direct-mutation-state": 1,
103         "react/no-multi-comp": 0,
104         "react/no-set-state": 0,
105         "react/no-unknown-property": 1,
106         "react/prop-types": 0,
107         "react/react-in-jsx-scope": 1,
108         "react/self-closing-comp": 1,
109         "react/sort-comp": 0
110     }
111 }