markdownlint-rule-relative-.../eslint.config.mjs

14 lines
371 B
JavaScript
Raw Permalink Normal View History

2024-11-11 13:24:45 +01:00
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,
},
},
})