mirror of
https://github.com/theoludwig/markdownlint-rule-relative-links.git
synced 2024-12-08 00:45:32 +01:00
Compare commits
2 Commits
dd70d6da3a
...
b4a04d2e8e
Author | SHA1 | Date | |
---|---|---|---|
b4a04d2e8e | |||
54e45d3e5d |
@ -1,4 +0,0 @@
|
|||||||
{
|
|
||||||
"extends": ["conventions"],
|
|
||||||
"plugins": ["promise", "unicorn"]
|
|
||||||
}
|
|
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: "Setup Node.js"
|
- name: "Setup Node.js"
|
||||||
uses: "actions/setup-node@v4.0.3"
|
uses: "actions/setup-node@v4.0.3"
|
||||||
with:
|
with:
|
||||||
node-version: "22.x"
|
node-version: "lts/*"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
- run: "node --run lint:markdown"
|
- run: "node --run lint:markdown"
|
||||||
- run: "node --run lint:eslint"
|
- run: "node --run lint:eslint"
|
||||||
- run: "node --run lint:prettier"
|
- run: "node --run lint:prettier"
|
||||||
- run: "node --run lint:javascript"
|
- run: "node --run lint:typescript"
|
||||||
|
|
||||||
commitlint:
|
commitlint:
|
||||||
runs-on: "ubuntu-latest"
|
runs-on: "ubuntu-latest"
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: "Setup Node.js"
|
- name: "Setup Node.js"
|
||||||
uses: "actions/setup-node@v4.0.3"
|
uses: "actions/setup-node@v4.0.3"
|
||||||
with:
|
with:
|
||||||
node-version: "22.x"
|
node-version: "lts/*"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
|
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -15,7 +15,7 @@ jobs:
|
|||||||
- name: "Setup Node.js"
|
- name: "Setup Node.js"
|
||||||
uses: "actions/setup-node@v4.0.3"
|
uses: "actions/setup-node@v4.0.3"
|
||||||
with:
|
with:
|
||||||
node-version: "22.x"
|
node-version: "lts/*"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
|
||||||
- name: "Install dependencies"
|
- name: "Install dependencies"
|
||||||
|
13
eslint.config.mjs
Normal file
13
eslint.config.mjs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
import typescriptESLint from "typescript-eslint"
|
||||||
|
import configConventions from "eslint-config-conventions"
|
||||||
|
|
||||||
|
export default typescriptESLint.config(...configConventions, {
|
||||||
|
files: ["**/*.ts", "**/*.tsx"],
|
||||||
|
languageOptions: {
|
||||||
|
parser: typescriptESLint.parser,
|
||||||
|
parserOptions: {
|
||||||
|
projectService: true,
|
||||||
|
tsconfigRootDir: import.meta.dirname,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
2538
package-lock.json
generated
2538
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
@ -26,15 +26,14 @@
|
|||||||
"provenance": true
|
"provenance": true
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=16.0.0",
|
"node": ">=16.0.0"
|
||||||
"npm": ">=9.0.0"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint:editorconfig": "editorconfig-checker",
|
"lint:editorconfig": "editorconfig-checker",
|
||||||
"lint:markdown": "markdownlint-cli2",
|
"lint:markdown": "markdownlint-cli2",
|
||||||
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
|
"lint:eslint": "eslint . --max-warnings 0",
|
||||||
"lint:prettier": "prettier . --check --ignore-path .gitignore",
|
"lint:prettier": "prettier . --check",
|
||||||
"lint:javascript": "tsc --project jsconfig.json --noEmit",
|
"lint:typescript": "tsc --noEmit",
|
||||||
"test": "node --test",
|
"test": "node --test",
|
||||||
"release": "semantic-release"
|
"release": "semantic-release"
|
||||||
},
|
},
|
||||||
@ -43,16 +42,19 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/markdown-it": "14.1.2",
|
"@types/markdown-it": "14.1.2",
|
||||||
"@types/node": "20.12.12",
|
"@types/node": "22.9.0",
|
||||||
"editorconfig-checker": "5.1.8",
|
"editorconfig-checker": "6.0.0",
|
||||||
"eslint": "8.57.0",
|
"eslint": "9.14.0",
|
||||||
"eslint-config-conventions": "14.4.0",
|
"eslint-config-conventions": "17.0.0",
|
||||||
"eslint-plugin-promise": "7.1.0",
|
"eslint-plugin-promise": "7.1.0",
|
||||||
"eslint-plugin-unicorn": "55.0.0",
|
"eslint-plugin-unicorn": "56.0.0",
|
||||||
"markdownlint": "0.35.0",
|
"eslint-plugin-import-x": "4.4.0",
|
||||||
"markdownlint-cli2": "0.14.0",
|
"globals": "15.12.0",
|
||||||
|
"markdownlint": "0.36.1",
|
||||||
|
"markdownlint-cli2": "0.15.0",
|
||||||
"prettier": "3.3.3",
|
"prettier": "3.3.3",
|
||||||
"semantic-release": "23.1.1",
|
"semantic-release": "23.1.1",
|
||||||
"typescript": "5.5.4"
|
"typescript-eslint": "8.13.0",
|
||||||
|
"typescript": "5.6.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"lib": ["ESNext"],
|
"lib": ["ESNext"],
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "CommonJS",
|
"module": "NodeNext",
|
||||||
"moduleResolution": "Node",
|
"moduleResolution": "NodeNext",
|
||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"noEmit": true,
|
"noEmit": true,
|
Loading…
Reference in New Issue
Block a user