183 lines
5.3 KiB
JSON
183 lines
5.3 KiB
JSON
{
|
|
"name": "@antfu/eslint-config",
|
|
"type": "module",
|
|
"version": "3.16.0",
|
|
"description": "Anthony's ESLint config",
|
|
"author": "Anthony Fu <anthonyfu117@hotmail.com> (https://github.com/antfu/)",
|
|
"license": "MIT",
|
|
"funding": "https://github.com/sponsors/antfu",
|
|
"homepage": "https://github.com/antfu/eslint-config",
|
|
"keywords": [
|
|
"eslint-config"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
}
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": "./bin/index.js",
|
|
"files": [
|
|
"bin",
|
|
"dist"
|
|
],
|
|
"peerDependencies": {
|
|
"@eslint-react/eslint-plugin": "^1.19.0",
|
|
"@prettier/plugin-xml": "^3.4.1",
|
|
"@unocss/eslint-plugin": ">=0.50.0",
|
|
"astro-eslint-parser": "^1.0.2",
|
|
"eslint": "^9.10.0",
|
|
"eslint-plugin-astro": "^1.2.0",
|
|
"eslint-plugin-format": ">=0.1.0",
|
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
"eslint-plugin-solid": "^0.14.3",
|
|
"eslint-plugin-svelte": ">=2.35.1",
|
|
"prettier-plugin-astro": "^0.14.0",
|
|
"prettier-plugin-slidev": "^1.0.5",
|
|
"svelte-eslint-parser": ">=0.37.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@eslint-react/eslint-plugin": {
|
|
"optional": true
|
|
},
|
|
"@prettier/plugin-xml": {
|
|
"optional": true
|
|
},
|
|
"@unocss/eslint-plugin": {
|
|
"optional": true
|
|
},
|
|
"astro-eslint-parser": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-astro": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-format": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-react-hooks": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-react-refresh": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-solid": {
|
|
"optional": true
|
|
},
|
|
"eslint-plugin-svelte": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-astro": {
|
|
"optional": true
|
|
},
|
|
"prettier-plugin-slidev": {
|
|
"optional": true
|
|
},
|
|
"svelte-eslint-parser": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@antfu/install-pkg": "^1.0.0",
|
|
"@clack/prompts": "^0.9.1",
|
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
|
|
"@eslint/markdown": "^6.2.1",
|
|
"@stylistic/eslint-plugin": "^2.13.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.21.0",
|
|
"@typescript-eslint/parser": "^8.21.0",
|
|
"@vitest/eslint-plugin": "^1.1.25",
|
|
"eslint-config-flat-gitignore": "^1.0.0",
|
|
"eslint-flat-config-utils": "^1.1.0",
|
|
"eslint-merge-processors": "^1.0.0",
|
|
"eslint-plugin-antfu": "^2.7.0",
|
|
"eslint-plugin-command": "^2.1.0",
|
|
"eslint-plugin-import-x": "^4.6.1",
|
|
"eslint-plugin-jsdoc": "^50.6.2",
|
|
"eslint-plugin-jsonc": "^2.18.2",
|
|
"eslint-plugin-n": "^17.15.1",
|
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
"eslint-plugin-perfectionist": "^4.7.0",
|
|
"eslint-plugin-regexp": "^2.7.0",
|
|
"eslint-plugin-toml": "^0.12.0",
|
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
"eslint-plugin-vue": "^9.32.0",
|
|
"eslint-plugin-yml": "^1.16.0",
|
|
"eslint-processor-vue-blocks": "^1.0.0",
|
|
"globals": "^15.14.0",
|
|
"jsonc-eslint-parser": "^2.4.0",
|
|
"local-pkg": "^1.0.0",
|
|
"parse-gitignore": "^2.0.0",
|
|
"picocolors": "^1.1.1",
|
|
"toml-eslint-parser": "^0.10.0",
|
|
"vue-eslint-parser": "^9.4.3",
|
|
"yaml-eslint-parser": "^1.2.3",
|
|
"yargs": "^17.7.2"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/ni": "^23.2.0",
|
|
"@eslint-react/eslint-plugin": "^1.24.1",
|
|
"@eslint/config-inspector": "^1.0.0",
|
|
"@prettier/plugin-xml": "^3.4.1",
|
|
"@stylistic/eslint-plugin-migrate": "^2.13.0",
|
|
"@types/fs-extra": "^11.0.4",
|
|
"@types/node": "^22.10.7",
|
|
"@types/prompts": "^2.4.9",
|
|
"@types/yargs": "^17.0.33",
|
|
"@unocss/eslint-plugin": "^65.4.3",
|
|
"astro-eslint-parser": "^1.1.0",
|
|
"bumpp": "^9.10.1",
|
|
"eslint": "^9.18.0",
|
|
"eslint-plugin-astro": "^1.3.1",
|
|
"eslint-plugin-format": "^1.0.1",
|
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
"eslint-plugin-react-refresh": "^0.4.18",
|
|
"eslint-plugin-solid": "^0.14.5",
|
|
"eslint-plugin-svelte": "^2.46.1",
|
|
"eslint-typegen": "^1.0.0",
|
|
"execa": "^9.5.2",
|
|
"fast-glob": "^3.3.3",
|
|
"fs-extra": "^11.3.0",
|
|
"jiti": "^2.4.2",
|
|
"lint-staged": "^15.4.1",
|
|
"prettier-plugin-astro": "^0.14.1",
|
|
"prettier-plugin-slidev": "^1.0.5",
|
|
"rimraf": "^6.0.1",
|
|
"simple-git-hooks": "^2.11.1",
|
|
"svelte": "^5.19.1",
|
|
"svelte-eslint-parser": "^0.43.0",
|
|
"tsup": "^8.3.5",
|
|
"tsx": "^4.19.2",
|
|
"typescript": "^5.7.3",
|
|
"vitest": "^3.0.3",
|
|
"vue": "^3.5.13",
|
|
"@antfu/eslint-config": "3.16.0"
|
|
},
|
|
"resolutions": {
|
|
"@eslint-community/eslint-utils": "^4.4.1",
|
|
"@typescript-eslint/utils": "^8.21.0",
|
|
"eslint": "^9.18.0",
|
|
"tsx": "^4.19.2"
|
|
},
|
|
"simple-git-hooks": {
|
|
"pre-commit": "npx lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*": "eslint --fix"
|
|
},
|
|
"scripts": {
|
|
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
|
|
"stub": "tsup --format esm",
|
|
"dev": "npx @eslint/config-inspector --config eslint.config.ts",
|
|
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
|
|
"watch": "tsup --format esm,cjs --watch",
|
|
"lint": "eslint .",
|
|
"typegen": "tsx scripts/typegen.ts",
|
|
"release": "bumpp && pnpm publish",
|
|
"test": "vitest",
|
|
"typecheck": "tsc --noEmit"
|
|
}
|
|
} |