mirror of
				https://github.com/theoludwig/markdownlint-rule-relative-links.git
				synced 2025-11-01 00:49:07 +01:00 
			
		
		
		
	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:
		
							
								
								
									
										13
									
								
								eslint.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								eslint.config.js
									
									
									
									
									
										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,
 | 
			
		||||
    },
 | 
			
		||||
  },
 | 
			
		||||
})
 | 
			
		||||
		Reference in New Issue
	
	Block a user