Skip to content

Commit defc618

Browse files
committed
update again, fix new markdownlint issues, add lint-md-fix
1 parent 049215e commit defc618

File tree

4 files changed

+159
-310
lines changed

4 files changed

+159
-310
lines changed

CONTRIBUTING.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,19 +166,19 @@ Here's how to run the test suite:
166166

167167
- code lint
168168

169-
| | |
170-
| :-------------------- | :---------------------------------------------------------------- |
169+
| | |
170+
| :-------------------- | :--------------------------------------------------------------------------- |
171171
|``make lint`` | lint everything (not needed if you only change the front- **or** backend) |
172-
|``make lint-frontend`` | lint frontend files |
173-
|``make lint-backend`` | lint backend files |
172+
|``make lint-frontend`` | lint frontend files |
173+
|``make lint-backend`` | lint backend files |
174174

175175
- run tests (we suggest running them on Linux)
176176

177-
| Command | Action | |
178-
| :------------------------------------- | :----------------------------------------------- | ------------ |
179-
|``make test[\#SpecificTestName]`` | run unit test(s) | |
180-
|``make test-sqlite[\#SpecificTestName]``| run [integration](tests/integration) test(s) for SQLite |[More details](tests/integration/README.md) |
181-
|``make test-e2e-sqlite[\#SpecificTestName]``| run [end-to-end](tests/e2e) test(s) for SQLite |[More details](tests/e2e/README.md) |
177+
| Command | Action | |
178+
| :------------------------------------------ | :------------------------------------------------------- | ------------------------------------------- |
179+
|``make test[\#SpecificTestName]`` | run unit test(s) | |
180+
|``make test-sqlite[\#SpecificTestName]`` | run [integration](tests/integration) test(s) for SQLite | [More details](tests/integration/README.md) |
181+
|``make test-e2e-sqlite[\#SpecificTestName]`` | run [end-to-end](tests/e2e) test(s) for SQLite | [More details](tests/e2e/README.md) |
182182

183183
## Translation
184184

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ lint-swagger: node_modules ## lint swagger files
364364
lint-md: node_modules ## lint markdown files
365365
$(NODE_VARS) pnpm exec markdownlint *.md
366366

367+
.PHONY: lint-md-fix
368+
lint-md-fix: node_modules ## lint markdown files and fix issues
369+
$(NODE_VARS) pnpm exec markdownlint --fix *.md
370+
367371
.PHONY: lint-spell
368372
lint-spell: ## lint spelling
369373
@go run $(MISSPELL_PACKAGE) -dict assets/misspellings.csv -error $(SPELLCHECK_FILES)

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"devDependencies": {
6868
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
6969
"@playwright/test": "1.56.1",
70-
"@stylistic/eslint-plugin": "5.6.0",
70+
"@stylistic/eslint-plugin": "5.6.1",
7171
"@stylistic/stylelint-plugin": "4.0.0",
7272
"@types/codemirror": "5.60.17",
7373
"@types/dropzone": "5.7.9",
@@ -80,7 +80,7 @@
8080
"@types/tinycolor2": "1.4.6",
8181
"@types/toastify-js": "1.12.4",
8282
"@typescript-eslint/parser": "8.47.0",
83-
"@vitejs/plugin-vue": "6.0.1",
83+
"@vitejs/plugin-vue": "6.0.2",
8484
"@vitest/eslint-plugin": "1.4.3",
8585
"eslint": "9.39.1",
8686
"eslint-import-resolver-typescript": "4.4.4",
@@ -97,7 +97,7 @@
9797
"eslint-plugin-wc": "3.0.2",
9898
"globals": "16.5.0",
9999
"happy-dom": "20.0.10",
100-
"markdownlint-cli": "0.45.0",
100+
"markdownlint-cli": "0.46.0",
101101
"material-icon-theme": "5.28.0",
102102
"nolyfill": "1.0.44",
103103
"postcss-html": "1.8.0",

0 commit comments

Comments
 (0)