aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/.eslintrc
diff options
context:
space:
mode:
authorMalek <malek.zoabi@amdocs.com>2018-10-16 16:44:41 +0300
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-10-16 14:55:40 +0000
commite6c3c72677709af1135948b490a99d8f0c6a48bd (patch)
tree508df56f05821440da4b26af0ebd1d7a7625ecf3 /openecomp-ui/.eslintrc
parenta8a714ac431ec812b9f25aa540be5bab0b522da8 (diff)
Add worker to onboard notification
Issue-ID: SDC-1840 Change-Id: I0506df2073beb14de2aea5a01233f05ce9a6d7f7 Signed-off-by: Malek <malek.zoabi@amdocs.com>
Diffstat (limited to 'openecomp-ui/.eslintrc')
-rw-r--r--openecomp-ui/.eslintrc231
1 files changed, 108 insertions, 123 deletions
diff --git a/openecomp-ui/.eslintrc b/openecomp-ui/.eslintrc
index 5bc1423a4a..4359851759 100644
--- a/openecomp-ui/.eslintrc
+++ b/openecomp-ui/.eslintrc
@@ -1,126 +1,111 @@
{
- "parser": "babel-eslint",
- "parserOptions": {
- "ecmaVersion": 6,
- "sourceType": "module",
- "ecmaFeatures": {
- "jsx": true,
- "classes": true,
- "modules": true,
- "experimentalDecorators": true
+ "parser": "babel-eslint",
+ "parserOptions": {
+ "ecmaVersion": 6,
+ "sourceType": "module",
+ "ecmaFeatures": {
+ "jsx": true,
+ "classes": true,
+ "modules": true,
+ "experimentalDecorators": true
+ }
+ },
+ "env": {
+ "es6": true,
+ "jquery": true,
+ "node": true,
+ "jest": true,
+ "browser": true
+ },
+ "plugins": ["react", "import", "prettier"],
+ "extends": ["prettier"],
+ "globals": {
+ "Event": true,
+ "window": true,
+ "navigator": true,
+ "System": true,
+ "document": true,
+ "localStorage": true,
+ "sessionStorage": true,
+ "Image": true,
+ "requestAnimationFrame": true,
+ "cancelAnimationFrame": true,
+ "DEBUG": true,
+ "SVGElement": true,
+ "FormData": true,
+ "DEV": true,
+ "Blob": true,
+ "XMLHttpRequest": true,
+ "WebSocket": true,
+ "URL": true,
+ "PunchOutRegistry": true,
+ "it": true,
+ "describe": true
+ },
+ "rules": {
+ "prettier/prettier": [
+ "error",
+ {
+ "singleQuote": true,
+ "jsxBracketSameLine": true,
+ "tabWidth": 4
+ }
+ ],
+ "linebreak-style": 0,
+ "no-unused-vars": 2,
+ "no-bitwise": 0,
+ "no-eq-null": 2,
+ "eqeqeq": 2,
+ "no-unused-expressions": 2,
+ "no-use-before-define": 2,
+ "new-cap": [
+ 2,
+ {
+ "capIsNewExceptions": ["DataTable", "V"]
+ }
+ ],
+ "no-caller": 2,
+ "no-empty": 2,
+ "no-undef": 2,
+ "quotes": [2, "single", "avoid-escape"],
+ "no-plusplus": 0,
+ "no-cond-assign": [2, "except-parens"],
+ "no-invalid-this": 0,
+ "dot-notation": 0,
+ "camelcase": [
+ 2,
+ {
+ "properties": "never"
+ }
+ ],
+ "curly": 2,
+ "semi": [2, "always"],
+ "import/default": 0,
+ "import/no-unresolved": 0,
+ "import/no-named-as-default": 2,
+ "import/no-duplicates": 0,
+ "import/imports-first": 2,
+ "import/export": 2,
+ "react/display-name": 0,
+ "react/forbid-prop-types": 0,
+ "react/jsx-boolean-value": 0,
+ "react/jsx-no-duplicate-props": 1,
+ "react/jsx-no-literals": 0,
+ "react/jsx-no-undef": 1,
+ "react/jsx-sort-prop-types": 0,
+ "react/jsx-sort-props": 0,
+ "react/jsx-uses-react": 1,
+ "react/jsx-uses-vars": 1,
+ "react/no-danger": 1,
+ "react/no-did-mount-set-state": 2,
+ "react/no-did-update-set-state": 2,
+ "react/no-direct-mutation-state": 1,
+ "react/no-multi-comp": 0,
+ "react/no-set-state": 0,
+ "react/no-unknown-property": 1,
+ "react/prop-types": 0,
+ "react/react-in-jsx-scope": 1,
+ "react/self-closing-comp": 1,
+ "react/sort-comp": 0
}
- },
- "env": {
- "es6": true,
- "jquery": true,
- "node": true,
- "jest": true
- },
- "plugins": [
- "react",
- "import",
- "prettier"
- ],
- "extends": [
- "prettier"
- ],
- "globals": {
- "Event": true,
- "window": true,
- "navigator": true,
- "System": true,
- "document": true,
- "localStorage": true,
- "sessionStorage": true,
- "Image": true,
- "requestAnimationFrame": true,
- "cancelAnimationFrame": true,
- "DEBUG": true,
- "SVGElement": true,
- "FormData": true,
- "DEV": true,
- "Blob": true,
- "XMLHttpRequest": true,
- "WebSocket": true,
- "URL": true,
- "PunchOutRegistry": true,
- "it": true,
- "describe": true
- },
- "rules": {
- "prettier/prettier": ["error", {
- "singleQuote": true,
- "jsxBracketSameLine": true,
- "tabWidth": 4
- }],
- "linebreak-style": 0,
- "no-unused-vars": 2,
- "no-bitwise": 0,
- "no-eq-null": 2,
- "eqeqeq": 2,
- "no-unused-expressions": 2,
- "no-use-before-define": 2,
- "new-cap": [
- 2,
- {
- "capIsNewExceptions": [
- "DataTable",
- "V"
- ]
- }
- ],
- "no-caller": 2,
- "no-empty": 2,
- "no-undef": 2,
- "quotes": [
- 2,
- "single",
- "avoid-escape"
- ],
- "no-plusplus": 0,
- "no-cond-assign": [
- 2,
- "except-parens"
- ],
- "no-invalid-this": 0,
- "dot-notation": 0,
- "camelcase": [
- 2,
- {
- "properties": "never"
- }
- ],
- "curly": 2,
- "semi": [
- 2,
- "always"
- ],
- "import/default": 0,
- "import/no-unresolved": 0,
- "import/no-named-as-default": 2,
- "import/no-duplicates": 0,
- "import/imports-first": 2,
- "import/export": 2,
- "react/display-name": 0,
- "react/forbid-prop-types": 0,
- "react/jsx-boolean-value": 0,
- "react/jsx-no-duplicate-props": 1,
- "react/jsx-no-literals": 0,
- "react/jsx-no-undef": 1,
- "react/jsx-sort-prop-types": 0,
- "react/jsx-sort-props": 0,
- "react/jsx-uses-react": 1,
- "react/jsx-uses-vars": 1,
- "react/no-danger": 1,
- "react/no-did-mount-set-state": 2,
- "react/no-did-update-set-state": 2,
- "react/no-direct-mutation-state": 1,
- "react/no-multi-comp": 0,
- "react/no-set-state": 0,
- "react/no-unknown-property": 1,
- "react/prop-types": 0,
- "react/react-in-jsx-scope": 1,
- "react/self-closing-comp": 1,
- "react/sort-comp": 0,
- }
}