Skip to content

👷 Add markdownlint pipeline #125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.ts @coderabbitai/typescript-reviewers
24 changes: 24 additions & 0 deletions .github/workflows/node.js.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Node.js CI

on:
push:
branches: main
pull_request:
branches: main

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version: latest
cache: pnpm
- run: pnpm install --frozen-lockfile --strict-peer-dependencies
- run: pnpm run build
- run: pnpm run lint
1 change: 1 addition & 0 deletions .markdownlint-cli2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gitignore: true
9 changes: 0 additions & 9 deletions .markdownlint.json

This file was deleted.

6 changes: 6 additions & 0 deletions .markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
default: true
line-length: false
link-fragments: false
no-duplicate-heading:
siblings_only: true
no-inline-html: false
1 change: 0 additions & 1 deletion .markdownlintrc

This file was deleted.

1 change: 1 addition & 0 deletions CHANGELOG.md
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "coderabbit-docs",
"name": "@coderabbitai/coderabbit-docs",
"version": "0.0.0",
"private": true,
"scripts": {
Expand All @@ -10,9 +10,11 @@
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
"serve": "docusaurus serve",
"lint": "markdownlint-cli2 \"**/*.md\"",
"lint:fix": "markdownlint-cli2 \"**/*.md\" --fix",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
"typecheck": "tsc"
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@docusaurus/core": "^3.1.1",
Expand All @@ -32,14 +34,19 @@
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.1.1",
"@docusaurus/theme-classic": "^3.5.2",
"@docusaurus/tsconfig": "^3.1.1",
"@docusaurus/types": "^3.1.1",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.8.4",
"@types/react": "^18.3.4",
"ace-builds": "^1.36.1",
"ajv": "^8.17.1",
"js-yaml": "^4.1.0",
"markdownlint-cli2": "^0.14.0",
"prettier": "^3.3.3",
"react": "^18.3.1",
"sitemap": "^8.0.0",
"typescript": "~5.2.2"
},
"browserslist": {
Expand Down
Loading
Loading