feat: usage of ESM modules imports (instead of CommonJS)

Fixes #10

BREAKING CHANGE: This package is now pure ESM

BREAKING CHANGE: minimum supported Node.js >= 22.0.0
This commit is contained in:
2024-12-28 22:52:51 +01:00
parent b4a04d2e8e
commit aa24db4fac
13 changed files with 1322 additions and 1143 deletions

5
src/index.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
import type { Rule } from "markdownlint"
declare const relativeLinksRule: Rule
export default relativeLinksRule