aboutsummaryrefslogtreecommitdiffstats
path: root/workflow-designer-ui/src/main/frontend/.eslintrc
diff options
context:
space:
mode:
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
+ }
+}