You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2021/01/29 13:00:09 UTC

[qpid-dispatch] branch master updated: DISPATCH-1938 Remove unused ESlint config based on eslint-plugin-patternfly-react (#1004)

This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new 9214cb3  DISPATCH-1938 Remove unused ESlint config based on eslint-plugin-patternfly-react (#1004)
9214cb3 is described below

commit 9214cb3b60038b450a1c46849556df78b67605bb
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Fri Jan 29 14:00:03 2021 +0100

    DISPATCH-1938 Remove unused ESlint config based on eslint-plugin-patternfly-react (#1004)
    
    If we ever wanted to re-add this to package.json:
    
    ```
        "extends": [
          "react-app",
          "plugin:patternfly-react/recommended"
        ],
    ...
        "plugins": ["patternfly-react"]
    ```
---
 console/.eslintrc.json     | 32 --------------------------------
 console/react/package.json |  3 ++-
 2 files changed, 2 insertions(+), 33 deletions(-)

diff --git a/console/.eslintrc.json b/console/.eslintrc.json
deleted file mode 100644
index 51da5a1..0000000
--- a/console/.eslintrc.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
-  "env": {
-    "browser": true,
-    "node": true,
-    "amd": true,
-    "jquery": true
-  },
-  "extends": ["eslint:recommended", "plugin:patternfly-react/recommended"],
-  "parserOptions": {
-    "ecmaVersion": 6,
-    "sourceType": "module",
-    "ecmaFeatures": {
-      "jsx": true
-    }
-  },
-  "rules": {
-    "indent": [
-      "error",
-      2
-    ],
-    "linebreak-style": [
-      "error",
-      "unix"
-    ],
-    "semi": [
-      "error",
-      "always"
-    ],
-    "no-console": "on",
-    "no-debugger": 1
-  }
-}
diff --git a/console/react/package.json b/console/react/package.json
index 0d19740..d8d370d 100644
--- a/console/react/package.json
+++ b/console/react/package.json
@@ -31,7 +31,8 @@
   "eslintConfig": {
     "extends": "react-app",
     "ignorePatterns": [
-      "build/**"
+      "build/**",
+      "dist/**"
     ],
     "overrides": [
       {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org