You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by hu...@apache.org on 2021/10/15 21:58:02 UTC
[superset] branch hugh/pc created (now 4b36f71)
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a change to branch hugh/pc
in repository https://gitbox.apache.org/repos/asf/superset.git.
at 4b36f71 fix
This branch includes the following new commits:
new 4ab3553 save
new 4b36f71 fix
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[superset] 01/02: save
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/pc
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 4ab355364e355e3b612d75a3e0de2839aca698b8
Author: hughhhh <hu...@gmail.com>
AuthorDate: Fri Oct 15 17:26:06 2021 -0400
save
---
.pre-commit-config.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 80202be..0c254af 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -48,3 +48,8 @@ repos:
hooks:
- id: black
language_version: python3
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v2.2.1 # Use the sha or tag you want to point at
+ hooks:
+ - id: prettier
+ - args: ["'./{src,spec,cypress-base}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'"]
\ No newline at end of file
[superset] 02/02: fix
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
hugh pushed a commit to branch hugh/pc
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 4b36f716813d4d65cc7aab08b59b781d1c27b5d5
Author: hughhhh <hu...@gmail.com>
AuthorDate: Fri Oct 15 17:56:45 2021 -0400
fix
---
.github/workflows/superset-frontend.yml | 2 +-
.pre-commit-config.yaml | 2 +-
superset-frontend/.storybook/storybook.css | 2 +-
superset-frontend/cypress-base/cypress.json | 4 +---
superset-frontend/cypress-base/tsconfig.json | 2 +-
superset-frontend/src/common/components/.eslintrc | 6 +++---
superset-frontend/src/components/.eslintrc | 4 +---
superset-frontend/tsconfig.json | 2 +-
8 files changed, 10 insertions(+), 14 deletions(-)
diff --git a/.github/workflows/superset-frontend.yml b/.github/workflows/superset-frontend.yml
index afdcb88..fbcc272 100644
--- a/.github/workflows/superset-frontend.yml
+++ b/.github/workflows/superset-frontend.yml
@@ -31,7 +31,7 @@ jobs:
if: steps.check.outcome == 'failure'
uses: actions/setup-node@v2
with:
- node-version: '16'
+ node-version: "16"
- name: Install dependencies
if: steps.check.outcome == 'failure'
uses: ./.github/actions/cached-dependencies
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 0c254af..c41a680 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -52,4 +52,4 @@ repos:
rev: v2.2.1 # Use the sha or tag you want to point at
hooks:
- id: prettier
- - args: ["'./{src,spec,cypress-base}/**/*{.js,.jsx,.ts,.tsx,.css,.less,.scss,.sass}'"]
\ No newline at end of file
+ files: 'superset-frontend'
\ No newline at end of file
diff --git a/superset-frontend/.storybook/storybook.css b/superset-frontend/.storybook/storybook.css
index ce5f7a1..b4e2fce 100644
--- a/superset-frontend/.storybook/storybook.css
+++ b/superset-frontend/.storybook/storybook.css
@@ -1,3 +1,3 @@
-body{
+body {
background: transparent;
}
diff --git a/superset-frontend/cypress-base/cypress.json b/superset-frontend/cypress-base/cypress.json
index db4c628..4e37441 100644
--- a/superset-frontend/cypress-base/cypress.json
+++ b/superset-frontend/cypress-base/cypress.json
@@ -5,9 +5,7 @@
"numTestsKeptInMemory": 0,
"experimentalFetchPolyfill": true,
"requestTimeout": 10000,
- "ignoreTestFiles": [
- "**/!(*.test.js|*.test.ts)"
- ],
+ "ignoreTestFiles": ["**/!(*.test.js|*.test.ts)"],
"video": false,
"videoUploadOnPasses": false,
"viewportWidth": 1280,
diff --git a/superset-frontend/cypress-base/tsconfig.json b/superset-frontend/cypress-base/tsconfig.json
index d047e26..e983ed3 100644
--- a/superset-frontend/cypress-base/tsconfig.json
+++ b/superset-frontend/cypress-base/tsconfig.json
@@ -8,7 +8,7 @@
"lib": ["es2019", "DOM"],
"types": ["cypress"],
"allowJs": true,
- "noEmit": true,
+ "noEmit": true
},
"files": ["cypress/support/index.d.ts"],
"include": ["node_modules/cypress", "cypress/**/*.ts"]
diff --git a/superset-frontend/src/common/components/.eslintrc b/superset-frontend/src/common/components/.eslintrc
index 586abc6..84622e9 100644
--- a/superset-frontend/src/common/components/.eslintrc
+++ b/superset-frontend/src/common/components/.eslintrc
@@ -23,9 +23,9 @@
{
"paths": [
{
- "name": "@superset-ui/core",
- "importNames": ["supersetTheme"],
- "message": "Please use the theme directly from the ThemeProvider rather than importing supersetTheme."
+ "name": "@superset-ui/core",
+ "importNames": ["supersetTheme"],
+ "message": "Please use the theme directly from the ThemeProvider rather than importing supersetTheme."
}
]
}
diff --git a/superset-frontend/src/components/.eslintrc b/superset-frontend/src/components/.eslintrc
index a01df15..84622e9 100644
--- a/superset-frontend/src/components/.eslintrc
+++ b/superset-frontend/src/components/.eslintrc
@@ -24,9 +24,7 @@
"paths": [
{
"name": "@superset-ui/core",
- "importNames": [
- "supersetTheme"
- ],
+ "importNames": ["supersetTheme"],
"message": "Please use the theme directly from the ThemeProvider rather than importing supersetTheme."
}
]
diff --git a/superset-frontend/tsconfig.json b/superset-frontend/tsconfig.json
index ed0ce53..f0ef197 100644
--- a/superset-frontend/tsconfig.json
+++ b/superset-frontend/tsconfig.json
@@ -7,7 +7,7 @@
"forceConsistentCasingInFileNames": true,
"importHelpers": false,
"jsx": "preserve",
- "lib": ["dom", "dom.iterable", "esnext"],
+ "lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"noImplicitAny": true,