Lint markdown files (#105)

This commit is contained in:
Piotr Rogowski 2023-06-27 12:52:45 +02:00 committed by GitHub
parent 33f3eba0e6
commit ea5f93d3e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 65 additions and 33 deletions

View File

@ -1,24 +0,0 @@
name: Lint
concurrency:
group: ${{ github.ref }}-lint-js
cancel-in-progress: true
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint

48
.github/workflows/lint.yml vendored Normal file
View File

@ -0,0 +1,48 @@
name: Lint
concurrency:
group: ${{ github.ref }}-lint
cancel-in-progress: true
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
typescript:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:ts
links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:links
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm run lint:md

7
.markdownlint.jsonc Normal file
View File

@ -0,0 +1,7 @@
{
"default": true,
"line-length": false,
"no-trailing-spaces": false,
"single-trailing-newline": false,
"heading-start-left": false
}

View File

@ -1,2 +1 @@
# MAP Sampling Angle

View File

@ -1,2 +1 @@
# STM32 Compatibility with FOME

View File

@ -11,6 +11,7 @@ u(t) = K_\text{p} e(t) + K_\text{i} \int_0^t e(\tau) \,\mathrm{d}\tau + K_\text{
$$
## More Details
Wikipedia's PID Controller page's [operational description](https://en.wikipedia.org/wiki/PID_controller#Fundamental_operation).
More details about ETB PID control are found in the Advanced Features section's page [ETB PID and Autotune](/Advanced-Features/ETB/ETB-PID.md).

View File

@ -8,7 +8,7 @@ Currently there are a few sweet options for hardware, all have the same brain, b
## BRAIN
### Polygonus :brain:
### Polygonus 🧠
This is where the real action happens. Designed to be consistent across different base board applications to simplify design, ensure repeatability, and reduce cost. The Polygonus (said Puh-LIG-on-us) Brain is on all FOME ECUs.

View File

@ -1,2 +1 @@
# Coolant Based RPM limit

View File

@ -50,9 +50,11 @@ Once that is done you can push your changes and they will get automatically upda
- More stuff!
- Stuff that looks like stuff but isn't!
##### Subtitle
### Subtitle 1
#### No not that kind of subtitle
#### Subtitle 2
##### Subtitle 3
### This kind of subtitle

View File

@ -6,9 +6,10 @@
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"lint": "npm run lint:ts && npm run lint:links",
"lint": "npm run lint:ts && npm run lint:links && npm run lint:md",
"lint:ts": "tsc",
"lint:links": "node scripts/linkValidator.js",
"lint:md": "npx markdownlint-cli docs",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",