From c0079914328cc207708bad7af582025b4c9ce2dc Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 11:36:18 +0800
Subject: [PATCH 01/77] feat: add mega

---
 .cspell.json                      | 16 ++++++
 .github/workflows/mega-linter.yml | 82 +++++++++++++++++++++++++++++++
 .mega-linter.yml                  | 12 +++++
 3 files changed, 110 insertions(+)
 create mode 100644 .cspell.json
 create mode 100644 .github/workflows/mega-linter.yml
 create mode 100644 .mega-linter.yml

diff --git a/.cspell.json b/.cspell.json
new file mode 100644
index 0000000..b798d29
--- /dev/null
+++ b/.cspell.json
@@ -0,0 +1,16 @@
+{
+  "ignorePaths": [
+    "**/node_modules/**",
+    "**/vscode-extension/**",
+    "**/.git/**",
+    "**/.pnpm-lock.json",
+    ".vscode",
+    "megalinter",
+    "package-lock.json",
+    "report"
+  ],
+  "language": "en",
+  "noConfigSearch": true,
+  "words": ["megalinter", "oxsecurity"],
+  "version": "0.2"
+}
diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
new file mode 100644
index 0000000..b8025f2
--- /dev/null
+++ b/.github/workflows/mega-linter.yml
@@ -0,0 +1,82 @@
+---
+# MegaLinter GitHub Action configuration file
+# More info at https://megalinter.io
+name: MegaLinter
+
+on:
+  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to master
+  push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
+  pull_request:
+    branches: [master, main]
+
+env: # Comment env block if you do not want to apply fixes
+  # Apply linter fixes configuration
+  APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
+  APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
+  APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+jobs:
+  build:
+    name: MegaLinter
+    runs-on: ubuntu-latest
+    steps:
+      # Git Checkout
+      - name: Checkout Code
+        uses: actions/checkout@v3
+        with:
+          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
+          fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
+
+      # MegaLinter
+      - name: MegaLinter
+        id: ml
+        # You can override MegaLinter flavor used to have faster performances
+        # More info at https://megalinter.io/flavors/
+        uses: oxsecurity/megalinter/flavors/javascript@v6
+        env:
+          # All available variables are described in documentation
+          # https://megalinter.io/configuration/
+          VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
+
+      # Upload MegaLinter artifacts
+      - name: Archive production artifacts
+        if: ${{ success() }} || ${{ failure() }}
+        uses: actions/upload-artifact@v3
+        with:
+          name: MegaLinter reports
+          path: |
+            megalinter-reports
+            mega-linter.log
+
+      # Create pull request if applicable (for now works only on PR from same repository, not from forks)
+      - name: Create Pull Request with applied fixes
+        id: cpr
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        uses: peter-evans/create-pull-request@v4
+        with:
+          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
+          commit-message: "[MegaLinter] Apply linters automatic fixes"
+          title: "[MegaLinter] Apply linters automatic fixes"
+          labels: bot
+      - name: Create PR output
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        run: |
+          echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
+          echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
+
+      # Push new commit if applicable (for now works only on PR from same repository, not from forks)
+      - name: Prepare commit
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        run: sudo chown -Rc $UID .git/
+      - name: Commit and push applied linter fixes
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        uses: stefanzweifel/git-auto-commit-action@v4
+        with:
+          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
+          commit_message: "[MegaLinter] Apply linters fixes"
diff --git a/.mega-linter.yml b/.mega-linter.yml
new file mode 100644
index 0000000..e85913f
--- /dev/null
+++ b/.mega-linter.yml
@@ -0,0 +1,12 @@
+# Configuration file for MegaLinter
+# See all available variables at https://megalinter.io/configuration/ and in linters documentation
+
+APPLY_FIXES: all # all, none, or list of linter keys
+# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
+# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
+DISABLE:
+  - COPYPASTE # Comment to enable checks of excessive copy-pastes
+  # - SPELL # Uncomment to disable checks of spelling mistakes
+SHOW_ELAPSED_TIME: true
+FILEIO_REPORTER: false
+# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass

From 7bebac0ea4440e6d8bfabdc01274cbb9bf9aab26 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 11:46:21 +0800
Subject: [PATCH 02/77] feat: test mega

---
 .cspell.json                      | 16 ----------------
 .github/workflows/mega-linter.yml | 25 +++++++++++++------------
 2 files changed, 13 insertions(+), 28 deletions(-)
 delete mode 100644 .cspell.json

diff --git a/.cspell.json b/.cspell.json
deleted file mode 100644
index b798d29..0000000
--- a/.cspell.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
-  "ignorePaths": [
-    "**/node_modules/**",
-    "**/vscode-extension/**",
-    "**/.git/**",
-    "**/.pnpm-lock.json",
-    ".vscode",
-    "megalinter",
-    "package-lock.json",
-    "report"
-  ],
-  "language": "en",
-  "noConfigSearch": true,
-  "words": ["megalinter", "oxsecurity"],
-  "version": "0.2"
-}
diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index b8025f2..51e9d6e 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -4,10 +4,10 @@
 name: MegaLinter
 
 on:
-  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to master
+  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to main
   push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
   pull_request:
-    branches: [master, main]
+    branches: [master]
 
 env: # Comment env block if you do not want to apply fixes
   # Apply linter fixes configuration
@@ -36,13 +36,14 @@ jobs:
         id: ml
         # You can override MegaLinter flavor used to have faster performances
         # More info at https://megalinter.io/flavors/
-        uses: oxsecurity/megalinter/flavors/javascript@v6
+        uses: oxsecurity/megalinter@v6
         env:
           # All available variables are described in documentation
           # https://megalinter.io/configuration/
-          VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
+          VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
+          # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
+          # DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
 
       # Upload MegaLinter artifacts
       - name: Archive production artifacts
@@ -57,26 +58,26 @@ jobs:
       # Create pull request if applicable (for now works only on PR from same repository, not from forks)
       - name: Create Pull Request with applied fixes
         id: cpr
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
         uses: peter-evans/create-pull-request@v4
         with:
           token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
-          commit-message: "[MegaLinter] Apply linters automatic fixes"
-          title: "[MegaLinter] Apply linters automatic fixes"
+          commit-message: '[MegaLinter] Apply linters automatic fixes'
+          title: '[MegaLinter] Apply linters automatic fixes'
           labels: bot
       - name: Create PR output
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
         run: |
           echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
           echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
 
       # Push new commit if applicable (for now works only on PR from same repository, not from forks)
       - name: Prepare commit
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
         run: sudo chown -Rc $UID .git/
       - name: Commit and push applied linter fixes
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
         uses: stefanzweifel/git-auto-commit-action@v4
         with:
           branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
-          commit_message: "[MegaLinter] Apply linters fixes"
+          commit_message: '[MegaLinter] Apply linters fixes'

From adeac80c508db9b23c69b34d677cfddb02c6dd28 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 12:06:45 +0800
Subject: [PATCH 03/77] feat: try

---
 .mega-linter.yml | 48 +++++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 43 insertions(+), 5 deletions(-)

diff --git a/.mega-linter.yml b/.mega-linter.yml
index e85913f..b4853a9 100644
--- a/.mega-linter.yml
+++ b/.mega-linter.yml
@@ -1,12 +1,50 @@
 # Configuration file for MegaLinter
 # See all available variables at https://megalinter.io/configuration/ and in linters documentation
 
-APPLY_FIXES: all # all, none, or list of linter keys
-# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
+APPLY_FIXES: all
+# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling formats will be disabled by default
 # ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
 DISABLE:
-  - COPYPASTE # Comment to enable checks of excessive copy-pastes
+  - CLOUDFORMATION
+  # - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
+  - CSS
+  - EDITORCONFIG
   # - SPELL # Uncomment to disable checks of spelling mistakes
+  - JAVASCRIPT
+  - TEKTON
+DISABLE_LINTERS:
+  - JSON_PRETTIER
+  - REPOSITORY_GITLEAKS
+  - SPELL_PROSELINT
+DISABLE_ERRORS_LINTERS:
+  - PYTHON_BANDIT
+  - PYTHON_PYRIGHT
+  - REPOSITORY_DEVSKIM
+  - REPOSITORY_SEMGREP
+PRINT_ALL_FILES: false
+FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|\.github/workflows|docs/javascripts|docs/overrides|docs/json-schemas|flavors|clj-kondo|TEMPLATES)'
+JSON_JSONLINT_FILTER_REGEX_EXCLUDE: '(\.vscode/)'
+YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml)'
+YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml|mkdocs\.yml)'
+YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml|\.codecov\.yml)'
+BASH_FILTER_REGEX_EXCLUDE: '(lib)'
+MARKDOWN_FILTER_REGEX_EXCLUDE: '(license\.md)'
+MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
+SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.automation/generated|docs/descriptors|used-by-stats)'
+DOCKERFILE_HADOLINT_ARGUMENTS: '--ignore DL3003 --ignore DL3007 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3028 --ignore DL3059 --ignore DL4001 --ignore DL4006 --ignore SC2015 --ignore SC2016 --ignore SC2039 --ignore SC2086 --ignore SC1091 --ignore SC3046'
+REPOSITORY_TRIVY_ARGUMENTS:
+  - '--skip-dirs'
+  - '.automation/test'
 SHOW_ELAPSED_TIME: true
-FILEIO_REPORTER: false
-# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass
+EMAIL_REPORTER: false
+FILEIO_REPORTER: true
+JSON_REPORTER: true
+GITHUB_STATUS_REPORTER: false
+PLUGINS:
+  - https://raw.githubusercontent.com/oxsecurity/megalinter/main/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml
+PRE_COMMANDS:
+  - command: echo "This is MegaLinter PRE_COMMAND on own MegaLinter ! :)"
+    cwd: 'root'
+POST_COMMANDS:
+  - command: echo "This is MegaLinter POST_COMMAND on own MegaLinter ! :)"
+    cwd: 'workspace'

From 7b22d9688e0fd740700d8c9e0a2d53d45d5bf580 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 14:43:20 +0800
Subject: [PATCH 04/77] feat: super

---
 .github/workflows/mega-linter.yml | 122 +++++++++++++-----------------
 .mega-linter.yml                  |  50 ------------
 2 files changed, 53 insertions(+), 119 deletions(-)
 delete mode 100644 .mega-linter.yml

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index 51e9d6e..f1840fa 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -1,83 +1,67 @@
 ---
-# MegaLinter GitHub Action configuration file
-# More info at https://megalinter.io
-name: MegaLinter
+#################################
+#################################
+## Super Linter GitHub Actions ##
+#################################
+#################################
+name: Lint Code Base
 
+#
+# Documentation:
+# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+#
+
+#############################
+# Start the job on all push #
+#############################
 on:
-  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to main
-  push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
+  push:
+    branches-ignore: [master, main]
+    # Remove the line above to run when pushing to master
   pull_request:
-    branches: [master]
-
-env: # Comment env block if you do not want to apply fixes
-  # Apply linter fixes configuration
-  APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
-  APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
-  APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
-
-concurrency:
-  group: ${{ github.ref }}-${{ github.workflow }}
-  cancel-in-progress: true
+    branches: [master, main]
 
+###############
+# Set the Job #
+###############
 jobs:
   build:
-    name: MegaLinter
+    # Name the Job
+    name: Lint Code Base
+    # Set the agent to run on
     runs-on: ubuntu-latest
+
+    ##################
+    # Load all steps #
+    ##################
     steps:
-      # Git Checkout
+      ##########################
+      # Checkout the code base #
+      ##########################
       - name: Checkout Code
         uses: actions/checkout@v3
         with:
-          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
-          fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
+          # Full git history is needed to get a proper list of changed files within `super-linter`
+          fetch-depth: 0
 
-      # MegaLinter
-      - name: MegaLinter
-        id: ml
-        # You can override MegaLinter flavor used to have faster performances
-        # More info at https://megalinter.io/flavors/
-        uses: oxsecurity/megalinter@v6
+      ################################
+      # Run Linter against code base #
+      ################################
+      - name: Lint Code Base
+        uses: github/super-linter/slim@v4
         env:
-          # All available variables are described in documentation
-          # https://megalinter.io/configuration/
-          VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} # Validates all source when push on main, else just the git diff with main. Override with true if you always want to lint all sources
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          # ADD YOUR CUSTOM ENV VARIABLES HERE OR DEFINE THEM IN A FILE .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
-          # DISABLE: COPYPASTE,SPELL # Uncomment to disable copy-paste and spell checks
-
-      # Upload MegaLinter artifacts
-      - name: Archive production artifacts
-        if: ${{ success() }} || ${{ failure() }}
-        uses: actions/upload-artifact@v3
-        with:
-          name: MegaLinter reports
-          path: |
-            megalinter-reports
-            mega-linter.log
-
-      # Create pull request if applicable (for now works only on PR from same repository, not from forks)
-      - name: Create Pull Request with applied fixes
-        id: cpr
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
-        uses: peter-evans/create-pull-request@v4
-        with:
-          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
-          commit-message: '[MegaLinter] Apply linters automatic fixes'
-          title: '[MegaLinter] Apply linters automatic fixes'
-          labels: bot
-      - name: Create PR output
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
-        run: |
-          echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
-          echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
-
-      # Push new commit if applicable (for now works only on PR from same repository, not from forks)
-      - name: Prepare commit
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
-        run: sudo chown -Rc $UID .git/
-      - name: Commit and push applied linter fixes
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
-        uses: stefanzweifel/git-auto-commit-action@v4
-        with:
-          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
-          commit_message: '[MegaLinter] Apply linters fixes'
+          VALIDATE_ALL_CODEBASE: false
+          # Change to 'master' if your main branch differs
+          DEFAULT_BRANCH: main
+          GITHUB_TOKEN: ${{ secrets.ZZ_GITHUB_TOKEN }}
+          ################# ESLint config #################
+          LINTER_RULES_PATH: /
+          JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
+          TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json
+          # less 只支持 postcss-less这种,需要别的自己来给super-linter提pr就行,小哥反应很快
+          CSS_FILE_NAME: .stylelintrc.json
+          VALIDATE_CSS: fasle
+          VALIDATE_JAVASCRIPT_STANDARD: false
+          VALIDATE_TYPESCRIPT_STANDARD: false
+          VALIDATE_SHELL_SHFMT: false
+          VALIDATE_BASH: false
diff --git a/.mega-linter.yml b/.mega-linter.yml
deleted file mode 100644
index b4853a9..0000000
--- a/.mega-linter.yml
+++ /dev/null
@@ -1,50 +0,0 @@
-# Configuration file for MegaLinter
-# See all available variables at https://megalinter.io/configuration/ and in linters documentation
-
-APPLY_FIXES: all
-# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling formats will be disabled by default
-# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
-DISABLE:
-  - CLOUDFORMATION
-  # - COPYPASTE # Uncomment to disable checks of excessive copy-pastes
-  - CSS
-  - EDITORCONFIG
-  # - SPELL # Uncomment to disable checks of spelling mistakes
-  - JAVASCRIPT
-  - TEKTON
-DISABLE_LINTERS:
-  - JSON_PRETTIER
-  - REPOSITORY_GITLEAKS
-  - SPELL_PROSELINT
-DISABLE_ERRORS_LINTERS:
-  - PYTHON_BANDIT
-  - PYTHON_PYRIGHT
-  - REPOSITORY_DEVSKIM
-  - REPOSITORY_SEMGREP
-PRINT_ALL_FILES: false
-FILTER_REGEX_EXCLUDE: '(\.automation/test|\.automation/generated|\.github/workflows|docs/javascripts|docs/overrides|docs/json-schemas|flavors|clj-kondo|TEMPLATES)'
-JSON_JSONLINT_FILTER_REGEX_EXCLUDE: '(\.vscode/)'
-YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml)'
-YAML_PRETTIER_FILTER_REGEX_EXCLUDE: '(templates/\.mega-linter\.yml|mkdocs\.yml)'
-YAML_V8R_FILTER_REGEX_EXCLUDE: '(descriptors|templates/\.mega-linter\.yml|\.codecov\.yml)'
-BASH_FILTER_REGEX_EXCLUDE: '(lib)'
-MARKDOWN_FILTER_REGEX_EXCLUDE: '(license\.md)'
-MARKDOWN_MARKDOWN_LINK_CHECK_DISABLE_ERRORS: true
-SPELL_MISSPELL_FILTER_REGEX_EXCLUDE: '(\.automation/generated|docs/descriptors|used-by-stats)'
-DOCKERFILE_HADOLINT_ARGUMENTS: '--ignore DL3003 --ignore DL3007 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3028 --ignore DL3059 --ignore DL4001 --ignore DL4006 --ignore SC2015 --ignore SC2016 --ignore SC2039 --ignore SC2086 --ignore SC1091 --ignore SC3046'
-REPOSITORY_TRIVY_ARGUMENTS:
-  - '--skip-dirs'
-  - '.automation/test'
-SHOW_ELAPSED_TIME: true
-EMAIL_REPORTER: false
-FILEIO_REPORTER: true
-JSON_REPORTER: true
-GITHUB_STATUS_REPORTER: false
-PLUGINS:
-  - https://raw.githubusercontent.com/oxsecurity/megalinter/main/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml
-PRE_COMMANDS:
-  - command: echo "This is MegaLinter PRE_COMMAND on own MegaLinter ! :)"
-    cwd: 'root'
-POST_COMMANDS:
-  - command: echo "This is MegaLinter POST_COMMAND on own MegaLinter ! :)"
-    cwd: 'workspace'

From b899980d8abcead57011d9fb498bb30d7416e175 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 14:48:23 +0800
Subject: [PATCH 05/77] feat: change token

---
 .github/workflows/mega-linter.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index f1840fa..4b547c1 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -53,7 +53,7 @@ jobs:
           VALIDATE_ALL_CODEBASE: false
           # Change to 'master' if your main branch differs
           DEFAULT_BRANCH: main
-          GITHUB_TOKEN: ${{ secrets.ZZ_GITHUB_TOKEN }}
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           ################# ESLint config #################
           LINTER_RULES_PATH: /
           JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json

From be6149cab3ec7cde42688b1182eb605d4fdc6181 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 14:51:57 +0800
Subject: [PATCH 06/77] feat: vALIDATE_ALL_CODEBASE

---
 .github/workflows/{mega-linter.yml => linter.yml} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename .github/workflows/{mega-linter.yml => linter.yml} (96%)

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/linter.yml
similarity index 96%
rename from .github/workflows/mega-linter.yml
rename to .github/workflows/linter.yml
index 4b547c1..ab47175 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/linter.yml
@@ -50,9 +50,9 @@ jobs:
       - name: Lint Code Base
         uses: github/super-linter/slim@v4
         env:
-          VALIDATE_ALL_CODEBASE: false
+          VALIDATE_ALL_CODEBASE: true
           # Change to 'master' if your main branch differs
-          DEFAULT_BRANCH: main
+          DEFAULT_BRANCH: master
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           ################# ESLint config #################
           LINTER_RULES_PATH: /

From a8b1b95f799012a3bc96f5525306f767194f68ac Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 15:11:34 +0800
Subject: [PATCH 07/77] feat: ansible Lint

---
 .github/workflows/{linter.yml => ansible-lint.yml} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename .github/workflows/{linter.yml => ansible-lint.yml} (96%)

diff --git a/.github/workflows/linter.yml b/.github/workflows/ansible-lint.yml
similarity index 96%
rename from .github/workflows/linter.yml
rename to .github/workflows/ansible-lint.yml
index ab47175..ed548b3 100644
--- a/.github/workflows/linter.yml
+++ b/.github/workflows/ansible-lint.yml
@@ -4,7 +4,7 @@
 ## Super Linter GitHub Actions ##
 #################################
 #################################
-name: Lint Code Base
+name: Ansible Lint
 
 #
 # Documentation:
@@ -48,7 +48,7 @@ jobs:
       # Run Linter against code base #
       ################################
       - name: Lint Code Base
-        uses: github/super-linter/slim@v4
+        uses: ansible/ansible-lint-action@main
         env:
           VALIDATE_ALL_CODEBASE: true
           # Change to 'master' if your main branch differs

From 0e2c8e13e18cb60930525981327c8e0ee226e4f2 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 15:14:50 +0800
Subject: [PATCH 08/77] feat: config yml

---
 .github/workflows/ansible-lint.yml | 68 +++++-------------------------
 1 file changed, 10 insertions(+), 58 deletions(-)

diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml
index ed548b3..6f00aea 100644
--- a/.github/workflows/ansible-lint.yml
+++ b/.github/workflows/ansible-lint.yml
@@ -1,67 +1,19 @@
----
-#################################
-#################################
-## Super Linter GitHub Actions ##
-#################################
-#################################
-name: Ansible Lint
+name: Ansible Lint # feel free to pick your own name
+on: [push, pull_request]
 
-#
-# Documentation:
-# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
-#
-
-#############################
-# Start the job on all push #
-#############################
-on:
-  push:
-    branches-ignore: [master, main]
-    # Remove the line above to run when pushing to master
-  pull_request:
-    branches: [master, main]
-
-###############
-# Set the Job #
-###############
 jobs:
   build:
-    # Name the Job
-    name: Lint Code Base
-    # Set the agent to run on
     runs-on: ubuntu-latest
 
-    ##################
-    # Load all steps #
-    ##################
     steps:
-      ##########################
-      # Checkout the code base #
-      ##########################
-      - name: Checkout Code
-        uses: actions/checkout@v3
+      # Important: This sets up your GITHUB_WORKSPACE environment variable
+      - uses: actions/checkout@v3
         with:
-          # Full git history is needed to get a proper list of changed files within `super-linter`
-          fetch-depth: 0
+          fetch-depth: 0 # needed for progressive mode to work
 
-      ################################
-      # Run Linter against code base #
-      ################################
-      - name: Lint Code Base
+      - name: Run ansible-lint
+        # replace `main` with any valid ref, or tags like `v6`
         uses: ansible/ansible-lint-action@main
-        env:
-          VALIDATE_ALL_CODEBASE: true
-          # Change to 'master' if your main branch differs
-          DEFAULT_BRANCH: master
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          ################# ESLint config #################
-          LINTER_RULES_PATH: /
-          JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
-          TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json
-          # less 只支持 postcss-less这种,需要别的自己来给super-linter提pr就行,小哥反应很快
-          CSS_FILE_NAME: .stylelintrc.json
-          VALIDATE_CSS: fasle
-          VALIDATE_JAVASCRIPT_STANDARD: false
-          VALIDATE_TYPESCRIPT_STANDARD: false
-          VALIDATE_SHELL_SHFMT: false
-          VALIDATE_BASH: false
+        # optional:
+        # with:
+        #   path: "playbooks/"  # <-- only one value is allowed

From bc13ed93ca4f15e8827523774bcf9de1983c55e6 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 15:25:13 +0800
Subject: [PATCH 09/77] feat: mega

---
 .github/workflows/ansible-lint.yml | 19 -------
 .github/workflows/mega-linter.yml  | 82 ++++++++++++++++++++++++++++++
 .gitignore                         |  3 +-
 .mega-linter.yml                   | 12 +++++
 4 files changed, 96 insertions(+), 20 deletions(-)
 delete mode 100644 .github/workflows/ansible-lint.yml
 create mode 100644 .github/workflows/mega-linter.yml
 create mode 100644 .mega-linter.yml

diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml
deleted file mode 100644
index 6f00aea..0000000
--- a/.github/workflows/ansible-lint.yml
+++ /dev/null
@@ -1,19 +0,0 @@
-name: Ansible Lint # feel free to pick your own name
-on: [push, pull_request]
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-
-    steps:
-      # Important: This sets up your GITHUB_WORKSPACE environment variable
-      - uses: actions/checkout@v3
-        with:
-          fetch-depth: 0 # needed for progressive mode to work
-
-      - name: Run ansible-lint
-        # replace `main` with any valid ref, or tags like `v6`
-        uses: ansible/ansible-lint-action@main
-        # optional:
-        # with:
-        #   path: "playbooks/"  # <-- only one value is allowed
diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
new file mode 100644
index 0000000..b8025f2
--- /dev/null
+++ b/.github/workflows/mega-linter.yml
@@ -0,0 +1,82 @@
+---
+# MegaLinter GitHub Action configuration file
+# More info at https://megalinter.io
+name: MegaLinter
+
+on:
+  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to master
+  push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
+  pull_request:
+    branches: [master, main]
+
+env: # Comment env block if you do not want to apply fixes
+  # Apply linter fixes configuration
+  APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
+  APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
+  APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
+
+concurrency:
+  group: ${{ github.ref }}-${{ github.workflow }}
+  cancel-in-progress: true
+
+jobs:
+  build:
+    name: MegaLinter
+    runs-on: ubuntu-latest
+    steps:
+      # Git Checkout
+      - name: Checkout Code
+        uses: actions/checkout@v3
+        with:
+          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
+          fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
+
+      # MegaLinter
+      - name: MegaLinter
+        id: ml
+        # You can override MegaLinter flavor used to have faster performances
+        # More info at https://megalinter.io/flavors/
+        uses: oxsecurity/megalinter/flavors/javascript@v6
+        env:
+          # All available variables are described in documentation
+          # https://megalinter.io/configuration/
+          VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+          # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
+
+      # Upload MegaLinter artifacts
+      - name: Archive production artifacts
+        if: ${{ success() }} || ${{ failure() }}
+        uses: actions/upload-artifact@v3
+        with:
+          name: MegaLinter reports
+          path: |
+            megalinter-reports
+            mega-linter.log
+
+      # Create pull request if applicable (for now works only on PR from same repository, not from forks)
+      - name: Create Pull Request with applied fixes
+        id: cpr
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        uses: peter-evans/create-pull-request@v4
+        with:
+          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
+          commit-message: "[MegaLinter] Apply linters automatic fixes"
+          title: "[MegaLinter] Apply linters automatic fixes"
+          labels: bot
+      - name: Create PR output
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        run: |
+          echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
+          echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
+
+      # Push new commit if applicable (for now works only on PR from same repository, not from forks)
+      - name: Prepare commit
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        run: sudo chown -Rc $UID .git/
+      - name: Commit and push applied linter fixes
+        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
+        uses: stefanzweifel/git-auto-commit-action@v4
+        with:
+          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
+          commit_message: "[MegaLinter] Apply linters fixes"
diff --git a/.gitignore b/.gitignore
index 9c05bd2..d6fb1ad 100755
--- a/.gitignore
+++ b/.gitignore
@@ -39,4 +39,5 @@ yarn-error.log*
 *.sh
 
 # cache
-.eslintcache
\ No newline at end of file
+.eslintcache
+megalinter-reports/
diff --git a/.mega-linter.yml b/.mega-linter.yml
new file mode 100644
index 0000000..d0c7bbc
--- /dev/null
+++ b/.mega-linter.yml
@@ -0,0 +1,12 @@
+# Configuration file for MegaLinter
+# See all available variables at https://megalinter.io/configuration/ and in linters documentation
+
+APPLY_FIXES: all # all, none, or list of linter keys
+# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
+# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
+DISABLE:
+  - COPYPASTE # Comment to enable checks of excessive copy-pastes
+  - SPELL # Comment to enable checks of spelling mistakes
+SHOW_ELAPSED_TIME: false
+FILEIO_REPORTER: false
+# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass

From ea388f97481ac9ab0ef66da8e380164fabe4eed5 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 15:38:50 +0800
Subject: [PATCH 10/77] feat: mega

---
 .github/workflows/mega-linter.yml | 47 +++++++------------------------
 1 file changed, 10 insertions(+), 37 deletions(-)

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index b8025f2..9d80b3c 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -43,40 +43,13 @@ jobs:
           VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
-
-      # Upload MegaLinter artifacts
-      - name: Archive production artifacts
-        if: ${{ success() }} || ${{ failure() }}
-        uses: actions/upload-artifact@v3
-        with:
-          name: MegaLinter reports
-          path: |
-            megalinter-reports
-            mega-linter.log
-
-      # Create pull request if applicable (for now works only on PR from same repository, not from forks)
-      - name: Create Pull Request with applied fixes
-        id: cpr
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
-        uses: peter-evans/create-pull-request@v4
-        with:
-          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
-          commit-message: "[MegaLinter] Apply linters automatic fixes"
-          title: "[MegaLinter] Apply linters automatic fixes"
-          labels: bot
-      - name: Create PR output
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'pull_request' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
-        run: |
-          echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
-          echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
-
-      # Push new commit if applicable (for now works only on PR from same repository, not from forks)
-      - name: Prepare commit
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
-        run: sudo chown -Rc $UID .git/
-      - name: Commit and push applied linter fixes
-        if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
-        uses: stefanzweifel/git-auto-commit-action@v4
-        with:
-          branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
-          commit_message: "[MegaLinter] Apply linters fixes"
+          LINTER_RULES_PATH: /
+          JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
+          TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json
+          # less 只支持 postcss-less这种,需要别的自己来给super-linter提pr就行,小哥反应很快
+          CSS_FILE_NAME: .stylelintrc.json
+          VALIDATE_CSS: fasle
+          VALIDATE_JAVASCRIPT_STANDARD: false
+          VALIDATE_TYPESCRIPT_STANDARD: false
+          VALIDATE_SHELL_SHFMT: false
+          VALIDATE_BASH: false

From 17088387cf2ddfc90695acabd6d7ec188f7ff602 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 15:43:18 +0800
Subject: [PATCH 11/77] feat: upgrade eslint-config-next

---
 package.json |   2 +-
 yarn.lock    | 397 ++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 332 insertions(+), 67 deletions(-)

diff --git a/package.json b/package.json
index de06321..fafbbaf 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
     "@typescript-eslint/eslint-plugin": "^5.30.4",
     "@typescript-eslint/parser": "^5.30.4",
     "eslint": "8.19.0",
-    "eslint-config-next": "12.2.0",
+    "eslint-config-next": "^13.1.1",
     "eslint-config-prettier": "^8.5.0",
     "eslint-plugin-prettier": "^4.2.1",
     "eslint-plugin-tsdoc": "^0.2.17",
diff --git a/yarn.lock b/yarn.lock
index 6e39079..655ee02 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1227,10 +1227,10 @@
   resolved "https://registry.yarnpkg.com/@next/env/-/env-12.2.0.tgz#17ce2d9f5532b677829840037e06f208b7eed66b"
   integrity sha512-/FCkDpL/8SodJEXvx/DYNlOD5ijTtkozf4PPulYPtkPOJaMPpBSOkzmsta4fnrnbdH6eZjbwbiXFdr6gSQCV4w==
 
-"@next/eslint-plugin-next@12.2.0":
-  version "12.2.0"
-  resolved "https://registry.yarnpkg.com/@next/eslint-plugin-next/-/eslint-plugin-next-12.2.0.tgz#38b36d3be244cc9a98c0e7d203bdb062f87df4ac"
-  integrity sha512-nIj5xV/z3dOfeBnE7qFAjUQZAi4pTlIMuusRM6s/T6lOz8x7mjY5s1ZkTUBmcjPVCb2VIv3CrMH0WZL6xfjZZg==
+"@next/eslint-plugin-next@13.1.1":
+  version "13.1.1"
+  resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.1.tgz#cc5e419cc85587f73f2ac0046a91df01dc6fef8b"
+  integrity sha512-SBrOFS8PC3nQ5aeZmawJkjKkWjwK9RoxvBSv/86nZp0ubdoVQoko8r8htALd9ufp16NhacCdqhu9bzZLDWtALQ==
   dependencies:
     glob "7.1.7"
 
@@ -1325,6 +1325,18 @@
   resolved "https://registry.yarnpkg.com/@pedrouid/environment/-/environment-1.0.1.tgz#858f0f8a057340e0b250398b75ead77d6f4342ec"
   integrity sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==
 
+"@pkgr/utils@^2.3.1":
+  version "2.3.1"
+  resolved "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03"
+  integrity sha512-wfzX8kc1PMyUILA+1Z/EqoE4UCXGy0iRGMhPwdfae1+f0OXlLqCk+By+aMzgJBzR9AzS4CDizioG6Ss1gvAFJw==
+  dependencies:
+    cross-spawn "^7.0.3"
+    is-glob "^4.0.3"
+    open "^8.4.0"
+    picocolors "^1.0.0"
+    tiny-glob "^0.2.9"
+    tslib "^2.4.0"
+
 "@polka/url@^1.0.0-next.20":
   version "1.0.0-next.21"
   resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1"
@@ -1726,7 +1738,7 @@
     semver "^7.3.7"
     tsutils "^3.21.0"
 
-"@typescript-eslint/parser@^5.21.0", "@typescript-eslint/parser@^5.30.4":
+"@typescript-eslint/parser@^5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.30.4.tgz#659411e8700b22c8d5400798ef24838425bf4567"
   integrity sha512-/ge1HtU63wVoED4VnlU2o+FPFmi017bPYpeSrCmd8Ycsti4VSxXrmcpXXm7JpI4GT0Aa7qviabv1PEp6L5bboQ==
@@ -1736,6 +1748,16 @@
     "@typescript-eslint/typescript-estree" "5.30.4"
     debug "^4.3.4"
 
+"@typescript-eslint/parser@^5.42.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.47.0.tgz#62e83de93499bf4b500528f74bf2e0554e3a6c8d"
+  integrity sha512-udPU4ckK+R1JWCGdQC4Qa27NtBg7w020ffHqGyAK8pAgOVuNw7YaKXGChk+udh+iiGIJf6/E/0xhVXyPAbsczw==
+  dependencies:
+    "@typescript-eslint/scope-manager" "5.47.0"
+    "@typescript-eslint/types" "5.47.0"
+    "@typescript-eslint/typescript-estree" "5.47.0"
+    debug "^4.3.4"
+
 "@typescript-eslint/scope-manager@5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.30.4.tgz#8140efd2bc12d41d74e8af23872a89f3edbe552e"
@@ -1744,6 +1766,14 @@
     "@typescript-eslint/types" "5.30.4"
     "@typescript-eslint/visitor-keys" "5.30.4"
 
+"@typescript-eslint/scope-manager@5.47.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.47.0.tgz#f58144a6b0ff58b996f92172c488813aee9b09df"
+  integrity sha512-dvJab4bFf7JVvjPuh3sfBUWsiD73aiftKBpWSfi3sUkysDQ4W8x+ZcFpNp7Kgv0weldhpmMOZBjx1wKN8uWvAw==
+  dependencies:
+    "@typescript-eslint/types" "5.47.0"
+    "@typescript-eslint/visitor-keys" "5.47.0"
+
 "@typescript-eslint/type-utils@5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.30.4.tgz#00ff19073cd01f7d27e9af49ce08d6a69f1e4f01"
@@ -1758,6 +1788,11 @@
   resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.30.4.tgz#3bc99eca8ba3fcfd6a21480e216b09dab81c3999"
   integrity sha512-NTEvqc+Vvu8Q6JeAKryHk2eqLKqsr2St3xhIjhOjQv5wQUBhaTuix4WOSacqj0ONWfKVU12Eug3LEAB95GBkMA==
 
+"@typescript-eslint/types@5.47.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.47.0.tgz#67490def406eaa023dbbd8da42ee0d0c9b5229d3"
+  integrity sha512-eslFG0Qy8wpGzDdYKu58CEr3WLkjwC5Usa6XbuV89ce/yN5RITLe1O8e+WFEuxnfftHiJImkkOBADj58ahRxSg==
+
 "@typescript-eslint/typescript-estree@5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.30.4.tgz#ac4be8a2f8fb1f1c3b346d5992a36163121ddb3f"
@@ -1771,6 +1806,19 @@
     semver "^7.3.7"
     tsutils "^3.21.0"
 
+"@typescript-eslint/typescript-estree@5.47.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.47.0.tgz#ed971a11c5c928646d6ba7fc9dfdd6e997649aca"
+  integrity sha512-LxfKCG4bsRGq60Sqqu+34QT5qT2TEAHvSCCJ321uBWywgE2dS0LKcu5u+3sMGo+Vy9UmLOhdTw5JHzePV/1y4Q==
+  dependencies:
+    "@typescript-eslint/types" "5.47.0"
+    "@typescript-eslint/visitor-keys" "5.47.0"
+    debug "^4.3.4"
+    globby "^11.1.0"
+    is-glob "^4.0.3"
+    semver "^7.3.7"
+    tsutils "^3.21.0"
+
 "@typescript-eslint/utils@5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.30.4.tgz#07a2b7ce80b2527ea506829f190591b76c70ba9f"
@@ -1791,6 +1839,14 @@
     "@typescript-eslint/types" "5.30.4"
     eslint-visitor-keys "^3.3.0"
 
+"@typescript-eslint/visitor-keys@5.47.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.47.0.tgz#4aca4efbdf6209c154df1f7599852d571b80bb45"
+  integrity sha512-ByPi5iMa6QqDXe/GmT/hR6MZtVPi0SqMQPDx15FczCBXJo/7M8T88xReOALAfpBLm+zxpPfmhuEvPb577JRAEg==
+  dependencies:
+    "@typescript-eslint/types" "5.47.0"
+    eslint-visitor-keys "^3.3.0"
+
 "@walletconnect/browser-utils@^1.7.8":
   version "1.7.8"
   resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.7.8.tgz#c9e27f69d838442d69ccf53cb38ffc3c554baee2"
@@ -2332,6 +2388,17 @@ array-includes@^3.1.4, array-includes@^3.1.5:
     get-intrinsic "^1.1.1"
     is-string "^1.0.7"
 
+array-includes@^3.1.6:
+  version "3.1.6"
+  resolved "https://registry.npmjs.org/array-includes/-/array-includes-3.1.6.tgz#9e9e720e194f198266ba9e18c29e6a9b0e4b225f"
+  integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==
+  dependencies:
+    call-bind "^1.0.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+    get-intrinsic "^1.1.3"
+    is-string "^1.0.7"
+
 array-tree-filter@^2.1.0:
   version "2.1.0"
   resolved "https://registry.yarnpkg.com/array-tree-filter/-/array-tree-filter-2.1.0.tgz#873ac00fec83749f255ac8dd083814b4f6329190"
@@ -2352,15 +2419,26 @@ array.prototype.flat@^1.2.5:
     es-abstract "^1.19.2"
     es-shim-unscopables "^1.0.0"
 
-array.prototype.flatmap@^1.3.0:
-  version "1.3.0"
-  resolved "https://registry.yarnpkg.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz#a7e8ed4225f4788a70cd910abcf0791e76a5534f"
-  integrity sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==
+array.prototype.flatmap@^1.3.1:
+  version "1.3.1"
+  resolved "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz#1aae7903c2100433cb8261cd4ed310aab5c4a183"
+  integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==
   dependencies:
     call-bind "^1.0.2"
-    define-properties "^1.1.3"
-    es-abstract "^1.19.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+    es-shim-unscopables "^1.0.0"
+
+array.prototype.tosorted@^1.1.1:
+  version "1.1.1"
+  resolved "https://registry.npmjs.org/array.prototype.tosorted/-/array.prototype.tosorted-1.1.1.tgz#ccf44738aa2b5ac56578ffda97c03fd3e23dd532"
+  integrity sha512-pZYPXPRl2PqWcsUs6LOMn+1f1532nEoPTYowBtqLwAW+W8vSVhkIGnmOX1t/UQjD6YGI0vcD2B1U7ZFGQH9jnQ==
+  dependencies:
+    call-bind "^1.0.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
     es-shim-unscopables "^1.0.0"
+    get-intrinsic "^1.1.3"
 
 arraybuffer.slice@~0.0.7:
   version "0.0.7"
@@ -3463,6 +3541,11 @@ defer-to-connect@^1.0.1:
   resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
   integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
 
+define-lazy-prop@^2.0.0:
+  version "2.0.0"
+  resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
+  integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==
+
 define-properties@^1.1.3, define-properties@^1.1.4:
   version "1.1.4"
   resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1"
@@ -3693,6 +3776,14 @@ engine.io-parser@~2.2.0:
     blob "0.0.5"
     has-binary2 "~1.0.2"
 
+enhanced-resolve@^5.10.0:
+  version "5.12.0"
+  resolved "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634"
+  integrity sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==
+  dependencies:
+    graceful-fs "^4.2.4"
+    tapable "^2.2.0"
+
 errno@^0.1.1:
   version "0.1.8"
   resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"
@@ -3743,6 +3834,37 @@ es-abstract@^1.19.0, es-abstract@^1.19.1, es-abstract@^1.19.2, es-abstract@^1.19
     string.prototype.trimstart "^1.0.5"
     unbox-primitive "^1.0.2"
 
+es-abstract@^1.20.4:
+  version "1.20.5"
+  resolved "https://registry.npmjs.org/es-abstract/-/es-abstract-1.20.5.tgz#e6dc99177be37cacda5988e692c3fa8b218e95d2"
+  integrity sha512-7h8MM2EQhsCA7pU/Nv78qOXFpD8Rhqd12gYiSJVkrH9+e8VuA8JlPJK/hQjjlLv6pJvx/z1iRFKzYb0XT/RuAQ==
+  dependencies:
+    call-bind "^1.0.2"
+    es-to-primitive "^1.2.1"
+    function-bind "^1.1.1"
+    function.prototype.name "^1.1.5"
+    get-intrinsic "^1.1.3"
+    get-symbol-description "^1.0.0"
+    gopd "^1.0.1"
+    has "^1.0.3"
+    has-property-descriptors "^1.0.0"
+    has-symbols "^1.0.3"
+    internal-slot "^1.0.3"
+    is-callable "^1.2.7"
+    is-negative-zero "^2.0.2"
+    is-regex "^1.1.4"
+    is-shared-array-buffer "^1.0.2"
+    is-string "^1.0.7"
+    is-weakref "^1.0.2"
+    object-inspect "^1.12.2"
+    object-keys "^1.1.1"
+    object.assign "^4.1.4"
+    regexp.prototype.flags "^1.4.3"
+    safe-regex-test "^1.0.0"
+    string.prototype.trimend "^1.0.6"
+    string.prototype.trimstart "^1.0.6"
+    unbox-primitive "^1.0.2"
+
 es-shim-unscopables@^1.0.0:
   version "1.0.0"
   resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241"
@@ -3810,19 +3932,19 @@ escape-string-regexp@^4.0.0:
   resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
   integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
 
-eslint-config-next@12.2.0:
-  version "12.2.0"
-  resolved "https://registry.yarnpkg.com/eslint-config-next/-/eslint-config-next-12.2.0.tgz#f7e965ca616ebd948d728905c58a1c80aabb36b9"
-  integrity sha512-QWzNegadFXjQ0h3hixnLacRM9Kot85vQefyNsA8IeOnERZMz0Gvays1W6DMCjSxJbnCwuWaMXj9DCpar5IahRA==
+eslint-config-next@^13.1.1:
+  version "13.1.1"
+  resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.1.1.tgz#b1a6602b0a339820585d4b2f8d2e08866b6699a7"
+  integrity sha512-/5S2XGWlGaiqrRhzpn51ux5JUSLwx8PVK2keLi5xk7QmhfYB8PqE6R6SlVw6hgnf/VexvUXSrlNJ/su00NhtHQ==
   dependencies:
-    "@next/eslint-plugin-next" "12.2.0"
+    "@next/eslint-plugin-next" "13.1.1"
     "@rushstack/eslint-patch" "^1.1.3"
-    "@typescript-eslint/parser" "^5.21.0"
+    "@typescript-eslint/parser" "^5.42.0"
     eslint-import-resolver-node "^0.3.6"
-    eslint-import-resolver-typescript "^2.7.1"
+    eslint-import-resolver-typescript "^3.5.2"
     eslint-plugin-import "^2.26.0"
     eslint-plugin-jsx-a11y "^6.5.1"
-    eslint-plugin-react "^7.29.4"
+    eslint-plugin-react "^7.31.7"
     eslint-plugin-react-hooks "^4.5.0"
 
 eslint-config-prettier@^8.5.0:
@@ -3838,16 +3960,18 @@ eslint-import-resolver-node@^0.3.6:
     debug "^3.2.7"
     resolve "^1.20.0"
 
-eslint-import-resolver-typescript@^2.7.1:
-  version "2.7.1"
-  resolved "https://registry.yarnpkg.com/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751"
-  integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==
+eslint-import-resolver-typescript@^3.5.2:
+  version "3.5.2"
+  resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.2.tgz#9431acded7d898fd94591a08ea9eec3514c7de91"
+  integrity sha512-zX4ebnnyXiykjhcBvKIf5TNvt8K7yX6bllTRZ14MiurKPjDpCAZujlszTdB8pcNXhZcOf+god4s9SjQa5GnytQ==
   dependencies:
     debug "^4.3.4"
-    glob "^7.2.0"
+    enhanced-resolve "^5.10.0"
+    get-tsconfig "^4.2.0"
+    globby "^13.1.2"
+    is-core-module "^2.10.0"
     is-glob "^4.0.3"
-    resolve "^1.22.0"
-    tsconfig-paths "^3.14.1"
+    synckit "^0.8.4"
 
 eslint-module-utils@^2.7.3:
   version "2.7.3"
@@ -3907,25 +4031,26 @@ eslint-plugin-react-hooks@^4.5.0:
   resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
   integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
 
-eslint-plugin-react@^7.29.4:
-  version "7.30.1"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.30.1.tgz#2be4ab23ce09b5949c6631413ba64b2810fd3e22"
-  integrity sha512-NbEvI9jtqO46yJA3wcRF9Mo0lF9T/jhdHqhCHXiXtD+Zcb98812wvokjWpU7Q4QH5edo6dmqrukxVvWWXHlsUg==
+eslint-plugin-react@^7.31.7:
+  version "7.31.11"
+  resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.11.tgz#011521d2b16dcf95795df688a4770b4eaab364c8"
+  integrity sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==
   dependencies:
-    array-includes "^3.1.5"
-    array.prototype.flatmap "^1.3.0"
+    array-includes "^3.1.6"
+    array.prototype.flatmap "^1.3.1"
+    array.prototype.tosorted "^1.1.1"
     doctrine "^2.1.0"
     estraverse "^5.3.0"
     jsx-ast-utils "^2.4.1 || ^3.0.0"
     minimatch "^3.1.2"
-    object.entries "^1.1.5"
-    object.fromentries "^2.0.5"
-    object.hasown "^1.1.1"
-    object.values "^1.1.5"
+    object.entries "^1.1.6"
+    object.fromentries "^2.0.6"
+    object.hasown "^1.1.2"
+    object.values "^1.1.6"
     prop-types "^15.8.1"
     resolve "^2.0.0-next.3"
     semver "^6.3.0"
-    string.prototype.matchall "^4.0.7"
+    string.prototype.matchall "^4.0.8"
 
 eslint-plugin-tsdoc@^0.2.17:
   version "0.2.17"
@@ -4672,6 +4797,15 @@ get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1:
     has "^1.0.3"
     has-symbols "^1.0.3"
 
+get-intrinsic@^1.1.3:
+  version "1.1.3"
+  resolved "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.3.tgz#063c84329ad93e83893c7f4f243ef63ffa351385"
+  integrity sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==
+  dependencies:
+    function-bind "^1.1.1"
+    has "^1.0.3"
+    has-symbols "^1.0.3"
+
 get-stdin@^8.0.0:
   version "8.0.0"
   resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53"
@@ -4709,6 +4843,11 @@ get-symbol-description@^1.0.0:
     call-bind "^1.0.2"
     get-intrinsic "^1.1.1"
 
+get-tsconfig@^4.2.0:
+  version "4.2.0"
+  resolved "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.2.0.tgz#ff368dd7104dab47bf923404eb93838245c66543"
+  integrity sha512-X8u8fREiYOE6S8hLbq99PeykTDoLVnxvF4DjWKJmz9xy2nNRdUcV8ZN9tniJFeKyTU3qnC9lL8n4Chd6LmVKHg==
+
 getpass@^0.1.1:
   version "0.1.7"
   resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
@@ -4765,7 +4904,7 @@ glob@7.1.7:
     once "^1.3.0"
     path-is-absolute "^1.0.0"
 
-glob@^7.1.3, glob@^7.2.0:
+glob@^7.1.3:
   version "7.2.3"
   resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
   integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -4820,6 +4959,11 @@ globals@^13.15.0:
   dependencies:
     type-fest "^0.20.2"
 
+globalyzer@0.1.0:
+  version "0.1.0"
+  resolved "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz#cb76da79555669a1519d5a8edf093afaa0bf1465"
+  integrity sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==
+
 globby@^11.1.0:
   version "11.1.0"
   resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
@@ -4832,11 +4976,34 @@ globby@^11.1.0:
     merge2 "^1.4.1"
     slash "^3.0.0"
 
+globby@^13.1.2:
+  version "13.1.3"
+  resolved "https://registry.npmjs.org/globby/-/globby-13.1.3.tgz#f62baf5720bcb2c1330c8d4ef222ee12318563ff"
+  integrity sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==
+  dependencies:
+    dir-glob "^3.0.1"
+    fast-glob "^3.2.11"
+    ignore "^5.2.0"
+    merge2 "^1.4.1"
+    slash "^4.0.0"
+
 globjoin@^0.1.4:
   version "0.1.4"
   resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43"
   integrity sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==
 
+globrex@^0.1.2:
+  version "0.1.2"
+  resolved "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
+  integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
+
+gopd@^1.0.1:
+  version "1.0.1"
+  resolved "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
+  integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==
+  dependencies:
+    get-intrinsic "^1.1.3"
+
 got@9.6.0:
   version "9.6.0"
   resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85"
@@ -4874,7 +5041,7 @@ got@^7.1.0:
     url-parse-lax "^1.0.0"
     url-to-options "^1.0.1"
 
-graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0:
+graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4:
   version "4.2.10"
   resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
   integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
@@ -5261,7 +5428,12 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.4:
   resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945"
   integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w==
 
-is-core-module@^2.1.0:
+is-callable@^1.2.7:
+  version "1.2.7"
+  resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
+  integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
+
+is-core-module@^2.1.0, is-core-module@^2.10.0:
   version "2.11.0"
   resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144"
   integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==
@@ -5282,6 +5454,11 @@ is-date-object@^1.0.1:
   dependencies:
     has-tostringtag "^1.0.0"
 
+is-docker@^2.0.0, is-docker@^2.1.1:
+  version "2.2.1"
+  resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
+  integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
+
 is-extglob@^2.1.1:
   version "2.1.1"
   resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -5474,6 +5651,13 @@ is-what@^3.14.1:
   resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1"
   integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==
 
+is-wsl@^2.2.0:
+  version "2.2.0"
+  resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
+  integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
+  dependencies:
+    is-docker "^2.0.0"
+
 isarray@2.0.1:
   version "2.0.1"
   resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e"
@@ -6548,31 +6732,41 @@ object.assign@^4.1.2:
     has-symbols "^1.0.1"
     object-keys "^1.1.1"
 
-object.entries@^1.1.5:
-  version "1.1.5"
-  resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861"
-  integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==
+object.assign@^4.1.4:
+  version "4.1.4"
+  resolved "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz#9673c7c7c351ab8c4d0b516f4343ebf4dfb7799f"
+  integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==
   dependencies:
     call-bind "^1.0.2"
-    define-properties "^1.1.3"
-    es-abstract "^1.19.1"
+    define-properties "^1.1.4"
+    has-symbols "^1.0.3"
+    object-keys "^1.1.1"
 
-object.fromentries@^2.0.5:
-  version "2.0.5"
-  resolved "https://registry.yarnpkg.com/object.fromentries/-/object.fromentries-2.0.5.tgz#7b37b205109c21e741e605727fe8b0ad5fa08251"
-  integrity sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==
+object.entries@^1.1.6:
+  version "1.1.6"
+  resolved "https://registry.npmjs.org/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23"
+  integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==
   dependencies:
     call-bind "^1.0.2"
-    define-properties "^1.1.3"
-    es-abstract "^1.19.1"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
 
-object.hasown@^1.1.1:
-  version "1.1.1"
-  resolved "https://registry.yarnpkg.com/object.hasown/-/object.hasown-1.1.1.tgz#ad1eecc60d03f49460600430d97f23882cf592a3"
-  integrity sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==
+object.fromentries@^2.0.6:
+  version "2.0.6"
+  resolved "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.6.tgz#cdb04da08c539cffa912dcd368b886e0904bfa73"
+  integrity sha512-VciD13dswC4j1Xt5394WR4MzmAQmlgN72phd/riNp9vtD7tp4QQWJ0R4wvclXcafgcYK8veHRed2W6XeGBvcfg==
   dependencies:
+    call-bind "^1.0.2"
     define-properties "^1.1.4"
-    es-abstract "^1.19.5"
+    es-abstract "^1.20.4"
+
+object.hasown@^1.1.2:
+  version "1.1.2"
+  resolved "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.2.tgz#f919e21fad4eb38a57bc6345b3afd496515c3f92"
+  integrity sha512-B5UIT3J1W+WuWIU55h0mjlwaqxiE5vYENJXIXZ4VFe05pNYrkKuK0U/6aFcb0pKywYJh7IhfoqUfKVmrJJHZHw==
+  dependencies:
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
 
 object.values@^1.1.5:
   version "1.1.5"
@@ -6583,6 +6777,15 @@ object.values@^1.1.5:
     define-properties "^1.1.3"
     es-abstract "^1.19.1"
 
+object.values@^1.1.6:
+  version "1.1.6"
+  resolved "https://registry.npmjs.org/object.values/-/object.values-1.1.6.tgz#4abbaa71eba47d63589d402856f908243eea9b1d"
+  integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==
+  dependencies:
+    call-bind "^1.0.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+
 oblivious-set@1.0.0:
   version "1.0.0"
   resolved "https://registry.npmmirror.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566"
@@ -6623,6 +6826,15 @@ onetime@^6.0.0:
   dependencies:
     mimic-fn "^4.0.0"
 
+open@^8.4.0:
+  version "8.4.0"
+  resolved "https://registry.npmjs.org/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8"
+  integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==
+  dependencies:
+    define-lazy-prop "^2.0.0"
+    is-docker "^2.1.1"
+    is-wsl "^2.2.0"
+
 opener@^1.5.2:
   version "1.5.2"
   resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
@@ -7715,7 +7927,7 @@ regenerator-runtime@^0.13.4:
   resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
   integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
 
-regexp.prototype.flags@^1.4.1, regexp.prototype.flags@^1.4.3:
+regexp.prototype.flags@^1.4.3:
   version "1.4.3"
   resolved "https://registry.yarnpkg.com/regexp.prototype.flags/-/regexp.prototype.flags-1.4.3.tgz#87cab30f80f66660181a3bb7bf5981a872b367ac"
   integrity sha512-fjggEOO3slI6Wvgjwflkc4NFRCTZAu5CnNfBd5qOMYhWdn67nJBBu34/TkD++eeFmd8C9r9jfXJ27+nSiRkSUA==
@@ -7932,6 +8144,15 @@ safe-json-utils@^1.1.1:
   resolved "https://registry.yarnpkg.com/safe-json-utils/-/safe-json-utils-1.1.1.tgz#0e883874467d95ab914c3f511096b89bfb3e63b1"
   integrity sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ==
 
+safe-regex-test@^1.0.0:
+  version "1.0.0"
+  resolved "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295"
+  integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==
+  dependencies:
+    call-bind "^1.0.2"
+    get-intrinsic "^1.1.3"
+    is-regex "^1.1.4"
+
 "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0:
   version "2.1.2"
   resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
@@ -8168,6 +8389,11 @@ slash@^3.0.0:
   resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
   integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
 
+slash@^4.0.0:
+  version "4.0.0"
+  resolved "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7"
+  integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
+
 slice-ansi@^3.0.0:
   version "3.0.0"
   resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787"
@@ -8391,18 +8617,18 @@ string-width@^5.0.0:
     emoji-regex "^9.2.2"
     strip-ansi "^7.0.1"
 
-string.prototype.matchall@^4.0.7:
-  version "4.0.7"
-  resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz#8e6ecb0d8a1fb1fda470d81acecb2dba057a481d"
-  integrity sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==
+string.prototype.matchall@^4.0.8:
+  version "4.0.8"
+  resolved "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.8.tgz#3bf85722021816dcd1bf38bb714915887ca79fd3"
+  integrity sha512-6zOCOcJ+RJAQshcTvXPHoxoQGONa3e/Lqx90wUA+wEzX78sg5Bo+1tQo4N0pohS0erG9qtCqJDjNCQBjeWVxyg==
   dependencies:
     call-bind "^1.0.2"
-    define-properties "^1.1.3"
-    es-abstract "^1.19.1"
-    get-intrinsic "^1.1.1"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+    get-intrinsic "^1.1.3"
     has-symbols "^1.0.3"
     internal-slot "^1.0.3"
-    regexp.prototype.flags "^1.4.1"
+    regexp.prototype.flags "^1.4.3"
     side-channel "^1.0.4"
 
 string.prototype.trimend@^1.0.5:
@@ -8414,6 +8640,15 @@ string.prototype.trimend@^1.0.5:
     define-properties "^1.1.4"
     es-abstract "^1.19.5"
 
+string.prototype.trimend@^1.0.6:
+  version "1.0.6"
+  resolved "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533"
+  integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==
+  dependencies:
+    call-bind "^1.0.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+
 string.prototype.trimstart@^1.0.5:
   version "1.0.5"
   resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.5.tgz#5466d93ba58cfa2134839f81d7f42437e8c01fef"
@@ -8423,6 +8658,15 @@ string.prototype.trimstart@^1.0.5:
     define-properties "^1.1.4"
     es-abstract "^1.19.5"
 
+string.prototype.trimstart@^1.0.6:
+  version "1.0.6"
+  resolved "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4"
+  integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==
+  dependencies:
+    call-bind "^1.0.2"
+    define-properties "^1.1.4"
+    es-abstract "^1.20.4"
+
 string_decoder@^1.1.1:
   version "1.3.0"
   resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e"
@@ -8638,6 +8882,14 @@ swarm-js@^0.1.40:
     tar "^4.0.2"
     xhr-request "^1.0.1"
 
+synckit@^0.8.4:
+  version "0.8.4"
+  resolved "https://registry.npmjs.org/synckit/-/synckit-0.8.4.tgz#0e6b392b73fafdafcde56692e3352500261d64ec"
+  integrity sha512-Dn2ZkzMdSX827QbowGbU/4yjWuvNaCoScLLoMo/yKbu+P4GBR6cRGKZH27k6a9bRzdqcyd1DE96pQtQ6uNkmyw==
+  dependencies:
+    "@pkgr/utils" "^2.3.1"
+    tslib "^2.4.0"
+
 table@^6.8.0:
   version "6.8.0"
   resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca"
@@ -8649,6 +8901,11 @@ table@^6.8.0:
     string-width "^4.2.3"
     strip-ansi "^6.0.1"
 
+tapable@^2.2.0:
+  version "2.2.1"
+  resolved "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
+  integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
+
 tar@^4.0.2:
   version "4.4.19"
   resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3"
@@ -8708,6 +8965,14 @@ timed-out@^4.0.0, timed-out@^4.0.1:
   resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
   integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==
 
+tiny-glob@^0.2.9:
+  version "0.2.9"
+  resolved "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz#2212d441ac17928033b110f8b3640683129d31e2"
+  integrity sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==
+  dependencies:
+    globalyzer "0.1.0"
+    globrex "^0.1.2"
+
 tmp@^0.2.1:
   version "0.2.1"
   resolved "https://registry.npmmirror.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"

From c0b7a9c89e84fe49514861e4244daa4edb3d9eed Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 16:04:01 +0800
Subject: [PATCH 12/77] feat: test

---
 .eslintrc.json |   2 +-
 package.json   |   2 +-
 yarn.lock      | 196 ++++++++++++-------------------------------------
 3 files changed, 50 insertions(+), 150 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index 9666dd6..df3e45a 100755
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,7 +4,7 @@
   "parser": "@typescript-eslint/parser",
   "extends": [
     "eslint:recommended",
-    "next/core-web-vitals",
+    //"next/core-web-vitals",
     "plugin:@typescript-eslint/recommended",
     "eslint-config-prettier",
     "plugin:prettier/recommended"
diff --git a/package.json b/package.json
index fafbbaf..9ea512a 100644
--- a/package.json
+++ b/package.json
@@ -61,7 +61,7 @@
     "@typescript-eslint/eslint-plugin": "^5.30.4",
     "@typescript-eslint/parser": "^5.30.4",
     "eslint": "8.19.0",
-    "eslint-config-next": "^13.1.1",
+    "eslint-config-next": "12.1.0",
     "eslint-config-prettier": "^8.5.0",
     "eslint-plugin-prettier": "^4.2.1",
     "eslint-plugin-tsdoc": "^0.2.17",
diff --git a/yarn.lock b/yarn.lock
index 655ee02..a8097be 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1227,10 +1227,10 @@
   resolved "https://registry.yarnpkg.com/@next/env/-/env-12.2.0.tgz#17ce2d9f5532b677829840037e06f208b7eed66b"
   integrity sha512-/FCkDpL/8SodJEXvx/DYNlOD5ijTtkozf4PPulYPtkPOJaMPpBSOkzmsta4fnrnbdH6eZjbwbiXFdr6gSQCV4w==
 
-"@next/eslint-plugin-next@13.1.1":
-  version "13.1.1"
-  resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-13.1.1.tgz#cc5e419cc85587f73f2ac0046a91df01dc6fef8b"
-  integrity sha512-SBrOFS8PC3nQ5aeZmawJkjKkWjwK9RoxvBSv/86nZp0ubdoVQoko8r8htALd9ufp16NhacCdqhu9bzZLDWtALQ==
+"@next/eslint-plugin-next@12.1.0":
+  version "12.1.0"
+  resolved "https://registry.npmjs.org/@next/eslint-plugin-next/-/eslint-plugin-next-12.1.0.tgz#32586a11378b3ffa5a93ac40a3c44ad99d70e95a"
+  integrity sha512-WFiyvSM2G5cQmh32t/SiQuJ+I2O+FHVlK/RFw5b1565O2kEM/36EXncjt88Pa+X5oSc+1SS+tWxowWJd1lqI+g==
   dependencies:
     glob "7.1.7"
 
@@ -1325,18 +1325,6 @@
   resolved "https://registry.yarnpkg.com/@pedrouid/environment/-/environment-1.0.1.tgz#858f0f8a057340e0b250398b75ead77d6f4342ec"
   integrity sha512-HaW78NszGzRZd9SeoI3JD11JqY+lubnaOx7Pewj5pfjqWXOEATpeKIFb9Z4t2WBUK2iryiXX3lzWwmYWgUL0Ug==
 
-"@pkgr/utils@^2.3.1":
-  version "2.3.1"
-  resolved "https://registry.npmjs.org/@pkgr/utils/-/utils-2.3.1.tgz#0a9b06ffddee364d6642b3cd562ca76f55b34a03"
-  integrity sha512-wfzX8kc1PMyUILA+1Z/EqoE4UCXGy0iRGMhPwdfae1+f0OXlLqCk+By+aMzgJBzR9AzS4CDizioG6Ss1gvAFJw==
-  dependencies:
-    cross-spawn "^7.0.3"
-    is-glob "^4.0.3"
-    open "^8.4.0"
-    picocolors "^1.0.0"
-    tiny-glob "^0.2.9"
-    tslib "^2.4.0"
-
 "@polka/url@^1.0.0-next.20":
   version "1.0.0-next.21"
   resolved "https://registry.yarnpkg.com/@polka/url/-/url-1.0.0-next.21.tgz#5de5a2385a35309427f6011992b544514d559aa1"
@@ -1426,10 +1414,10 @@
     estree-walker "^2.0.1"
     picomatch "^2.2.2"
 
-"@rushstack/eslint-patch@^1.1.3":
-  version "1.1.4"
-  resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.1.4.tgz#0c8b74c50f29ee44f423f7416829c0bf8bb5eb27"
-  integrity sha512-LwzQKA4vzIct1zNZzBmRKI9QuNpLgTQMEjsQLf3BXuGYb3QPTP4Yjf6mkdX+X1mYttZ808QpOwAzZjv28kq7DA==
+"@rushstack/eslint-patch@^1.0.8":
+  version "1.2.0"
+  resolved "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz#8be36a1f66f3265389e90b5f9c9962146758f728"
+  integrity sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==
 
 "@sentry/browser@7.19.0":
   version "7.19.0"
@@ -1738,6 +1726,16 @@
     semver "^7.3.7"
     tsutils "^3.21.0"
 
+"@typescript-eslint/parser@^5.0.0":
+  version "5.47.0"
+  resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.47.0.tgz#62e83de93499bf4b500528f74bf2e0554e3a6c8d"
+  integrity sha512-udPU4ckK+R1JWCGdQC4Qa27NtBg7w020ffHqGyAK8pAgOVuNw7YaKXGChk+udh+iiGIJf6/E/0xhVXyPAbsczw==
+  dependencies:
+    "@typescript-eslint/scope-manager" "5.47.0"
+    "@typescript-eslint/types" "5.47.0"
+    "@typescript-eslint/typescript-estree" "5.47.0"
+    debug "^4.3.4"
+
 "@typescript-eslint/parser@^5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.30.4.tgz#659411e8700b22c8d5400798ef24838425bf4567"
@@ -1748,16 +1746,6 @@
     "@typescript-eslint/typescript-estree" "5.30.4"
     debug "^4.3.4"
 
-"@typescript-eslint/parser@^5.42.0":
-  version "5.47.0"
-  resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.47.0.tgz#62e83de93499bf4b500528f74bf2e0554e3a6c8d"
-  integrity sha512-udPU4ckK+R1JWCGdQC4Qa27NtBg7w020ffHqGyAK8pAgOVuNw7YaKXGChk+udh+iiGIJf6/E/0xhVXyPAbsczw==
-  dependencies:
-    "@typescript-eslint/scope-manager" "5.47.0"
-    "@typescript-eslint/types" "5.47.0"
-    "@typescript-eslint/typescript-estree" "5.47.0"
-    debug "^4.3.4"
-
 "@typescript-eslint/scope-manager@5.30.4":
   version "5.30.4"
   resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.30.4.tgz#8140efd2bc12d41d74e8af23872a89f3edbe552e"
@@ -3541,11 +3529,6 @@ defer-to-connect@^1.0.1:
   resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-1.1.3.tgz#331ae050c08dcf789f8c83a7b81f0ed94f4ac591"
   integrity sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ==
 
-define-lazy-prop@^2.0.0:
-  version "2.0.0"
-  resolved "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f"
-  integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==
-
 define-properties@^1.1.3, define-properties@^1.1.4:
   version "1.1.4"
   resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1"
@@ -3776,14 +3759,6 @@ engine.io-parser@~2.2.0:
     blob "0.0.5"
     has-binary2 "~1.0.2"
 
-enhanced-resolve@^5.10.0:
-  version "5.12.0"
-  resolved "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.12.0.tgz#300e1c90228f5b570c4d35babf263f6da7155634"
-  integrity sha512-QHTXI/sZQmko1cbDoNAa3mJ5qhWUUNAq3vR0/YiD379fWQrcfuoX1+HW2S0MTt7XmoPLapdaDKUtelUSPic7hQ==
-  dependencies:
-    graceful-fs "^4.2.4"
-    tapable "^2.2.0"
-
 errno@^0.1.1:
   version "0.1.8"
   resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f"
@@ -3932,46 +3907,44 @@ escape-string-regexp@^4.0.0:
   resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
   integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
 
-eslint-config-next@^13.1.1:
-  version "13.1.1"
-  resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-13.1.1.tgz#b1a6602b0a339820585d4b2f8d2e08866b6699a7"
-  integrity sha512-/5S2XGWlGaiqrRhzpn51ux5JUSLwx8PVK2keLi5xk7QmhfYB8PqE6R6SlVw6hgnf/VexvUXSrlNJ/su00NhtHQ==
-  dependencies:
-    "@next/eslint-plugin-next" "13.1.1"
-    "@rushstack/eslint-patch" "^1.1.3"
-    "@typescript-eslint/parser" "^5.42.0"
-    eslint-import-resolver-node "^0.3.6"
-    eslint-import-resolver-typescript "^3.5.2"
-    eslint-plugin-import "^2.26.0"
+eslint-config-next@12.1.0:
+  version "12.1.0"
+  resolved "https://registry.npmjs.org/eslint-config-next/-/eslint-config-next-12.1.0.tgz#8ace680dc5207e6ab6c915f3989adec122f582e7"
+  integrity sha512-tBhuUgoDITcdcM7xFvensi9I5WTI4dnvH4ETGRg1U8ZKpXrZsWQFdOKIDzR3RLP5HR3xXrLviaMM4c3zVoE/pA==
+  dependencies:
+    "@next/eslint-plugin-next" "12.1.0"
+    "@rushstack/eslint-patch" "^1.0.8"
+    "@typescript-eslint/parser" "^5.0.0"
+    eslint-import-resolver-node "^0.3.4"
+    eslint-import-resolver-typescript "^2.4.0"
+    eslint-plugin-import "^2.25.2"
     eslint-plugin-jsx-a11y "^6.5.1"
-    eslint-plugin-react "^7.31.7"
-    eslint-plugin-react-hooks "^4.5.0"
+    eslint-plugin-react "^7.27.0"
+    eslint-plugin-react-hooks "^4.3.0"
 
 eslint-config-prettier@^8.5.0:
   version "8.5.0"
   resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1"
   integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==
 
-eslint-import-resolver-node@^0.3.6:
+eslint-import-resolver-node@^0.3.4, eslint-import-resolver-node@^0.3.6:
   version "0.3.6"
-  resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"
+  resolved "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd"
   integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==
   dependencies:
     debug "^3.2.7"
     resolve "^1.20.0"
 
-eslint-import-resolver-typescript@^3.5.2:
-  version "3.5.2"
-  resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.5.2.tgz#9431acded7d898fd94591a08ea9eec3514c7de91"
-  integrity sha512-zX4ebnnyXiykjhcBvKIf5TNvt8K7yX6bllTRZ14MiurKPjDpCAZujlszTdB8pcNXhZcOf+god4s9SjQa5GnytQ==
+eslint-import-resolver-typescript@^2.4.0:
+  version "2.7.1"
+  resolved "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-2.7.1.tgz#a90a4a1c80da8d632df25994c4c5fdcdd02b8751"
+  integrity sha512-00UbgGwV8bSgUv34igBDbTOtKhqoRMy9bFjNehT40bXg6585PNIct8HhXZ0SybqB9rWtXj9crcku8ndDn/gIqQ==
   dependencies:
     debug "^4.3.4"
-    enhanced-resolve "^5.10.0"
-    get-tsconfig "^4.2.0"
-    globby "^13.1.2"
-    is-core-module "^2.10.0"
+    glob "^7.2.0"
     is-glob "^4.0.3"
-    synckit "^0.8.4"
+    resolve "^1.22.0"
+    tsconfig-paths "^3.14.1"
 
 eslint-module-utils@^2.7.3:
   version "2.7.3"
@@ -3981,9 +3954,9 @@ eslint-module-utils@^2.7.3:
     debug "^3.2.7"
     find-up "^2.1.0"
 
-eslint-plugin-import@^2.26.0:
+eslint-plugin-import@^2.25.2:
   version "2.26.0"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b"
+  resolved "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b"
   integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==
   dependencies:
     array-includes "^3.1.4"
@@ -4026,12 +3999,12 @@ eslint-plugin-prettier@^4.2.1:
   dependencies:
     prettier-linter-helpers "^1.0.0"
 
-eslint-plugin-react-hooks@^4.5.0:
+eslint-plugin-react-hooks@^4.3.0:
   version "4.6.0"
-  resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
+  resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.0.tgz#4c3e697ad95b77e93f8646aaa1630c1ba607edd3"
   integrity sha512-oFc7Itz9Qxh2x4gNHStv3BqJq54ExXmfC+a1NjAta66IAN87Wu0R/QArgIS9qKzX3dXKPI9H5crl9QchNMY9+g==
 
-eslint-plugin-react@^7.31.7:
+eslint-plugin-react@^7.27.0:
   version "7.31.11"
   resolved "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.11.tgz#011521d2b16dcf95795df688a4770b4eaab364c8"
   integrity sha512-TTvq5JsT5v56wPa9OYHzsrOlHzKZKjV+aLgS+55NJP/cuzdiQPC7PfYoUjMoxlffKtvijpk7vA/jmuqRb9nohw==
@@ -4843,11 +4816,6 @@ get-symbol-description@^1.0.0:
     call-bind "^1.0.2"
     get-intrinsic "^1.1.1"
 
-get-tsconfig@^4.2.0:
-  version "4.2.0"
-  resolved "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.2.0.tgz#ff368dd7104dab47bf923404eb93838245c66543"
-  integrity sha512-X8u8fREiYOE6S8hLbq99PeykTDoLVnxvF4DjWKJmz9xy2nNRdUcV8ZN9tniJFeKyTU3qnC9lL8n4Chd6LmVKHg==
-
 getpass@^0.1.1:
   version "0.1.7"
   resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa"
@@ -4904,7 +4872,7 @@ glob@7.1.7:
     once "^1.3.0"
     path-is-absolute "^1.0.0"
 
-glob@^7.1.3:
+glob@^7.1.3, glob@^7.2.0:
   version "7.2.3"
   resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
   integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
@@ -4959,11 +4927,6 @@ globals@^13.15.0:
   dependencies:
     type-fest "^0.20.2"
 
-globalyzer@0.1.0:
-  version "0.1.0"
-  resolved "https://registry.npmjs.org/globalyzer/-/globalyzer-0.1.0.tgz#cb76da79555669a1519d5a8edf093afaa0bf1465"
-  integrity sha512-40oNTM9UfG6aBmuKxk/giHn5nQ8RVz/SS4Ir6zgzOv9/qC3kKZ9v4etGTcJbEl/NyVQH7FGU7d+X1egr57Md2Q==
-
 globby@^11.1.0:
   version "11.1.0"
   resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b"
@@ -4976,27 +4939,11 @@ globby@^11.1.0:
     merge2 "^1.4.1"
     slash "^3.0.0"
 
-globby@^13.1.2:
-  version "13.1.3"
-  resolved "https://registry.npmjs.org/globby/-/globby-13.1.3.tgz#f62baf5720bcb2c1330c8d4ef222ee12318563ff"
-  integrity sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==
-  dependencies:
-    dir-glob "^3.0.1"
-    fast-glob "^3.2.11"
-    ignore "^5.2.0"
-    merge2 "^1.4.1"
-    slash "^4.0.0"
-
 globjoin@^0.1.4:
   version "0.1.4"
   resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43"
   integrity sha512-xYfnw62CKG8nLkZBfWbhWwDw02CHty86jfPcc2cr3ZfeuK9ysoVPPEUxf21bAD/rWAgk52SuBrLJlefNy8mvFg==
 
-globrex@^0.1.2:
-  version "0.1.2"
-  resolved "https://registry.npmjs.org/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098"
-  integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg==
-
 gopd@^1.0.1:
   version "1.0.1"
   resolved "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
@@ -5041,7 +4988,7 @@ got@^7.1.0:
     url-parse-lax "^1.0.0"
     url-to-options "^1.0.1"
 
-graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4:
+graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0:
   version "4.2.10"
   resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c"
   integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==
@@ -5433,7 +5380,7 @@ is-callable@^1.2.7:
   resolved "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055"
   integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==
 
-is-core-module@^2.1.0, is-core-module@^2.10.0:
+is-core-module@^2.1.0:
   version "2.11.0"
   resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144"
   integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==
@@ -5454,11 +5401,6 @@ is-date-object@^1.0.1:
   dependencies:
     has-tostringtag "^1.0.0"
 
-is-docker@^2.0.0, is-docker@^2.1.1:
-  version "2.2.1"
-  resolved "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa"
-  integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==
-
 is-extglob@^2.1.1:
   version "2.1.1"
   resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
@@ -5651,13 +5593,6 @@ is-what@^3.14.1:
   resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1"
   integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA==
 
-is-wsl@^2.2.0:
-  version "2.2.0"
-  resolved "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271"
-  integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==
-  dependencies:
-    is-docker "^2.0.0"
-
 isarray@2.0.1:
   version "2.0.1"
   resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.1.tgz#a37d94ed9cda2d59865c9f76fe596ee1f338741e"
@@ -6826,15 +6761,6 @@ onetime@^6.0.0:
   dependencies:
     mimic-fn "^4.0.0"
 
-open@^8.4.0:
-  version "8.4.0"
-  resolved "https://registry.npmjs.org/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8"
-  integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==
-  dependencies:
-    define-lazy-prop "^2.0.0"
-    is-docker "^2.1.1"
-    is-wsl "^2.2.0"
-
 opener@^1.5.2:
   version "1.5.2"
   resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
@@ -8389,11 +8315,6 @@ slash@^3.0.0:
   resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634"
   integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==
 
-slash@^4.0.0:
-  version "4.0.0"
-  resolved "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7"
-  integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
-
 slice-ansi@^3.0.0:
   version "3.0.0"
   resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787"
@@ -8882,14 +8803,6 @@ swarm-js@^0.1.40:
     tar "^4.0.2"
     xhr-request "^1.0.1"
 
-synckit@^0.8.4:
-  version "0.8.4"
-  resolved "https://registry.npmjs.org/synckit/-/synckit-0.8.4.tgz#0e6b392b73fafdafcde56692e3352500261d64ec"
-  integrity sha512-Dn2ZkzMdSX827QbowGbU/4yjWuvNaCoScLLoMo/yKbu+P4GBR6cRGKZH27k6a9bRzdqcyd1DE96pQtQ6uNkmyw==
-  dependencies:
-    "@pkgr/utils" "^2.3.1"
-    tslib "^2.4.0"
-
 table@^6.8.0:
   version "6.8.0"
   resolved "https://registry.yarnpkg.com/table/-/table-6.8.0.tgz#87e28f14fa4321c3377ba286f07b79b281a3b3ca"
@@ -8901,11 +8814,6 @@ table@^6.8.0:
     string-width "^4.2.3"
     strip-ansi "^6.0.1"
 
-tapable@^2.2.0:
-  version "2.2.1"
-  resolved "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0"
-  integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
-
 tar@^4.0.2:
   version "4.4.19"
   resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3"
@@ -8965,14 +8873,6 @@ timed-out@^4.0.0, timed-out@^4.0.1:
   resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f"
   integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA==
 
-tiny-glob@^0.2.9:
-  version "0.2.9"
-  resolved "https://registry.npmjs.org/tiny-glob/-/tiny-glob-0.2.9.tgz#2212d441ac17928033b110f8b3640683129d31e2"
-  integrity sha512-g/55ssRPUjShh+xkfx9UPDXqhckHEsHr4Vd9zX55oSdGZc/MD0m3sferOkwWtp98bv+kcVfEHtRJgBVJzelrzg==
-  dependencies:
-    globalyzer "0.1.0"
-    globrex "^0.1.2"
-
 tmp@^0.2.1:
   version "0.2.1"
   resolved "https://registry.npmmirror.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14"

From 96446b02ee9ad9239cf322f46d3617363d177b89 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 16:45:33 +0800
Subject: [PATCH 13/77] feat: change dep

---
 .eslintrc.json |  2 +-
 package.json   | 24 ++++++++++++------------
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index df3e45a..9666dd6 100755
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,7 +4,7 @@
   "parser": "@typescript-eslint/parser",
   "extends": [
     "eslint:recommended",
-    //"next/core-web-vitals",
+    "next/core-web-vitals",
     "plugin:@typescript-eslint/recommended",
     "eslint-config-prettier",
     "plugin:prettier/recommended"
diff --git a/package.json b/package.json
index 9ea512a..63b4834 100644
--- a/package.json
+++ b/package.json
@@ -48,7 +48,18 @@
     "react-redux": "^8.0.2",
     "react-use": "^17.4.0",
     "web3": "^1.7.4",
-    "web3-core": "^1.7.4"
+    "web3-core": "^1.7.4",
+    "eslint-plugin-tsdoc": "^0.2.17",
+    "@typescript-eslint/eslint-plugin": "^5.30.4",
+    "@typescript-eslint/parser": "^5.30.4",
+    "eslint": "8.19.0",
+    "eslint-config-next": "12.1.0",
+    "eslint-config-prettier": "^8.5.0",
+    "eslint-plugin-prettier": "^4.2.1",
+    "prettier": "^2.7.1",
+    "stylelint": "^14.9.1",
+    "stylelint-config-prettier": "^9.0.3",
+    "stylelint-config-standard": "^26.0.0"
   },
   "devDependencies": {
     "@coinbase/wallet-sdk": "^3.3.0",
@@ -58,22 +69,11 @@
     "@types/node": "18.0.1",
     "@types/react": "18.0.14",
     "@types/react-dom": "18.0.5",
-    "@typescript-eslint/eslint-plugin": "^5.30.4",
-    "@typescript-eslint/parser": "^5.30.4",
-    "eslint": "8.19.0",
-    "eslint-config-next": "12.1.0",
-    "eslint-config-prettier": "^8.5.0",
-    "eslint-plugin-prettier": "^4.2.1",
-    "eslint-plugin-tsdoc": "^0.2.17",
     "husky": ">=6",
     "less": "^4.1.3",
     "less-loader": "^11.0.0",
     "lint-staged": ">=10",
     "postcss-less": "^6.0.0",
-    "prettier": "^2.7.1",
-    "stylelint": "^14.9.1",
-    "stylelint-config-prettier": "^9.0.3",
-    "stylelint-config-standard": "^26.0.0",
     "typescript": "4.7.4",
     "vconsole": "^3.14.6"
   },

From 1cd2aa533bce42e0eb2d5aad26121b1b0386440a Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 16:48:07 +0800
Subject: [PATCH 14/77] feat: test

---
 .eslintrc.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index 9666dd6..f2c1719 100755
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,7 +4,7 @@
   "parser": "@typescript-eslint/parser",
   "extends": [
     "eslint:recommended",
-    "next/core-web-vitals",
+    // "next/core-web-vitals",
     "plugin:@typescript-eslint/recommended",
     "eslint-config-prettier",
     "plugin:prettier/recommended"

From 3a5febe8d196f4944ec4783b568e2ec55d790188 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:02:12 +0800
Subject: [PATCH 15/77] feat: change tml

---
 .github/workflows/mega-linter.yml | 70 ++++++++++++++++++-------------
 1 file changed, 41 insertions(+), 29 deletions(-)

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index 9d80b3c..4b547c1 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -1,48 +1,60 @@
 ---
-# MegaLinter GitHub Action configuration file
-# More info at https://megalinter.io
-name: MegaLinter
+#################################
+#################################
+## Super Linter GitHub Actions ##
+#################################
+#################################
+name: Lint Code Base
 
+#
+# Documentation:
+# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
+#
+
+#############################
+# Start the job on all push #
+#############################
 on:
-  # Trigger mega-linter at every push. Action will also be visible from Pull Requests to master
-  push: # Comment this line to trigger action only on pull-requests (not recommended if you don't pay for GH Actions)
+  push:
+    branches-ignore: [master, main]
+    # Remove the line above to run when pushing to master
   pull_request:
     branches: [master, main]
 
-env: # Comment env block if you do not want to apply fixes
-  # Apply linter fixes configuration
-  APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool)
-  APPLY_FIXES_EVENT: pull_request # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all)
-  APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request)
-
-concurrency:
-  group: ${{ github.ref }}-${{ github.workflow }}
-  cancel-in-progress: true
-
+###############
+# Set the Job #
+###############
 jobs:
   build:
-    name: MegaLinter
+    # Name the Job
+    name: Lint Code Base
+    # Set the agent to run on
     runs-on: ubuntu-latest
+
+    ##################
+    # Load all steps #
+    ##################
     steps:
-      # Git Checkout
+      ##########################
+      # Checkout the code base #
+      ##########################
       - name: Checkout Code
         uses: actions/checkout@v3
         with:
-          token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
-          fetch-depth: 0 # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to improve performances
+          # Full git history is needed to get a proper list of changed files within `super-linter`
+          fetch-depth: 0
 
-      # MegaLinter
-      - name: MegaLinter
-        id: ml
-        # You can override MegaLinter flavor used to have faster performances
-        # More info at https://megalinter.io/flavors/
-        uses: oxsecurity/megalinter/flavors/javascript@v6
+      ################################
+      # Run Linter against code base #
+      ################################
+      - name: Lint Code Base
+        uses: github/super-linter/slim@v4
         env:
-          # All available variables are described in documentation
-          # https://megalinter.io/configuration/
-          VALIDATE_ALL_CODEBASE: true # Set ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} to validate only diff with main branch
+          VALIDATE_ALL_CODEBASE: false
+          # Change to 'master' if your main branch differs
+          DEFAULT_BRANCH: main
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          # ADD YOUR CUSTOM ENV VARIABLES HERE TO OVERRIDE VALUES OF .mega-linter.yml AT THE ROOT OF YOUR REPOSITORY
+          ################# ESLint config #################
           LINTER_RULES_PATH: /
           JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
           TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json

From 37b4ca1ad8b862782b1c12bad47923f66dcdfee8 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:04:50 +0800
Subject: [PATCH 16/77] feat: yml

---
 .github/workflows/mega-linter.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
index 4b547c1..4326771 100644
--- a/.github/workflows/mega-linter.yml
+++ b/.github/workflows/mega-linter.yml
@@ -50,7 +50,7 @@ jobs:
       - name: Lint Code Base
         uses: github/super-linter/slim@v4
         env:
-          VALIDATE_ALL_CODEBASE: false
+          VALIDATE_ALL_CODEBASE: true
           # Change to 'master' if your main branch differs
           DEFAULT_BRANCH: main
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

From c9a7a2062c54d3c3bd6c5caf91058452fc58751f Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:24:24 +0800
Subject: [PATCH 17/77] feat: reviewdog

---
 .github/workflows/mega-linter.yml | 67 -------------------------------
 .github/workflows/reviewdog.yml   | 16 ++++++++
 .mega-linter.yml                  | 12 ------
 3 files changed, 16 insertions(+), 79 deletions(-)
 delete mode 100644 .github/workflows/mega-linter.yml
 create mode 100644 .github/workflows/reviewdog.yml
 delete mode 100644 .mega-linter.yml

diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml
deleted file mode 100644
index 4326771..0000000
--- a/.github/workflows/mega-linter.yml
+++ /dev/null
@@ -1,67 +0,0 @@
----
-#################################
-#################################
-## Super Linter GitHub Actions ##
-#################################
-#################################
-name: Lint Code Base
-
-#
-# Documentation:
-# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions
-#
-
-#############################
-# Start the job on all push #
-#############################
-on:
-  push:
-    branches-ignore: [master, main]
-    # Remove the line above to run when pushing to master
-  pull_request:
-    branches: [master, main]
-
-###############
-# Set the Job #
-###############
-jobs:
-  build:
-    # Name the Job
-    name: Lint Code Base
-    # Set the agent to run on
-    runs-on: ubuntu-latest
-
-    ##################
-    # Load all steps #
-    ##################
-    steps:
-      ##########################
-      # Checkout the code base #
-      ##########################
-      - name: Checkout Code
-        uses: actions/checkout@v3
-        with:
-          # Full git history is needed to get a proper list of changed files within `super-linter`
-          fetch-depth: 0
-
-      ################################
-      # Run Linter against code base #
-      ################################
-      - name: Lint Code Base
-        uses: github/super-linter/slim@v4
-        env:
-          VALIDATE_ALL_CODEBASE: true
-          # Change to 'master' if your main branch differs
-          DEFAULT_BRANCH: main
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-          ################# ESLint config #################
-          LINTER_RULES_PATH: /
-          JAVASCRIPT_ES_CONFIG_FILE: .eslintrc.json
-          TYPESCRIPT_ES_CONFIG_FILE: .eslintrc.json
-          # less 只支持 postcss-less这种,需要别的自己来给super-linter提pr就行,小哥反应很快
-          CSS_FILE_NAME: .stylelintrc.json
-          VALIDATE_CSS: fasle
-          VALIDATE_JAVASCRIPT_STANDARD: false
-          VALIDATE_TYPESCRIPT_STANDARD: false
-          VALIDATE_SHELL_SHFMT: false
-          VALIDATE_BASH: false
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
new file mode 100644
index 0000000..9244f71
--- /dev/null
+++ b/.github/workflows/reviewdog.yml
@@ -0,0 +1,16 @@
+name: reviewdog
+on: [pull_request, push]
+jobs:
+  eslint:
+    name: runner / eslint
+    runs-on: ubuntu-latest
+    permissions:
+      contents: read
+      pull-requests: write
+    steps:
+      - uses: actions/checkout@v2
+      - uses: reviewdog/action-eslint@v1
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          reporter: github-pr-review # Change reporter.
+          eslint_flags: '/'
diff --git a/.mega-linter.yml b/.mega-linter.yml
deleted file mode 100644
index d0c7bbc..0000000
--- a/.mega-linter.yml
+++ /dev/null
@@ -1,12 +0,0 @@
-# Configuration file for MegaLinter
-# See all available variables at https://megalinter.io/configuration/ and in linters documentation
-
-APPLY_FIXES: all # all, none, or list of linter keys
-# ENABLE: # If you use ENABLE variable, all other languages/formats/tooling-formats will be disabled by default
-# ENABLE_LINTERS: # If you use ENABLE_LINTERS variable, all other linters will be disabled by default
-DISABLE:
-  - COPYPASTE # Comment to enable checks of excessive copy-pastes
-  - SPELL # Comment to enable checks of spelling mistakes
-SHOW_ELAPSED_TIME: false
-FILEIO_REPORTER: false
-# DISABLE_ERRORS: true # Uncomment if you want MegaLinter to detect errors but not block CI to pass

From 51c83d032d7a863e09a7723d03780f4d30e8ab86 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:32:21 +0800
Subject: [PATCH 18/77] feat: rml

---
 .github/workflows/lint.yml      | 12 ++++++++++++
 .github/workflows/reviewdog.yml | 16 ----------------
 2 files changed, 12 insertions(+), 16 deletions(-)
 create mode 100644 .github/workflows/lint.yml
 delete mode 100644 .github/workflows/reviewdog.yml

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..93ca5ad
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,12 @@
+name: Lint
+
+on: [push]
+
+jobs:
+  eslint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v1
+      - uses: stefanoeb/eslint-action@1.0.2
+        with:
+          files: src/
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
deleted file mode 100644
index 9244f71..0000000
--- a/.github/workflows/reviewdog.yml
+++ /dev/null
@@ -1,16 +0,0 @@
-name: reviewdog
-on: [pull_request, push]
-jobs:
-  eslint:
-    name: runner / eslint
-    runs-on: ubuntu-latest
-    permissions:
-      contents: read
-      pull-requests: write
-    steps:
-      - uses: actions/checkout@v2
-      - uses: reviewdog/action-eslint@v1
-        with:
-          github_token: ${{ secrets.GITHUB_TOKEN }}
-          reporter: github-pr-review # Change reporter.
-          eslint_flags: '/'

From de288e0a4ecc1861375a9b98e060fb368a7b2db3 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:39:48 +0800
Subject: [PATCH 19/77] feat: test

---
 .github/workflows/lint.yml | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 93ca5ad..4df7a78 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,12 +1,15 @@
 name: Lint
 
-on: [push]
+on: push
 
 jobs:
   eslint:
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v1
-      - uses: stefanoeb/eslint-action@1.0.2
+      - uses: actions/checkout@v2
+      - uses: mrdivyansh/eslint-action@v1.0.7
+        # GITHUB_TOKEN in forked repositories is read-only
+        # https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
         with:
-          files: src/
+          repo-token: ${{secrets.GITHUB_TOKEN}}
+          eslint-rc: .eslintrc.json

From ca21a4f14414b01dabdd58f7826ed448d7ba557d Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:43:53 +0800
Subject: [PATCH 20/77] feat: test

---
 .github/workflows/lint.yml | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4df7a78..34bfa96 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,15 +1,20 @@
-name: Lint
-
-on: push
+on:
+  push:
+  pull_request:
 
 jobs:
   eslint:
+    name: eslint
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v2
-      - uses: mrdivyansh/eslint-action@v1.0.7
-        # GITHUB_TOKEN in forked repositories is read-only
-        # https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
+      - uses: actions/checkout@v1
+      - name: install node v12
+        uses: actions/setup-node@v1
+        with:
+          node-version: 12
+      - name: yarn install
+        run: yarn install
+      - name: eslint
+        uses: icrawl/action-eslint@v1
         with:
-          repo-token: ${{secrets.GITHUB_TOKEN}}
-          eslint-rc: .eslintrc.json
+          custom-glob: apps # only if a different glob is needed, default: src

From 14a9733cc2d7c4d2d4d5809d460e781cc8809958 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:46:45 +0800
Subject: [PATCH 21/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 34bfa96..975c0a1 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -11,7 +11,7 @@ jobs:
       - name: install node v12
         uses: actions/setup-node@v1
         with:
-          node-version: 12
+          node-version: 14
       - name: yarn install
         run: yarn install
       - name: eslint

From b05ef0b4ea32ca11ae0b7173b5f6126ae086c862 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:49:52 +0800
Subject: [PATCH 22/77] feat: yml

---
 .github/workflows/lint.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 975c0a1..4e3c694 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,7 +8,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v1
-      - name: install node v12
+      - name: install node v14
         uses: actions/setup-node@v1
         with:
           node-version: 14
@@ -17,4 +17,4 @@ jobs:
       - name: eslint
         uses: icrawl/action-eslint@v1
         with:
-          custom-glob: apps # only if a different glob is needed, default: src
+          custom-glob: src

From 154efc42608b38e6d59c66adb3b8eecf489c5e10 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:54:56 +0800
Subject: [PATCH 23/77] feat: fix

---
 src/hooks/callback/useLockCallback.ts | 1 -
 src/hooks/useDebounceCallback.ts      | 1 -
 src/hooks/useInterval.ts              | 1 -
 3 files changed, 3 deletions(-)

diff --git a/src/hooks/callback/useLockCallback.ts b/src/hooks/callback/useLockCallback.ts
index 4b7c1c6..1542a5e 100644
--- a/src/hooks/callback/useLockCallback.ts
+++ b/src/hooks/callback/useLockCallback.ts
@@ -14,6 +14,5 @@ export default function useLockCallback<T extends (...args: any[]) => any>(callb
       lock.current = false;
       throw e;
     }
-    // eslint-disable-next-line react-hooks/exhaustive-deps
   }, deps);
 }
diff --git a/src/hooks/useDebounceCallback.ts b/src/hooks/useDebounceCallback.ts
index 74c7992..50cc611 100644
--- a/src/hooks/useDebounceCallback.ts
+++ b/src/hooks/useDebounceCallback.ts
@@ -11,6 +11,5 @@ export default function useDebounceCallback<T extends (...args: any[]) => any>(
     if (lock.current && lock.current + delay > now) return;
     lock.current = now;
     return callback(...args);
-    // eslint-disable-next-line react-hooks/exhaustive-deps
   }, deps);
 }
diff --git a/src/hooks/useInterval.ts b/src/hooks/useInterval.ts
index e8c3605..56c668d 100644
--- a/src/hooks/useInterval.ts
+++ b/src/hooks/useInterval.ts
@@ -13,7 +13,6 @@ const useInterval = (callback: () => void, delay?: number | null, deps?: Depende
       return () => clearInterval(interval);
     }
     return undefined;
-    // eslint-disable-next-line react-hooks/exhaustive-deps
   }, [delay, ...(deps || [])]);
 };
 

From a1daba4fea7141ee20387344bc8ee67039631391 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 17:55:26 +0800
Subject: [PATCH 24/77] feat: fix

---
 .eslintrc.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index f2c1719..9666dd6 100755
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -4,7 +4,7 @@
   "parser": "@typescript-eslint/parser",
   "extends": [
     "eslint:recommended",
-    // "next/core-web-vitals",
+    "next/core-web-vitals",
     "plugin:@typescript-eslint/recommended",
     "eslint-config-prettier",
     "plugin:prettier/recommended"

From 2c8f4dc59aeddc6c208c6d6c60f3ba594b4b35b1 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Mon, 26 Dec 2022 18:01:21 +0800
Subject: [PATCH 25/77] feat: fix errors

---
 src/page-components/Monitor/index.tsx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/page-components/Monitor/index.tsx b/src/page-components/Monitor/index.tsx
index 2caf19a..af49861 100644
--- a/src/page-components/Monitor/index.tsx
+++ b/src/page-components/Monitor/index.tsx
@@ -21,7 +21,7 @@ export default function SentryDemo() {
             Throw error reporting to Sentry
           </button>
           View Results:{' '}
-          <a target="_blank" href="https://sentry.io/">
+          <a target="_blank" href="https://sentry.io/" rel="noreferrer">
             here
           </a>
         </div>
@@ -32,7 +32,8 @@ export default function SentryDemo() {
           View Results:{' '}
           <a
             target="_blank"
-            href="https://console.firebase.google.com/?utm_source=firebase.google.com&utm_medium=referral">
+            href="https://console.firebase.google.com/?utm_source=firebase.google.com&utm_medium=referral"
+            rel="noreferrer">
             here
           </a>
         </div>

From e5353e26ea7aea6c314ca2bed07a38ec66de75e5 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:12:43 +0800
Subject: [PATCH 26/77] feat: eslint-changed-files

---
 .github/workflows/lint.yml | 42 +++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4e3c694..4fa7d77 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,20 +1,24 @@
-on:
-  push:
-  pull_request:
+...:
+  runs-on: ubuntu-latest
 
-jobs:
-  eslint:
-    name: eslint
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v1
-      - name: install node v14
-        uses: actions/setup-node@v1
-        with:
-          node-version: 14
-      - name: yarn install
-        run: yarn install
-      - name: eslint
-        uses: icrawl/action-eslint@v1
-        with:
-          custom-glob: src
+  steps:
+    - uses: actions/checkout@v2
+
+    - uses: actions/setup-node@v2
+      with:
+        node-version: 14
+
+    - name: Install dependencies
+      run: yarn # OR: yarn
+
+    - name: Run eslint on changed files
+      uses: tj-actions/eslint-changed-files@v14
+      with:
+        config_path: '.eslintrc.json'
+        # ignore_path: '/path/to/.eslintignore'
+        extra_args: '--max-warnings=0'
+        file_extensions: |
+          **/*.ts
+          **/*.tsx
+          **/*.js
+          **/*.jsx

From 6327f9aab11594152438b9432f430c5de55e0d48 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:13:41 +0800
Subject: [PATCH 27/77] feat: test

---
 src/pages/_app.tsx | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index 8115cb4..783c67f 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -34,6 +34,7 @@ export default function APP({ Component, pageProps }: AppProps) {
       router.replace(href.replace(origin, ''));
     });
   }, []);
+  debugger;
 
   return (
     <QueryClientProvider client={queryClient}>

From 95e610920a1876d8e7f62bd202f20334da5d447e Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:15:01 +0800
Subject: [PATCH 28/77] feat: revert

---
 src/pages/_app.tsx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index 783c67f..8115cb4 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -34,7 +34,6 @@ export default function APP({ Component, pageProps }: AppProps) {
       router.replace(href.replace(origin, ''));
     });
   }, []);
-  debugger;
 
   return (
     <QueryClientProvider client={queryClient}>

From 058ba0146176e6f55b804309a1023a9794b454e3 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:20:11 +0800
Subject: [PATCH 29/77] feat: yml

---
 .github/workflows/lint.yml | 40 +++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 20 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4fa7d77..b6826dd 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,24 +1,24 @@
-...:
-  runs-on: ubuntu-latest
+on:
+  push:
+  pull_request:
 
-  steps:
-    - uses: actions/checkout@v2
+jobs:
+  eslint:
+    runs-on: ubuntu-latest
 
-    - uses: actions/setup-node@v2
-      with:
-        node-version: 14
+    steps:
+      - uses: actions/checkout@v2
 
-    - name: Install dependencies
-      run: yarn # OR: yarn
+      - uses: actions/setup-node@v2
+        with:
+          node-version: 14
 
-    - name: Run eslint on changed files
-      uses: tj-actions/eslint-changed-files@v14
-      with:
-        config_path: '.eslintrc.json'
-        # ignore_path: '/path/to/.eslintignore'
-        extra_args: '--max-warnings=0'
-        file_extensions: |
-          **/*.ts
-          **/*.tsx
-          **/*.js
-          **/*.jsx
+      - name: Install dependencies
+        run: yarn # OR: yarn
+
+      - name: Run eslint on changed files
+        uses: tj-actions/eslint-changed-files@v14
+        with:
+          config_path: '.eslintrc.json'
+          # ignore_path: '/path/to/.eslintignore'
+          extra_args: '--max-warnings=0'

From fd391242665e3388abeac3a3ef275edb168f089d Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:25:45 +0800
Subject: [PATCH 30/77] feat: all files

---
 .github/workflows/lint.yml | 1 +
 src/pages/_app.tsx         | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index b6826dd..d6daa94 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,6 +19,7 @@ jobs:
       - name: Run eslint on changed files
         uses: tj-actions/eslint-changed-files@v14
         with:
+          all_files: 'true'
           config_path: '.eslintrc.json'
           # ignore_path: '/path/to/.eslintignore'
           extra_args: '--max-warnings=0'
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index 8115cb4..fbe1292 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -34,7 +34,6 @@ export default function APP({ Component, pageProps }: AppProps) {
       router.replace(href.replace(origin, ''));
     });
   }, []);
-
   return (
     <QueryClientProvider client={queryClient}>
       <PageHead title={'Next Demo'} />

From 179a0b70f3df2c72711a462d1ed9e08e250bd578 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:32:41 +0800
Subject: [PATCH 31/77] feat: test

---
 .github/workflows/lint.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index d6daa94..a5ffa87 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -23,3 +23,8 @@ jobs:
           config_path: '.eslintrc.json'
           # ignore_path: '/path/to/.eslintignore'
           extra_args: '--max-warnings=0'
+          file_extensions: |
+            **/*.ts
+            **/*.tsx
+            **/*.js
+            **/*.jsx

From 27ee98ab8fb752196cdac92aed8a6a06ad3b9157 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:37:06 +0800
Subject: [PATCH 32/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index a5ffa87..364c586 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,7 +19,7 @@ jobs:
       - name: Run eslint on changed files
         uses: tj-actions/eslint-changed-files@v14
         with:
-          all_files: 'true'
+          all_files: true
           config_path: '.eslintrc.json'
           # ignore_path: '/path/to/.eslintignore'
           extra_args: '--max-warnings=0'

From b9b0a5f5f97c262d08dd4c2eb494ec50138a266b Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 10:46:22 +0800
Subject: [PATCH 33/77] feat: test

---
 .github/workflows/lint.yml | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 364c586..f8d406a 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,6 +1,5 @@
-on:
-  push:
-  pull_request:
+name: Lint
+on: [push, pull_request]
 
 jobs:
   eslint:
@@ -19,12 +18,9 @@ jobs:
       - name: Run eslint on changed files
         uses: tj-actions/eslint-changed-files@v14
         with:
-          all_files: true
           config_path: '.eslintrc.json'
-          # ignore_path: '/path/to/.eslintignore'
-          extra_args: '--max-warnings=0'
           file_extensions: |
             **/*.ts
             **/*.tsx
-            **/*.js
-            **/*.jsx
+          extra_args: '--max-warnings=0'
+          all_files: true

From 9f2e84e49b5145868352ad93c2aa9fc853d147f9 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:04:30 +0800
Subject: [PATCH 34/77] feat: test

---
 .github/workflows/lint.yml | 2 ++
 src/pages/_app.tsx         | 1 +
 2 files changed, 3 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index f8d406a..98aa0fc 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -11,6 +11,8 @@ jobs:
       - uses: actions/setup-node@v2
         with:
           node-version: 14
+          cache: yarn
+          cache-dependency-path: yarn.lock
 
       - name: Install dependencies
         run: yarn # OR: yarn
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index fbe1292..8a67218 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -34,6 +34,7 @@ export default function APP({ Component, pageProps }: AppProps) {
       router.replace(href.replace(origin, ''));
     });
   }, []);
+  debugger;
   return (
     <QueryClientProvider client={queryClient}>
       <PageHead title={'Next Demo'} />

From bc0cd9720cbfad40fd4c7b369fb0b8111fb970c8 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:07:52 +0800
Subject: [PATCH 35/77] feat: test

---
 .github/workflows/lint.yml | 1 -
 src/pages/_app.tsx         | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 98aa0fc..fc1cffa 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -25,4 +25,3 @@ jobs:
             **/*.ts
             **/*.tsx
           extra_args: '--max-warnings=0'
-          all_files: true
diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index 8a67218..ce51b7e 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -34,6 +34,7 @@ export default function APP({ Component, pageProps }: AppProps) {
       router.replace(href.replace(origin, ''));
     });
   }, []);
+
   debugger;
   return (
     <QueryClientProvider client={queryClient}>

From 67554651b4454372160e95bc3c4f9640e7afcb45 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:13:35 +0800
Subject: [PATCH 36/77] feat: test

---
 .github/workflows/lint.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index fc1cffa..0b7fe86 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -21,7 +21,6 @@ jobs:
         uses: tj-actions/eslint-changed-files@v14
         with:
           config_path: '.eslintrc.json'
-          file_extensions: |
-            **/*.ts
-            **/*.tsx
           extra_args: '--max-warnings=0'
+          path: 'src'
+          all_files: true

From 2a2a4e2749ed97d3cab29bd5aaa45bc031616cd5 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:18:52 +0800
Subject: [PATCH 37/77] feat: reviewdog

---
 .github/workflows/lint.yml | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0b7fe86..f4c77fd 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,26 +1,15 @@
-name: Lint
-on: [push, pull_request]
-
+name: reviewdog
+on: [pull_request, push]
 jobs:
   eslint:
+    name: runner / eslint
     runs-on: ubuntu-latest
-
     steps:
       - uses: actions/checkout@v2
-
       - uses: actions/setup-node@v2
         with:
-          node-version: 14
-          cache: yarn
-          cache-dependency-path: yarn.lock
-
-      - name: Install dependencies
-        run: yarn # OR: yarn
-
-      - name: Run eslint on changed files
-        uses: tj-actions/eslint-changed-files@v14
+          node-version: '14'
+      - run: yarn install
+      - uses: reviewdog/action-eslint@v1
         with:
-          config_path: '.eslintrc.json'
-          extra_args: '--max-warnings=0'
-          path: 'src'
-          all_files: true
+          reporter: github-check

From d6febb74844be3a40e6ceb1166739219f6b3c679 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:23:57 +0800
Subject: [PATCH 38/77] feat: change

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index f4c77fd..21fb332 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,3 +13,4 @@ jobs:
       - uses: reviewdog/action-eslint@v1
         with:
           reporter: github-check
+          eslint_flags: 'src/'

From 304cce2aefcb0394fd6f28a8748d094fe167dfcc Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:27:52 +0800
Subject: [PATCH 39/77] feat: fail_on_error: true

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 21fb332..69a5017 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -14,3 +14,4 @@ jobs:
         with:
           reporter: github-check
           eslint_flags: 'src/'
+          fail_on_error: true

From abacd8b481c3d99cfed0c068128a8872c655ad35 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 11:33:22 +0800
Subject: [PATCH 40/77] feat: test

---
 src/pages/_app.tsx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx
index ce51b7e..8115cb4 100755
--- a/src/pages/_app.tsx
+++ b/src/pages/_app.tsx
@@ -35,7 +35,6 @@ export default function APP({ Component, pageProps }: AppProps) {
     });
   }, []);
 
-  debugger;
   return (
     <QueryClientProvider client={queryClient}>
       <PageHead title={'Next Demo'} />

From e3f8b9d2fa0d5e0fa5057ae2cd1be74b9f227f50 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 15:46:04 +0800
Subject: [PATCH 41/77] feat: stylelint

---
 .github/workflows/lint.yml | 22 ++++++++--------------
 1 file changed, 8 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 69a5017..7d9c293 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,17 +1,11 @@
-name: reviewdog
-on: [pull_request, push]
+name: Test
+on: [push]
+
 jobs:
-  eslint:
-    name: runner / eslint
+  linters:
+    name: stylelint
     runs-on: ubuntu-latest
+
     steps:
-      - uses: actions/checkout@v2
-      - uses: actions/setup-node@v2
-        with:
-          node-version: '14'
-      - run: yarn install
-      - uses: reviewdog/action-eslint@v1
-        with:
-          reporter: github-check
-          eslint_flags: 'src/'
-          fail_on_error: true
+      - uses: actions/checkout@v1
+      - uses: actions-hub/stylelint@master

From b4c81469f1292d973579fcb576de981671957202 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 15:59:59 +0800
Subject: [PATCH 42/77] feat: stylelint

---
 .github/workflows/lint.yml | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 7d9c293..15605ea 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,11 +1,13 @@
-name: Test
-on: [push]
-
+name: reviewdog
+on: [push, pull_request]
 jobs:
-  linters:
-    name: stylelint
+  stylelint:
+    name: runner / stylelint
     runs-on: ubuntu-latest
-
     steps:
-      - uses: actions/checkout@v1
-      - uses: actions-hub/stylelint@master
+      - uses: actions/checkout@v3
+      - name: stylelint
+        uses: reviewdog/action-stylelint@v1
+        with:
+          reporter: github-pr-review # Change reporter.
+          stylelint_input: '**/*.less'

From 1d7b2bce3fb48ece71e3e1da464b5dc881d2c238 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:15:02 +0800
Subject: [PATCH 43/77] feat: less

---
 .github/workflows/lint.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 15605ea..f2ceee8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,5 +9,4 @@ jobs:
       - name: stylelint
         uses: reviewdog/action-stylelint@v1
         with:
-          reporter: github-pr-review # Change reporter.
           stylelint_input: '**/*.less'

From 5069b463e7543ca14a39d72c479c0dab6f6d8847 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:20:58 +0800
Subject: [PATCH 44/77] feat: change conf

---
 .github/workflows/lint.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index f2ceee8..66dba58 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,4 +9,6 @@ jobs:
       - name: stylelint
         uses: reviewdog/action-stylelint@v1
         with:
-          stylelint_input: '**/*.less'
+          github_token: ${{ secrets.github_token }}
+          stylelint_input: 'src/**/*.{css,less}'
+          stylelint_config: '.stylelintrc.json'

From 5ccdee5de710c5acfa3d2cc700101615f0aae14b Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:24:04 +0800
Subject: [PATCH 45/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 66dba58..ff7f470 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,5 +10,5 @@ jobs:
         uses: reviewdog/action-stylelint@v1
         with:
           github_token: ${{ secrets.github_token }}
-          stylelint_input: 'src/**/*.{css,less}'
+          stylelint_input: 'src/**/*.{css}'
           stylelint_config: '.stylelintrc.json'

From 5c71f2eb2ba8156f4b85ff2eadc885f938704f8e Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:26:39 +0800
Subject: [PATCH 46/77] feat: less

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index ff7f470..bd39f7d 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,5 +10,5 @@ jobs:
         uses: reviewdog/action-stylelint@v1
         with:
           github_token: ${{ secrets.github_token }}
-          stylelint_input: 'src/**/*.{css}'
+          stylelint_input: 'src/**/*.{less}'
           stylelint_config: '.stylelintrc.json'

From ce0dd387d8cbbec66a8f50ce44bd43e06fd30002 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:30:10 +0800
Subject: [PATCH 47/77] feat: less

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index bd39f7d..816b01b 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,5 +10,5 @@ jobs:
         uses: reviewdog/action-stylelint@v1
         with:
           github_token: ${{ secrets.github_token }}
-          stylelint_input: 'src/**/*.{less}'
+          stylelint_input: 'src/**/*.less'
           stylelint_config: '.stylelintrc.json'

From 7ef1d8f020dbdab36823b8db73a898e627394e4d Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:42:28 +0800
Subject: [PATCH 48/77] feat: linting

---
 .github/workflows/lint.yml | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 816b01b..76c9689 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,14 +1,5 @@
-name: reviewdog
-on: [push, pull_request]
-jobs:
-  stylelint:
-    name: runner / stylelint
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-      - name: stylelint
-        uses: reviewdog/action-stylelint@v1
-        with:
-          github_token: ${{ secrets.github_token }}
-          stylelint_input: 'src/**/*.less'
-          stylelint_config: '.stylelintrc.json'
+stylelint:
+  stage: linting
+  image: registry.gitlab.com/pipeline-components/stylelint:latest
+  script:
+    - stylelint --color '**/*.less'

From d154743553ebb3fcdf5d66fae7431129c7091298 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:55:21 +0800
Subject: [PATCH 49/77] feat: linting

---
 .github/workflows/lint.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 76c9689..bbd379f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,3 +1,6 @@
+name: linting
+on: [push, pull_request]
+jobs:
 stylelint:
   stage: linting
   image: registry.gitlab.com/pipeline-components/stylelint:latest

From 6f0d7c3c6209833f9943b9bfa7e3778c7ffc6eb2 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 16:56:17 +0800
Subject: [PATCH 50/77] feat: linting

---
 .github/workflows/lint.yml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index bbd379f..0815c8a 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,8 +1,8 @@
 name: linting
 on: [push, pull_request]
 jobs:
-stylelint:
-  stage: linting
-  image: registry.gitlab.com/pipeline-components/stylelint:latest
-  script:
-    - stylelint --color '**/*.less'
+  stylelint:
+    stage: linting
+    image: registry.gitlab.com/pipeline-components/stylelint:latest
+    script:
+      - stylelint --color '**/*.less'

From d68a48dd1c1fd00c96e628988e99451bd2415df2 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:02:56 +0800
Subject: [PATCH 51/77] feat: stylelint

---
 .github/workflows/lint.yml | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0815c8a..22f9060 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,8 +1,12 @@
-name: linting
+name: Create Release
 on: [push, pull_request]
+
 jobs:
   stylelint:
-    stage: linting
-    image: registry.gitlab.com/pipeline-components/stylelint:latest
-    script:
-      - stylelint --color '**/*.less'
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Analyze code statically using stylelint
+        uses: moneyforward/stylelint-action@v0
+        with:
+          options: '["-s", "less"]'

From 2b18f6a21aedfb1f9c260f644dbbd189509ad779 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:05:05 +0800
Subject: [PATCH 52/77] feat: test

---
 .github/workflows/lint.yml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 22f9060..8811754 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,5 +8,3 @@ jobs:
       - uses: actions/checkout@v2
       - name: Analyze code statically using stylelint
         uses: moneyforward/stylelint-action@v0
-        with:
-          options: '["-s", "less"]'

From d1eda27b70c4d6ecf068cd127a53e7dc32fae282 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:13:43 +0800
Subject: [PATCH 53/77] feat: stylelint-problem-matcher

---
 .github/workflows/lint.yml | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 8811754..0d96f20 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -2,9 +2,23 @@ name: Create Release
 on: [push, pull_request]
 
 jobs:
-  stylelint:
+  build:
     runs-on: ubuntu-latest
+
+    strategy:
+      fail-fast: false
+      matrix:
+        node: [16, 18]
+
     steps:
-      - uses: actions/checkout@v2
-      - name: Analyze code statically using stylelint
-        uses: moneyforward/stylelint-action@v0
+      - name: Checkout Repo
+        uses: actions/checkout@v3.2.0
+
+      - name: Install Node
+        uses: actions/setup-node@v3.5.1
+        with:
+          node-version: ${{ matrix.node }}
+
+      - run: yarn ci
+
+      - run: yarn lint

From 3d3e8c2e0d5d1853cce2bac4098b32eb86cbae5c Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:24:41 +0800
Subject: [PATCH 54/77] feat: test

---
 .github/workflows/lint.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0d96f20..c04c8c4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,7 +8,7 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        node: [16, 18]
+        node: [16]
 
     steps:
       - name: Checkout Repo
@@ -19,6 +19,4 @@ jobs:
         with:
           node-version: ${{ matrix.node }}
 
-      - run: yarn ci
-
       - run: yarn lint

From 4fa2b8503d4fe12ac29ff9e20ed64a093780ae07 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:26:42 +0800
Subject: [PATCH 55/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 package.json               | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index c04c8c4..76cd9c6 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -19,4 +19,4 @@ jobs:
         with:
           node-version: ${{ matrix.node }}
 
-      - run: yarn lint
+      - run: yarn ci
diff --git a/package.json b/package.json
index 63b4834..1e67b60 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,8 @@
     "start": "next start",
     "lint": "next lint",
     "dev:analyze": "PORT=4000 ANALYZE=true next dev",
-    "prepare": "husky install"
+    "prepare": "husky install",
+    "ci": "stylelint \"**/*.scss\" --custom-formatter=node_modules/stylelint-actions-formatters"
   },
   "dependencies": {
     "@aelf-react/core": "^0.1.19",

From ccd5d04df3879c96b2f454f7ded02ae0d3f65145 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:29:08 +0800
Subject: [PATCH 56/77] feat: test

---
 .github/workflows/lint.yml | 19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 76cd9c6..d4761b8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -4,19 +4,10 @@ on: [push, pull_request]
 jobs:
   build:
     runs-on: ubuntu-latest
-
-    strategy:
-      fail-fast: false
-      matrix:
-        node: [16]
-
     steps:
-      - name: Checkout Repo
-        uses: actions/checkout@v3.2.0
-
-      - name: Install Node
-        uses: actions/setup-node@v3.5.1
-        with:
-          node-version: ${{ matrix.node }}
-
+      - uses: actions/checkout@v3
+      - uses: actions/setup-node@v2
+          with:
+            node-version: 16
+      - uses: xt0rted/stylelint-problem-matcher@v1
       - run: yarn ci

From fe88bff06886ab172ea7dfc74051758fa8d9fc10 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:31:00 +0800
Subject: [PATCH 57/77] feat: test

---
 .github/workflows/lint.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index d4761b8..3fbce6f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -7,7 +7,7 @@ jobs:
     steps:
       - uses: actions/checkout@v3
       - uses: actions/setup-node@v2
-          with:
-            node-version: 16
+        with:
+          node-version: 16
       - uses: xt0rted/stylelint-problem-matcher@v1
       - run: yarn ci

From d99dd24095eef9155f07ee3e356d8e2698658694 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:37:41 +0800
Subject: [PATCH 58/77] feat: stylelint

---
 .github/workflows/lint.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 3fbce6f..37da86f 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,13 +1,13 @@
-name: Create Release
-on: [push, pull_request]
+name: Test
+on: [push]
 
 jobs:
-  build:
+  linters:
+    name: stylelint
     runs-on: ubuntu-latest
+
     steps:
-      - uses: actions/checkout@v3
-      - uses: actions/setup-node@v2
-        with:
-          node-version: 16
-      - uses: xt0rted/stylelint-problem-matcher@v1
-      - run: yarn ci
+      - uses: actions/checkout@v1
+      - uses: actions-hub/stylelint@master
+        env:
+          PATTERN: '*.less'

From 7208f7495e33825ce6e510de53424ff60cfb69cf Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:40:20 +0800
Subject: [PATCH 59/77] feat: try

---
 .github/workflows/lint.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 37da86f..625b8b2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,5 +9,7 @@ jobs:
     steps:
       - uses: actions/checkout@v1
       - uses: actions-hub/stylelint@master
+        with:
+          node-version: 16
         env:
           PATTERN: '*.less'

From 3468913d3eb00ab4442574200f7a818dba40d085 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:47:42 +0800
Subject: [PATCH 60/77] feat: reviewdog

---
 .github/workflows/lint.yml | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 625b8b2..e9e679c 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,15 +1,14 @@
-name: Test
-on: [push]
-
+name: reviewdog
+on: [push, pull_request]
 jobs:
-  linters:
-    name: stylelint
+  stylelint:
+    name: runner / stylelint
     runs-on: ubuntu-latest
-
     steps:
-      - uses: actions/checkout@v1
-      - uses: actions-hub/stylelint@master
+      - uses: actions/checkout@v3
+      - name: stylelint
+        uses: reviewdog/action-stylelint@v1
         with:
-          node-version: 16
-        env:
-          PATTERN: '*.less'
+          reporter: github-check # Change reporter.
+          stylelint_input: '**/*.less',
+          packages: 'stylelint-config-prettier stylelint-config-standard'

From 40f499900f49c122cae7f4f9a1630ffc11b422b6 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:51:49 +0800
Subject: [PATCH 61/77] feat: reviewdog

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index e9e679c..90f4b69 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -9,6 +9,7 @@ jobs:
       - name: stylelint
         uses: reviewdog/action-stylelint@v1
         with:
+          github_token: ${{ secrets.github_token }}
           reporter: github-check # Change reporter.
           stylelint_input: '**/*.less',
           packages: 'stylelint-config-prettier stylelint-config-standard'

From e8710dc58388d487b0e56acaea0596e6e08d0c0c Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Tue, 27 Dec 2022 17:53:24 +0800
Subject: [PATCH 62/77] feat: reviewdog

---
 .github/workflows/lint.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 90f4b69..05d3291 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -10,6 +10,6 @@ jobs:
         uses: reviewdog/action-stylelint@v1
         with:
           github_token: ${{ secrets.github_token }}
-          reporter: github-check # Change reporter.
-          stylelint_input: '**/*.less',
+          stylelint_input: '**/*.less'
+          stylelint_config: '.stylelintrc.json'
           packages: 'stylelint-config-prettier stylelint-config-standard'

From 2fd96362565900bd90417089f819397dfdfb6269 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:04:51 +0800
Subject: [PATCH 63/77] feat: reviewdog

---
 .github/workflows/lint.yml | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 05d3291..0a9e7e2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,15 +1,16 @@
 name: reviewdog
-on: [push, pull_request]
+on: [pull_request, push]
 jobs:
-  stylelint:
-    name: runner / stylelint
+  eslint:
+    name: runner / eslint
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
-      - name: stylelint
-        uses: reviewdog/action-stylelint@v1
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@v2
         with:
-          github_token: ${{ secrets.github_token }}
-          stylelint_input: '**/*.less'
-          stylelint_config: '.stylelintrc.json'
-          packages: 'stylelint-config-prettier stylelint-config-standard'
+          node-version: '14'
+      - run: yarn install
+      - uses: reviewdog/action-eslint@v1
+        with:
+          reporter: github-check
+          fail_on_error: true

From 60513f33539103c127a7f6817c0be74074bfcee0 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:16:31 +0800
Subject: [PATCH 64/77] feat: correct

---
 babel.config.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/babel.config.js b/babel.config.js
index e923e6f..ce47634 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,3 +1,4 @@
+// eslint-disable-next-line @typescript-eslint/no-var-requires
 const nextModeBabelPlugin = require('next-babel-conditional-ssg-ssr');
 
 const presets = ['next/babel'];

From c45e78d187812c2377af17ffb789cb9402642ce4 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:17:29 +0800
Subject: [PATCH 65/77] feat: add error

---
 babel.config.js | 1 -
 1 file changed, 1 deletion(-)

diff --git a/babel.config.js b/babel.config.js
index ce47634..e923e6f 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,4 +1,3 @@
-// eslint-disable-next-line @typescript-eslint/no-var-requires
 const nextModeBabelPlugin = require('next-babel-conditional-ssg-ssr');
 
 const presets = ['next/babel'];

From 53df5a7aad3c542998c21edc732194f6291fa119 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:24:38 +0800
Subject: [PATCH 66/77] feat: change level

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0a9e7e2..6261eb1 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -12,5 +12,6 @@ jobs:
       - run: yarn install
       - uses: reviewdog/action-eslint@v1
         with:
+          level: error
           reporter: github-check
           fail_on_error: true

From ce341e0bb87ce06337ca8c349083f5ce9ebbcaf6 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:35:31 +0800
Subject: [PATCH 67/77] feat: add eslint_flags

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 6261eb1..9bdb0f4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -14,4 +14,5 @@ jobs:
         with:
           level: error
           reporter: github-check
+          eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
           fail_on_error: true

From c4873fb03a6c3735e1bc91456d042da55012aec1 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:42:04 +0800
Subject: [PATCH 68/77] feat: change yml

---
 .github/workflows/lint.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 0a9e7e2..9bdb0f4 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -12,5 +12,7 @@ jobs:
       - run: yarn install
       - uses: reviewdog/action-eslint@v1
         with:
+          level: error
           reporter: github-check
+          eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
           fail_on_error: true

From 910026959eaf0dc1515491c0af13f3df33393cd5 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 10:55:29 +0800
Subject: [PATCH 69/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 .gitignore                 | 1 -
 package.json               | 3 +--
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 9bdb0f4..3b70c88 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -8,7 +8,7 @@ jobs:
       - uses: actions/checkout@v2
       - uses: actions/setup-node@v2
         with:
-          node-version: '14'
+          node-version: '16'
       - run: yarn install
       - uses: reviewdog/action-eslint@v1
         with:
diff --git a/.gitignore b/.gitignore
index d6fb1ad..38fd1b4 100755
--- a/.gitignore
+++ b/.gitignore
@@ -40,4 +40,3 @@ yarn-error.log*
 
 # cache
 .eslintcache
-megalinter-reports/
diff --git a/package.json b/package.json
index 1e67b60..63b4834 100644
--- a/package.json
+++ b/package.json
@@ -9,8 +9,7 @@
     "start": "next start",
     "lint": "next lint",
     "dev:analyze": "PORT=4000 ANALYZE=true next dev",
-    "prepare": "husky install",
-    "ci": "stylelint \"**/*.scss\" --custom-formatter=node_modules/stylelint-actions-formatters"
+    "prepare": "husky install"
   },
   "dependencies": {
     "@aelf-react/core": "^0.1.19",

From 39896a78174e79311e03c94c344596aa783a08fa Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:08:52 +0800
Subject: [PATCH 70/77] feat: add error

---
 .github/workflows/lint.yml | 2 +-
 babel.config.js            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 3b70c88..40d6bab 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,5 +1,5 @@
 name: reviewdog
-on: [pull_request, push]
+on: [pull_request]
 jobs:
   eslint:
     name: runner / eslint
diff --git a/babel.config.js b/babel.config.js
index e923e6f..0e7df63 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,3 +1,4 @@
+// todo: delete
 const nextModeBabelPlugin = require('next-babel-conditional-ssg-ssr');
 
 const presets = ['next/babel'];

From 8f5bd962dec2523bc9fc58f2a03b6f7df5767486 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:13:12 +0800
Subject: [PATCH 71/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 40d6bab..694eab2 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,6 +13,6 @@ jobs:
       - uses: reviewdog/action-eslint@v1
         with:
           level: error
-          reporter: github-check
+          reporter: github-pr-review
           eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
           fail_on_error: true

From 4ab7033f4b9d9f8192cb742ef00d11cab9d7cc82 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:17:50 +0800
Subject: [PATCH 72/77] feat: test

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 694eab2..93d403a 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -13,6 +13,6 @@ jobs:
       - uses: reviewdog/action-eslint@v1
         with:
           level: error
-          reporter: github-pr-review
+          reporter: github-pr-check
           eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
           fail_on_error: true

From 665a0fcc465064fb4ba4f41aaf54477eac53af1f Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:21:04 +0800
Subject: [PATCH 73/77] feat: test

---
 .github/workflows/lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 93d403a..11a000b 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -15,4 +15,5 @@ jobs:
           level: error
           reporter: github-pr-check
           eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
+          diff_context: diff_context
           fail_on_error: true

From 108ad41843978f58786a28eb4db7af4c8bd0ae98 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:23:30 +0800
Subject: [PATCH 74/77] feat: add error

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 11a000b..5105ba0 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -15,5 +15,5 @@ jobs:
           level: error
           reporter: github-pr-check
           eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
-          diff_context: diff_context
+          filter_mode: diff_context
           fail_on_error: true

From b11d5557ca42ea1c94cc1a44f3d3aeb347de7566 Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:28:22 +0800
Subject: [PATCH 75/77] feat: add error

---
 .github/workflows/lint.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 5105ba0..933900e 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,5 +1,5 @@
 name: reviewdog
-on: [pull_request]
+on: [pull_request, push]
 jobs:
   eslint:
     name: runner / eslint

From 3ae8c4ec03e7da719cf4092fc722e9556ad3cd7f Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:39:38 +0800
Subject: [PATCH 76/77] feat: add error

---
 .github/workflows/lint.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 933900e..bbfa227 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -1,5 +1,11 @@
 name: reviewdog
-on: [pull_request, push]
+on:
+  push:
+    branches-ignore: [master, main]
+    # Remove the line above to run when pushing to master
+  pull_request:
+    branches: [master, main]
+
 jobs:
   eslint:
     name: runner / eslint

From e73450965bd477df7e00743ce7347c909bf3d5ea Mon Sep 17 00:00:00 2001
From: AbigailDeng <Abigail.deng@ienyan.com>
Date: Wed, 28 Dec 2022 11:49:35 +0800
Subject: [PATCH 77/77] feat: add error

---
 .github/workflows/{lint.yml => pr.yml} |  3 ---
 .github/workflows/push.yml             | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 3 deletions(-)
 rename .github/workflows/{lint.yml => pr.yml} (83%)
 create mode 100644 .github/workflows/push.yml

diff --git a/.github/workflows/lint.yml b/.github/workflows/pr.yml
similarity index 83%
rename from .github/workflows/lint.yml
rename to .github/workflows/pr.yml
index bbfa227..24d8c6c 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/pr.yml
@@ -1,8 +1,5 @@
 name: reviewdog
 on:
-  push:
-    branches-ignore: [master, main]
-    # Remove the line above to run when pushing to master
   pull_request:
     branches: [master, main]
 
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
new file mode 100644
index 0000000..e253596
--- /dev/null
+++ b/.github/workflows/push.yml
@@ -0,0 +1,20 @@
+name: reviewdog
+on:
+  push:
+    branches-ignore: [master, main]
+jobs:
+  eslint:
+    name: runner / eslint
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions/setup-node@v2
+        with:
+          node-version: '16'
+      - run: yarn install
+      - uses: reviewdog/action-eslint@v1
+        with:
+          level: error
+          reporter: github-check
+          eslint_flags: '--quiet --cache --ext .js,.jsx,.ts,.tsx .'
+          fail_on_error: true