williaster closed pull request #5945: [eslint] add no-only-tests
URL: https://github.com/apache/incubator-superset/pull/5945
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/superset/assets/.eslintrc b/superset/assets/.eslintrc
index c85c957c79..7c078cd382 100644
--- a/superset/assets/.eslintrc
+++ b/superset/assets/.eslintrc
@@ -41,5 +41,9 @@
"indent": 0,
"no-multi-spaces": 0,
"padded-blocks": 0,
- }
+ "no-only-tests/no-only-tests": 2
+ },
+ "plugins": [
+ "no-only-tests"
+ ]
}
diff --git a/superset/assets/package.json b/superset/assets/package.json
index 6f2437c9de..cabc27b361 100644
--- a/superset/assets/package.json
+++ b/superset/assets/package.json
@@ -154,6 +154,7 @@
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
+ "eslint-plugin-no-only-tests": "^2.0.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.0.1",
"exports-loader": "^0.7.0",
diff --git a/superset/assets/yarn.lock b/superset/assets/yarn.lock
index 0c537bd8ba..e6825d8a51 100644
--- a/superset/assets/yarn.lock
+++ b/superset/assets/yarn.lock
@@ -4562,6 +4562,10 @@ eslint-plugin-jsx-a11y@^5.1.1:
emoji-regex "^6.1.0"
jsx-ast-utils "^1.4.0"
+eslint-plugin-no-only-tests@^2.0.1:
+ version "2.0.1"
+ resolved
"https://registry.yarnpkg.com/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.0.1.tgz#c7bfa82a46be791f9625d720e990632b5dec3c7d"
+
eslint-plugin-prettier@^2.6.0:
version "2.6.2"
resolved
"https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-2.6.2.tgz#71998c60aedfa2141f7bfcbf9d1c459bf98b4fad"
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]