eslint-plugin-format
Version:
Format various languages with formatters in ESLint
98 lines • 2.39 kB
JSON
{
"name": "eslint-plugin-format",
"type": "module",
"version": "2.0.1",
"description": "Format various languages with formatters in ESLint",
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
"license": "MIT",
"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/eslint-plugin-format#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/eslint-plugin-format.git"
},
"bugs": "https://github.com/antfu/eslint-plugin-format/issues",
"keywords": [
"eslint",
"eslint-plugin",
"formatters",
"prettier",
"dprint",
"oxfmt"
],
"sideEffects": false,
"exports": {
".": "./dist/index.mjs",
"./define-config-support": {
"types": "./dts/define-config-support.d.ts"
},
"./rule-options": {
"types": "./dts/rule-options.d.ts"
}
},
"main": "./dist/index.mjs",
"module": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
},
"files": [
"dist",
"dts",
"workers"
],
"peerDependencies": {
"eslint": "^8.40.0 || ^9.0.0 || ^10.0.0"
},
"dependencies": {
"@dprint/formatter": "^0.5.1",
"@dprint/markdown": "^0.21.1",
"@dprint/toml": "^0.7.0",
"eslint-formatting-reporter": "^0.0.0",
"eslint-parser-plain": "^0.1.1",
"ohash": "^2.0.11",
"oxfmt": "^0.35.0",
"prettier": "^3.8.1",
"synckit": "^0.11.12"
},
"devDependencies": {
"@antfu/eslint-config": "^7.6.0",
"@antfu/ni": "^28.2.0",
"@antfu/utils": "^9.3.0",
"@types/eslint": "^9.6.1",
"@types/node": "^25.3.0",
"bumpp": "^10.4.1",
"eslint": "^10.0.2",
"eslint-vitest-rule-tester": "^3.1.0",
"lint-staged": "^16.2.7",
"pnpm": "^10.30.2",
"simple-git-hooks": "^2.13.1",
"skills-npm": "^1.0.0",
"tsdown": "^0.20.3",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vite": "^7.3.1",
"vitest": "^4.0.18",
"eslint-plugin-format": "2.0.1"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
},
"scripts": {
"build": "tsdown",
"dev": "tsdown --watch",
"lint": "nr build && eslint .",
"release": "bumpp",
"start": "tsx src/index.ts",
"test": "vitest",
"typecheck": "tsc --noEmit"
}
}