mirror of
				https://github.com/theoludwig/markdownlint-rule-relative-links.git
				synced 2025-11-01 00:49:07 +01:00 
			
		
		
		
	feat: add support for markdownlint v0.38.0
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
import relativeLinksRule from "./src/index.js"
 | 
			
		||||
import relativeLinksRule, { markdownIt } from "./src/index.js"
 | 
			
		||||
 | 
			
		||||
const config = {
 | 
			
		||||
  config: {
 | 
			
		||||
@@ -10,6 +10,9 @@ const config = {
 | 
			
		||||
  globs: ["**/*.md"],
 | 
			
		||||
  ignores: ["**/node_modules", "**/test/fixtures/**"],
 | 
			
		||||
  customRules: [relativeLinksRule],
 | 
			
		||||
  markdownItFactory: () => {
 | 
			
		||||
    return markdownIt
 | 
			
		||||
  },
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export default config
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user