Files
md/eslint.config.mjs
T
Libin YANG 58f09a8897 build: centralize shared deps with pnpm catalog and dedupe (#1791)
Move cross-package toolchain versions into a workspace catalog, declare
CodeMirror where it is imported, unify typescript-eslint via overrides,
and run pnpm dedupe to shrink the lockfile.
2026-07-11 13:38:58 +08:00

22 lines
652 B
JavaScript

import antfu from '@antfu/eslint-config'
export default antfu({
vue: true,
typescript: true,
formatters: true,
ignores: [`.github`, `scripts`, `docker`, `packages/md-cli`, `src/assets`, `example`, `apps/web/src/assets/example/`],
}, {
rules: {
'semi': [`error`, `never`],
'no-unused-vars': `off`,
'no-console': `off`,
'no-debugger': `off`,
'e18e/prefer-array-at': `off`,
'e18e/prefer-static-regex': `off`,
'ts/no-namespace': `off`,
'style/max-statements-per-line': `off`,
// Catalog is for shared toolchain versions only; package-specific deps stay inline.
'pnpm/json-enforce-catalog': `off`,
},
})