mirror of
https://github.com/ivuorinen/base-configs-markdownlint.git
synced 2026-03-07 15:56:58 +00:00
Compare commits
69 Commits
v1.0.1
...
chore/migr
| Author | SHA1 | Date | |
|---|---|---|---|
| c3c1b0175c | |||
| 497729f74d | |||
| 2ba2d02d47 | |||
|
|
b9fc8aa69f | ||
|
|
162fa036e6 | ||
|
|
54611c67f8 | ||
|
|
53a6f6e776 | ||
|
|
bcaadf87f1 | ||
|
|
9e63d42243 | ||
|
|
66a3b96111 | ||
|
|
2801af0494 | ||
|
|
af10a14508 | ||
|
|
0c9f64d633 | ||
|
|
715fd1a65a | ||
|
|
72b129dcf7 | ||
|
|
1597cf1d4d | ||
|
|
7a94cc8183 | ||
|
|
d05ff80b69 | ||
|
|
1c894fd354 | ||
|
|
2269998dbb | ||
|
|
50fcd1fa02 | ||
|
|
202fc6c1ea | ||
|
|
b920a75e24 | ||
|
|
754c285835 | ||
| 9e10b3e2b2 | |||
|
|
bed0d1ea5e | ||
| 130fdecf64 | |||
|
|
fb1bd06454 | ||
| 87093d0db9 | |||
|
|
e81346d10c | ||
| 569d5cfecd | |||
| e05ed89b29 | |||
|
|
a34928c2ae | ||
|
|
9d33cc5136 | ||
|
|
a3a35e253a | ||
|
|
16d090130b | ||
|
|
d93c39bff7 | ||
|
|
b59645f22b | ||
|
|
f6efbbe6d7 | ||
|
|
bc976bb83b | ||
|
|
b3229c8f21 | ||
|
|
6463e489bf | ||
|
|
6e14ed451f | ||
|
|
fcc448cc59 | ||
|
|
8b5f94e355 | ||
|
|
349dcf78e3 | ||
|
|
a7c64f037a | ||
|
|
022350a107 | ||
|
|
7f6cf3f1ed | ||
|
|
d2d4890ae8 | ||
|
|
3398b5af39 | ||
|
|
63a5a9fff6 | ||
|
|
bdd65a505c | ||
|
|
4309eccd50 | ||
|
|
d4b779a47f | ||
|
|
473ed6467b | ||
|
|
e4db3e0b4d | ||
|
|
573c52ade4 | ||
|
|
cbf8a2e79c | ||
|
|
5d59dcb41d | ||
|
|
7367f36e39 | ||
|
|
35ab0c94a3 | ||
|
|
25f0a28ca3 | ||
|
|
f10cd11482 | ||
|
|
f4153aa23b | ||
|
|
87531bda9e | ||
|
|
962082e838 | ||
|
|
3df1af2a5a | ||
|
|
a024b3b631 |
95
.github/workflows/codeql.yml
vendored
95
.github/workflows/codeql.yml
vendored
@@ -1,17 +1,6 @@
|
||||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||
# For most projects, this workflow file will not need changing; you simply need
|
||||
# to commit it to your repository.
|
||||
#
|
||||
# You may wish to alter this file to override the set of languages analyzed,
|
||||
# or to provide custom queries or build logic.
|
||||
#
|
||||
# ******** NOTE ********
|
||||
# We have attempted to detect the languages in your repository. Please check
|
||||
# the `language` matrix defined below to confirm you have the correct set of
|
||||
# supported CodeQL languages.
|
||||
#
|
||||
name: "CodeQL Advanced"
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -20,84 +9,26 @@ on:
|
||||
branches: ["main"]
|
||||
schedule:
|
||||
- cron: "22 8 * * 0"
|
||||
merge_group:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze (${{ matrix.language }})
|
||||
# Runner size impacts CodeQL analysis time. To learn more, please see:
|
||||
# - https://gh.io/recommended-hardware-resources-for-running-codeql
|
||||
# - https://gh.io/supported-runners-and-hardware-resources
|
||||
# - https://gh.io/using-larger-runners (GitHub.com only)
|
||||
# Consider using larger runners or machines with greater resources for possible analysis time improvements.
|
||||
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# required for all workflows
|
||||
security-events: write
|
||||
|
||||
# required to fetch internal or private CodeQL packs
|
||||
packages: read
|
||||
|
||||
# only required for workflows in private repositories
|
||||
actions: read
|
||||
contents: read
|
||||
|
||||
packages: read
|
||||
security-events: write
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- language: actions
|
||||
build-mode: none
|
||||
- language: javascript-typescript
|
||||
build-mode: none
|
||||
# CodeQL supports the following values keywords for 'language':
|
||||
# 'actions', 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
|
||||
# Use `c-cpp` to analyze code written in C, C++ or both
|
||||
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
|
||||
# Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
|
||||
# To learn more about changing the languages that are analyzed or customizing the build mode for your analysis,
|
||||
# see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning.
|
||||
# If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how
|
||||
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
||||
language: ["actions", "javascript"]
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
|
||||
# Add any setup steps before running the `github/codeql-action/init` action.
|
||||
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
||||
# or others). This is typically only required for manual builds.
|
||||
# - name: Setup runtime (example)
|
||||
# uses: actions/setup-example@v1
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
|
||||
- name: CodeQL Analysis
|
||||
uses: ivuorinen/actions/codeql-analysis@97105fc2a909360678588cb50caf0be5144be486 # v2026.03.06
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
build-mode: ${{ matrix.build-mode }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
# By default, queries listed here will override any specified in a config file.
|
||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||
|
||||
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||
# queries: security-extended,security-and-quality
|
||||
|
||||
# If the analyze step fails for one of the languages you are analyzing with
|
||||
# "We were unable to automatically build your code", modify the matrix above
|
||||
# to set the build mode to "manual" for that language. Then modify this step
|
||||
# to build your code.
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||
- if: matrix.build-mode == 'manual'
|
||||
shell: bash
|
||||
run: |
|
||||
echo 'If you are using a "manual" build mode for one or more of the' \
|
||||
'languages you are analyzing, replace this with the commands to build' \
|
||||
'your code, for example:'
|
||||
echo ' make bootstrap'
|
||||
echo ' make release'
|
||||
exit 1
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
language: ${{ matrix.language }}
|
||||
queries: security-and-quality
|
||||
|
||||
8
.github/workflows/pr-lint.yml
vendored
8
.github/workflows/pr-lint.yml
vendored
@@ -10,7 +10,7 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: read-all
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
@@ -39,7 +39,7 @@ jobs:
|
||||
run: npm install -g corepack --force && corepack enable
|
||||
|
||||
- name: Yarn Lock Changes
|
||||
uses: Simek/yarn-lock-changes@61d1a0595070b79c1abdc8e1e5a5f5d98b18918c # v0.12.2
|
||||
uses: Simek/yarn-lock-changes@59f47ee499424d2c2437c5aebf863b5c6d50a5bc # v0.14.1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
env:
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
|
||||
- name: Run PR Lint
|
||||
# https://github.com/ivuorinen/actions
|
||||
uses: ivuorinen/actions/pr-lint@a52399cf74eac2b0963591ab2c6c8eb0f7f50b2d # v2025.12.05
|
||||
uses: ivuorinen/actions/pr-lint@6e8f2aae9d0846d901d9eba15b8e94a2900573dc # v2026.03.02
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -6,7 +6,7 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions: read-all
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
@@ -26,7 +26,7 @@ jobs:
|
||||
steps:
|
||||
- name: Run PR Lint
|
||||
# https://github.com/ivuorinen/actions
|
||||
uses: ivuorinen/actions/pr-lint@a52399cf74eac2b0963591ab2c6c8eb0f7f50b2d # v2025.12.05
|
||||
uses: ivuorinen/actions/pr-lint@6e8f2aae9d0846d901d9eba15b8e94a2900573dc # v2026.03.02
|
||||
|
||||
publish:
|
||||
name: Publish
|
||||
@@ -41,12 +41,12 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Setup Node.js Environment
|
||||
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
|
||||
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
|
||||
with:
|
||||
always-auth: true
|
||||
node-version-file: ".nvmrc"
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
run: npm install -g corepack --force && corepack enable
|
||||
|
||||
- name: Cache Node Modules
|
||||
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
|
||||
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
|
||||
id: cache
|
||||
with:
|
||||
path: node_modules
|
||||
@@ -72,5 +72,5 @@ jobs:
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@b12c8f6015dc215fe37bc154d4ad456dd3833c90 # v6.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
7
.github/workflows/stale.yml
vendored
7
.github/workflows/stale.yml
vendored
@@ -8,10 +8,7 @@ on:
|
||||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
statuses: read
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
@@ -23,4 +20,4 @@ jobs:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: ivuorinen/actions/stale@a52399cf74eac2b0963591ab2c6c8eb0f7f50b2d # v2025.12.05
|
||||
- uses: ivuorinen/actions/stale@6e8f2aae9d0846d901d9eba15b8e94a2900573dc # v2026.03.02
|
||||
|
||||
6
.github/workflows/sync-labels.yml
vendored
6
.github/workflows/sync-labels.yml
vendored
@@ -20,7 +20,7 @@ concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: read-all
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
@@ -34,8 +34,8 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: ⤵️ Checkout Repository
|
||||
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: ⤵️ Sync Latest Labels Definitions
|
||||
uses: ivuorinen/actions/sync-labels@a52399cf74eac2b0963591ab2c6c8eb0f7f50b2d # v2025.12.05
|
||||
uses: ivuorinen/actions/sync-labels@6e8f2aae9d0846d901d9eba15b8e94a2900573dc # v2026.03.02
|
||||
|
||||
@@ -20,18 +20,18 @@ repos:
|
||||
args: [--autofix, --no-sort-keys]
|
||||
|
||||
- repo: https://github.com/igorshubovych/markdownlint-cli
|
||||
rev: v0.47.0
|
||||
rev: v0.48.0
|
||||
hooks:
|
||||
- id: markdownlint
|
||||
args: [-c, .markdownlint.json, --fix]
|
||||
|
||||
- repo: https://github.com/adrienverge/yamllint
|
||||
rev: v1.37.1
|
||||
rev: v1.38.0
|
||||
hooks:
|
||||
- id: yamllint
|
||||
|
||||
- repo: https://github.com/rhysd/actionlint
|
||||
rev: v1.7.9
|
||||
rev: v1.7.11
|
||||
hooks:
|
||||
- id: actionlint
|
||||
args: ["-shellcheck="]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{
|
||||
"extends": [
|
||||
"@ivuorinen/semantic-release-config"
|
||||
]
|
||||
],
|
||||
"branches": ["main"]
|
||||
}
|
||||
|
||||
46
CHANGELOG.md
46
CHANGELOG.md
@@ -3,6 +3,52 @@
|
||||
All notable changes to this project will be documented in this file. See
|
||||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## [1.0.14](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.13...v1.0.14) (2026-03-07)
|
||||
|
||||
## [1.0.13](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.12...v1.0.13) (2026-03-05)
|
||||
|
||||
## [1.0.12](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.11...v1.0.12) (2026-03-05)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** update markdownlint-cli (0.47.0 → 0.48.0) ([#133](https://github.com/ivuorinen/base-configs-markdownlint/issues/133)) ([9e63d42](https://github.com/ivuorinen/base-configs-markdownlint/commit/9e63d4224325f91d418d848139160dd0cf24e41b))
|
||||
|
||||
## [1.0.11](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.10...v1.0.11) (2026-03-05)
|
||||
|
||||
## [1.0.10](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.9...v1.0.10) (2026-03-05)
|
||||
|
||||
## [1.0.9](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.8...v1.0.9) (2026-03-03)
|
||||
|
||||
## [1.0.8](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.7...v1.0.8) (2026-03-02)
|
||||
|
||||
## [1.0.7](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.6...v1.0.7) (2026-03-02)
|
||||
|
||||
## [1.0.6](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.5...v1.0.6) (2026-03-01)
|
||||
|
||||
## [1.0.5](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.4...v1.0.5) (2026-02-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **ci:** use GITHUB_TOKEN for semantic-release and harden workflow permissions ([9e10b3e](https://github.com/ivuorinen/base-configs-markdownlint/commit/9e10b3e2b29aeab91e801302ec4d210de9c72cc3))
|
||||
|
||||
## [1.0.4](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.3...v1.0.4) (2026-02-27)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** add minimatch to fix vulnerable package versions ([130fdec](https://github.com/ivuorinen/base-configs-markdownlint/commit/130fdecf6428961819065fc635623db9b718bc22))
|
||||
|
||||
## [1.0.3](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.2...v1.0.3) (2026-02-27)
|
||||
|
||||
## [1.0.2](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.1...v1.0.2) (2026-02-26)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* **deps:** resolve vulnerable minimatch 10.1.3 via yarn resolutions ([#124](https://github.com/ivuorinen/base-configs-markdownlint/issues/124)) ([569d5cf](https://github.com/ivuorinen/base-configs-markdownlint/commit/569d5cfecdd9b2482ae185aa26e2ad420654478d))
|
||||
|
||||
## [1.0.1](https://github.com/ivuorinen/base-configs-markdownlint/compare/v1.0.0...v1.0.1) (2025-12-15)
|
||||
|
||||
|
||||
|
||||
12
package.json
12
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@ivuorinen/markdownlint-config",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.14",
|
||||
"type": "module",
|
||||
"description": "ivuorinen's shareable configuration for markdownlint.",
|
||||
"author": {
|
||||
@@ -37,11 +37,15 @@
|
||||
"postinstall": "node scripts/postinstall.cjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ivuorinen/config-checker": "^2.1.1",
|
||||
"markdownlint-cli": "^0.47.0"
|
||||
"@ivuorinen/config-checker": "^2.1.2",
|
||||
"markdownlint-cli": "^0.48.0",
|
||||
"minimatch": "^10.2.4"
|
||||
},
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"devDependencies": {
|
||||
"@ivuorinen/semantic-release-config": "^1.0.0"
|
||||
"@ivuorinen/semantic-release-config": "^1.1.3"
|
||||
},
|
||||
"resolutions": {
|
||||
"minimatch": ">=10.2.3"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user