specs: fix spec markdown linting (#3061)
* style(specs): fix toc/lint in specs, update CI
style(specs): lint/toc/link fixes
style(readme): fix bedrock contracts link
chore(specs): specs lint scripts
chore(specs): update CI jobs to use new lint scripts and unsilence links linter
style(specs): fix toc, fix quotes in markdown lint script
* yarn: update linting dependencies
* specs: add minimal batch submitter spec, fix broken links
Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Showing
... | @@ -46,6 +46,9 @@ | ... | @@ -46,6 +46,9 @@ |
"lint:ts:check": "yarn lerna run lint:ts:check", | "lint:ts:check": "yarn lerna run lint:ts:check", | ||
"lint:check": "yarn lerna run lint:check", | "lint:check": "yarn lerna run lint:check", | ||
"lint:fix": "yarn lerna run lint:fix --parallel", | "lint:fix": "yarn lerna run lint:fix --parallel", | ||
"lint:specs:fix": "yarn run markdownlint-cli2-fix \"./specs/**/*.md\"", | |||
"lint:specs:check": "yarn run markdownlint-cli2 \"./specs/**/*.md\"", | |||
"lint:specs:toc": "yarn run doctoc '--title=**Table of Contents**' ./specs", | |||
"postinstall": "patch-package", | "postinstall": "patch-package", | ||
"ready": "yarn lint && yarn test", | "ready": "yarn lint && yarn test", | ||
"prepare": "husky install", | "prepare": "husky install", | ||
... | @@ -63,7 +66,7 @@ | ... | @@ -63,7 +66,7 @@ |
"chai": "^4.2.0", | "chai": "^4.2.0", | ||
"copyfiles": "^2.3.0", | "copyfiles": "^2.3.0", | ||
"depcheck": "^1.4.3", | "depcheck": "^1.4.3", | ||
"doctoc": "2.1.0", | "doctoc": "^2.2.0", | ||
"eslint": "^8.16.0", | "eslint": "^8.16.0", | ||
"eslint-config-prettier": "^8.3.0", | "eslint-config-prettier": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | "eslint-config-standard": "^16.0.3", | ||
... | @@ -79,7 +82,7 @@ | ... | @@ -79,7 +82,7 @@ |
"lerna": "^4.0.0", | "lerna": "^4.0.0", | ||
"lint-staged": "11.0.0", | "lint-staged": "11.0.0", | ||
"markdownlint": "^0.24.0", | "markdownlint": "^0.24.0", | ||
"markdownlint-cli2": "^0.3.2", | "markdownlint-cli2": "0.4.0", | ||
"mkdirp": "^1.0.4", | "mkdirp": "^1.0.4", | ||
"mocha": "^8.4.0", | "mocha": "^8.4.0", | ||
"nyc": "^15.1.0", | "nyc": "^15.1.0", | ||
... | ... |
specs/batcher.md
0 → 100644
Please register or sign in to comment