Update actions (#59)

* Update dependabot.yml

* Delete .github/linters/.yaml-lint.yml

* Delete .github/linters/.markdown-lint.yml

* Update .eslintrc.yml

* Update linter.yml

* Revert "Update .eslintrc.yml"

This reverts commit 526ea392a0.

* add back npm

* update linter
This commit is contained in:
Rimo
2024-03-14 21:51:51 +08:00
committed by GitHub
parent 85020be43f
commit 207f87da14
5 changed files with 2 additions and 72 deletions

View File

@@ -3,7 +3,7 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
interval: monthly
groups:
actions-minor:
update-types:
@@ -13,7 +13,7 @@ updates:
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
interval: monthly
groups:
npm-development:
dependency-type: development

View File

@@ -1,7 +0,0 @@
# Unordered list style
MD004:
style: dash
# Ordered list item prefix
MD029:
style: one

View File

@@ -1,10 +0,0 @@
rules:
document-end: disable
document-start:
level: warning
present: false
line-length:
level: warning
max: 80
allow-non-breakable-words: true
allow-non-breakable-inline-mappings: true

View File

@@ -1,48 +0,0 @@
name: CodeQL
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '31 7 * * 3'
permissions:
actions: read
checks: write
contents: read
security-events: write
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language:
- TypeScript
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Initialize CodeQL
id: initialize
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
source-root: src
- name: Autobuild
id: autobuild
uses: github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
id: analyze
uses: github/codeql-action/analyze@v3

View File

@@ -38,10 +38,5 @@ jobs:
id: super-linter
uses: super-linter/super-linter/slim@v6
env:
DEFAULT_BRANCH: main
FILTER_REGEX_EXCLUDE: dist/**/*
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TYPESCRIPT_DEFAULT_STYLE: prettier
VALIDATE_ALL_CODEBASE: true
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSCPD: false