This is an automated email from the ASF dual-hosted git repository.
ccwilliams pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new 4e78803 [eslint] add no-only-tests (#5945)
4e78803 is described below
commit 4e788034dfe1fc21702fd2530f31a2027b2b94b6
Author: Chris Williams <[email protected]>
AuthorDate: Thu Sep 20 12:30:39 2018 -0700
[eslint] add no-only-tests (#5945)
---
superset/assets/.eslintrc | 6 +++++-
superset/assets/package.json | 1 +
superset/assets/yarn.lock | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/superset/assets/.eslintrc b/superset/assets/.eslintrc
index c85c957..7c078cd 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 6f2437c..cabc27b 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 0c537bd..e6825d8 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"