{ "name": "@eslint/markdown", "version": "8.0.3", "description": "The official ESLint language plugin for Markdown", "license": "MIT", "author": { "name": "Brandon Mills", "url": "https://github.com/btmills" }, "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "files": [ "dist" ], "publishConfig": { "access": "public" }, "repository": "eslint/markdown", "bugs": { "url": "https://github.com/eslint/markdown/issues" }, "homepage": "https://github.com/eslint/markdown#readme", "keywords": [ "eslint", "eslintplugin", "markdown", "lint", "linter" ], "workspaces": [ "examples/*" ], "gitHooks": { "pre-commit": "lint-staged" }, "lint-staged": { "*.js": [ "eslint --fix", "prettier --write" ], "*.md": [ "eslint --fix", "eslint --fix -c eslint.config-content.js" ], "!(*.{js,md})": "prettier --write --ignore-unknown", "{src/rules/*.js,tools/update-rules-docs.js,README.md}": [ "npm run build:update-rules-docs", "git add README.md" ] }, "scripts": { "lint": "eslint && eslint -c eslint.config-content.js", "lint:fix": "eslint --fix && eslint --fix -c eslint.config-content.js", "lint:types": "attw --pack --profile esm-only", "lint:unused": "knip", "fmt": "prettier --write .", "fmt:check": "prettier --check .", "build": "npm run build:rules && npm run build:types && npm run build:update-rules-docs", "build:rules": "node tools/build-rules.js", "build:types": "tsc", "build:update-rules-docs": "node tools/update-rules-docs.js", "prepare": "npm run build", "test": "mocha \"tests/**/*.test.js\" --timeout 30000", "test:coverage": "c8 npm test", "test:jsr": "npx -y jsr@latest publish --dry-run", "test:types": "tsc -p tests/types/tsconfig.json", "test:types:5.3": "npx -p typescript@5.3 -y -- tsc -p tests/types/tsconfig.legacy.json", "test:types:5.x": "npx -p typescript@5.x -y -- tsc -p tests/types/tsconfig.json", "test:types:7.x": "npx -p @typescript/native-preview@latest -y -- tsgo -p tests/types/tsconfig.json", "test:types:all": "npm run test:types && npm run test:types:5.3 && npm run test:types:5.x && npm run test:types:7.x" }, "devDependencies": { "@arethetypeswrong/cli": "^0.18.3", "@eslint/js": "^10.0.1", "@eslint/json": "^2.0.0", "@types/mdast": "^4.0.4", "@types/unist": "^3.0.3", "c8": "^11.0.0", "dedent": "^1.7.1", "eslint": "^10.0.3", "eslint-v9": "npm:eslint@9.x", "eslint-config-eslint": "^14.0.0", "eslint-plugin-eslint-plugin": "^7.3.2", "globals": "^17.1.0", "knip": "^6.0.0", "lint-staged": "^16.0.0", "mocha": "^11.7.5", "prettier": "3.8.4", "semver": "^7.7.3", "typescript": "^6.0.3", "yorkie": "^2.0.0" }, "dependencies": { "@eslint/core": "^1.2.1", "@eslint/plugin-kit": "^0.7.2", "github-slugger": "^2.0.0", "mdast-util-from-markdown": "^2.0.2", "mdast-util-frontmatter": "^2.0.1", "mdast-util-gfm": "^3.1.0", "mdast-util-math": "^3.0.0", "micromark-extension-frontmatter": "^2.0.0", "micromark-extension-gfm": "^3.0.0", "micromark-extension-math": "^3.1.0", "micromark-util-normalize-identifier": "^2.0.1" }, "engines": { "node": "^20.19.0 || ^22.13.0 || >=24" } }