aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/.eslintrc
diff options
context:
space:
mode:
authorvempo <vitaliy.emporopulo@amdocs.com>2018-07-24 17:34:04 +0300
committervempo <vitaliy.emporopulo@amdocs.com>2018-07-25 11:39:10 +0300
commita52d50e788792a63e97a9176ab319d53db7a2853 (patch)
treeb1c2222cacf4b8192aea16d1e0315b1f005c5347 /workflow-designer-ui/src/main/frontend/.eslintrc
parent3c2665debb400aef7f0ed9e235698d2ff9f859db (diff)
Replaced old implementation at root
Old project files and directories has been moved under 'deprecated-workflow-designer'. The old project is not built by the CI anymore, but can be still built manually. New modules/directories have been moved up and integrated with the CI system. Change-Id: I1528c792bcbcce9e50bfc294a1328a20e72c91cf Issue-ID: SDC-1559 Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'workflow-designer-ui/src/main/frontend/.eslintrc')
-rw-r--r--workflow-designer-ui/src/main/frontend/.eslintrc48
1 files changed, 48 insertions, 0 deletions
diff --git a/workflow-designer-ui/src/main/frontend/.eslintrc b/workflow-designer-ui/src/main/frontend/.eslintrc
new file mode 100644
index 00000000..0ce8aa4c
--- /dev/null
+++ b/workflow-designer-ui/src/main/frontend/.eslintrc
@@ -0,0 +1,48 @@
+{
+ "root": true,
+
+ "parser": "babel-eslint",
+
+ "extends": [
+ "eslint:recommended",
+ "plugin:react/recommended",
+ "plugin:jest/recommended",
+ "prettier"
+ ],
+
+ "plugins": ["prettier", "react"],
+
+ "env": {
+ "browser": true,
+ "commonjs": true,
+ "es6": true,
+ "jest": true,
+ "node": true
+ },
+
+ "parserOptions": {
+ "ecmaVersion": 6,
+ "sourceType": "module",
+ "ecmaFeatures": {
+ "jsx": true,
+ "generators": true,
+ "experimentalObjectRestSpread": true
+ }
+ },
+
+ "rules": {
+ "no-console": 0,
+ "prettier/prettier": [
+ "error",
+ {
+ "singleQuote": true,
+ "jsxBracketSameLine": true,
+ "tabWidth": 4
+ }
+ ]
+ },
+
+ "globals": {
+ "DEBUG": false
+ }
+}