{"_id":"@dcwjoy/eslint-config-monorepo","_rev":"5-a5c90ea5e2845689c92cd93e3e0f6be9","name":"@dcwjoy/eslint-config-monorepo","dist-tags":{"latest":"0.39.31"},"versions":{"0.39.18":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.18","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@hotmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.18"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.18","_integrity":"sha512-zUpfNEsQTAnetc6TvShwDJvVFW5DiW9MpQulcDi/xMWvA7oB00YAZhmE4HfuqCUSycnRtX/KtgsLDgFVzdXCWA==","_resolved":"C:\\Users\\20385\\AppData\\Local\\Temp\\c02531dc2097fa17e71f3b3f5c0cb0da\\dcwjoy-eslint-config-monorepo-0.39.18.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.18.tgz","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-zUpfNEsQTAnetc6TvShwDJvVFW5DiW9MpQulcDi/xMWvA7oB00YAZhmE4HfuqCUSycnRtX/KtgsLDgFVzdXCWA==","shasum":"961c7baa3d6a383bee3c7318bc91e1e1325bbb34","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.18.tgz","fileCount":68,"unpackedSize":111451,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE4HMKgKuqSdiJl0wFZVmvbJE9HSOVvqfnSRX+gVLFsdAiEA9NBVMtraZd1q8J9X+7lPRx5SMz4/DRaf6o2nbzM2QlQ="}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.18_1690798966033_0.6986059206502431"},"_hasShrinkwrap":false},"0.39.24":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.24","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.24"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.24","_integrity":"sha512-jJ/72EW4Ls23H/YS0L9qlzU5wPJZtjtCB7JpzNXBE1pw6VBZAQHfyKhvA++sjoQ/Hrkhn1n4FnivwF8uQyac4w==","_resolved":"/private/var/folders/sh/r4smfqr10qs36jgtd18tpg340000gn/T/d5e9536e66806696601f87fe7ec2fb90/dcwjoy-eslint-config-monorepo-0.39.24.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.24.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-jJ/72EW4Ls23H/YS0L9qlzU5wPJZtjtCB7JpzNXBE1pw6VBZAQHfyKhvA++sjoQ/Hrkhn1n4FnivwF8uQyac4w==","shasum":"4dd8247dcfe80c6c88d368f2d897c8c7a27067c2","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.24.tgz","fileCount":38,"unpackedSize":64191,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO3VNSSwXQHCLp9I0c/bkCaqLqV+0Hv6eu4XTzPTgnUgIhALvaHcXDZNChPe/lTChdBfHPUlTi7L4IPgFxzQmaSAiT"}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.24_1690820578476_0.25168070627064276"},"_hasShrinkwrap":false},"0.39.27":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.27","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.27"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.27","_integrity":"sha512-bL6ws+yYKtOXVx3DB5qszaw1QbEZU1PXpaTmIjYvbtVq/0gdlt0ABB+Qj9tngQ3oBTeOrrzwFW6nD/PsS3hTFQ==","_resolved":"/private/var/folders/sh/r4smfqr10qs36jgtd18tpg340000gn/T/58b822f1fbcb9b3f3d333e166f280708/dcwjoy-eslint-config-monorepo-0.39.27.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.27.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-bL6ws+yYKtOXVx3DB5qszaw1QbEZU1PXpaTmIjYvbtVq/0gdlt0ABB+Qj9tngQ3oBTeOrrzwFW6nD/PsS3hTFQ==","shasum":"89aea9f21a9f82bd9625d1dc16496d73c565b0c8","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.27.tgz","fileCount":38,"unpackedSize":64241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSEWwDwlf31AF44Id6hlx5rBm/vNecNZoAn6X+oOx2UwIgI6iQzpcqL554X9QhmdGQeKjEtQhhuQDhmgneRhs9Cs0="}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.27_1690822101344_0.02373335597937043"},"_hasShrinkwrap":false},"0.39.28":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.28","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.28"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.28","_integrity":"sha512-0fbUhAgogLqIWZ8zoS17wGaACK06H/OiHpwgugSOH/L/l3dbsgrSTI+CLdFbgfoxKBkmZosx32W7M2yqMXTR4A==","_resolved":"/private/var/folders/sh/r4smfqr10qs36jgtd18tpg340000gn/T/2dc5d974e80e18c7c691011e67ab8189/dcwjoy-eslint-config-monorepo-0.39.28.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.28.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-0fbUhAgogLqIWZ8zoS17wGaACK06H/OiHpwgugSOH/L/l3dbsgrSTI+CLdFbgfoxKBkmZosx32W7M2yqMXTR4A==","shasum":"fa97c37681d861a2e943a56cb9acddca3459b504","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.28.tgz","fileCount":39,"unpackedSize":64465,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5yOj+5rGWcka2YyzJUCpZWazAFe1yr8YOjrF0sw95IwIhAPKwChxZXwL5i+cQEfph9M4Udw6wpcb8pUjoWm4ZJP7C"}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.28_1691207336832_0.21438237700376916"},"_hasShrinkwrap":false},"0.39.30":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.30","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.30"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.30","_integrity":"sha512-rcQMxM34ZivuNdm1QJ7CEjm6dtMjszKhu/nmfW+Becod2NJZMwuD1kLoDLd7KUnFgeGAD67VbLjPSl5X0ro4vQ==","_resolved":"/private/var/folders/sh/r4smfqr10qs36jgtd18tpg340000gn/T/84dd3d506ff46244c936207a85bf20bc/dcwjoy-eslint-config-monorepo-0.39.30.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.30.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-rcQMxM34ZivuNdm1QJ7CEjm6dtMjszKhu/nmfW+Becod2NJZMwuD1kLoDLd7KUnFgeGAD67VbLjPSl5X0ro4vQ==","shasum":"943716180344f34fa16e67f1e3efb7d5adabaf18","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.30.tgz","fileCount":39,"unpackedSize":64879,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaM2rP927I3E8knJ/dccjqzrh6KR4FrwgTdxUL7SGwFQIhANFwf0EV6jPUY0hZDlnejy8jpTH1BxL2i8n491AVCVtU"}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.30_1691318093564_0.8461057203846354"},"_hasShrinkwrap":false},"0.39.31":{"name":"@dcwjoy/eslint-config-monorepo","version":"0.39.31","private":false,"packageManager":"pnpm@8.6.7","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","devDependencies":{"bumpp":"^9.1.1","eslint":"^8.45.0","eslint-plugin-antfu":"^0.39.8","rimraf":"^5.0.1","typescript":"^5.1.6","@dcwjoy/eslint-config":"0.39.31"},"publishConfig":{"access":"public"},"scripts":{"lint":"pnpm -r run stub && eslint .","test":"pnpm -r run test","build":"pnpm -r run build","release":"bumpp -r && pnpm -r publish"},"description":"> this repo essentially fork from @antfu/eslint-config","_id":"@dcwjoy/eslint-config-monorepo@0.39.31","_integrity":"sha512-yny6b5Ft6rn3dsgc4AkqLYtZwlxyyijMs+mEd44GItPS/iSq8s5oxyd/jDYZGpbVjHXE5rHoY2et2Y4iw7bwtg==","_resolved":"/private/var/folders/sh/r4smfqr10qs36jgtd18tpg340000gn/T/6f1cc4a10f753061398730829f1e29a9/dcwjoy-eslint-config-monorepo-0.39.31.tgz","_from":"file:dcwjoy-eslint-config-monorepo-0.39.31.tgz","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-yny6b5Ft6rn3dsgc4AkqLYtZwlxyyijMs+mEd44GItPS/iSq8s5oxyd/jDYZGpbVjHXE5rHoY2et2Y4iw7bwtg==","shasum":"0237a335805b12b7a50848c9632b178da38a020d","tarball":"https://registry.npmjs.org/@dcwjoy/eslint-config-monorepo/-/eslint-config-monorepo-0.39.31.tgz","fileCount":39,"unpackedSize":64973,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYMbOd976Yjsc/HJ0jonlp3qIT1b+hI8tFroPC9SuvRAiEAsUkM7vEIYaaA/t8JDsdm0cZcf+bb7DfU8wIRuH8UIJw="}]},"_npmUser":{"name":"dcwjoy","email":"min202299@gmail.com"},"directories":{},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-monorepo_0.39.31_1693583534394_0.35594227487167895"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-31T10:22:45.975Z","0.39.18":"2023-07-31T10:22:46.195Z","modified":"2023-09-01T15:52:14.767Z","0.39.24":"2023-07-31T16:22:58.666Z","0.39.27":"2023-07-31T16:48:21.534Z","0.39.28":"2023-08-05T03:48:57.040Z","0.39.30":"2023-08-06T10:34:53.724Z","0.39.31":"2023-09-01T15:52:14.536Z"},"maintainers":[{"name":"dcwjoy","email":"min202299@gmail.com"}],"description":"> this repo essentially fork from @antfu/eslint-config","author":{"name":"min202299","email":"min202299@gmail.com","url":"https://github.com/min202299/"},"license":"MIT","readme":"# @min/eslint-config\n\n> this repo essentially fork from @antfu/eslint-config \n\n[![npm](https://img.shields.io/npm/v/@antfu/eslint-config?color=444&label=)](https://npmjs.com/package/@antfu/eslint-config) [![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)\n\n- Single quotes, no semi\n- Auto fix for formatting (aimed to be used standalone **without** Prettier)\n- Designed to work with TypeScript, Vue out-of-box\n- Lint also for json, yaml, markdown\n- Sorted imports, dangling commas\n- Reasonable defaults, best practices, only one-line of config\n- **Style principle**: Minimal for reading, stable for diff\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @antfu/eslint-config\n```\n\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@antfu\"\n}\n```\n\n> You don't need `.eslintignore` normally as it has been provided by the preset.\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n### VS Code support (auto fix)\n\nInstall [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\nAdd the following settings to your `settings.json`:\n\n```jsonc\n{\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true,\n    \"source.organizeImports\": false\n  },\n\n  // The following is optional.\n  // It's better to put under project setting `.vscode/settings.json`\n  // to avoid conflicts with working with different eslint configs\n  // that does not support all formats.\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"jsonc\",\n    \"yaml\"\n  ]\n}\n```\n\n### TypeScript Aware Rules\n\nType aware rules are enabled when a `tsconfig.eslint.json` is found in the project root, which will introduce some stricter rules into your project. If you want to enable it while have no `tsconfig.eslint.json` in the project root, you can change tsconfig name by modifying `ESLINT_TSCONFIG` env.\n\n```js\n// .eslintrc.js\nconst process = require('node:process')\n\nprocess.env.ESLINT_TSCONFIG = 'tsconfig.json'\n\nmodule.exports = {\n  extends: '@antfu'\n}\n```\n\n### Lint Staged\n\nIf you want to apply lint and auto-fix before every commit, you can add the following to your `package.json`:\n\n```json\n{\n  \"simple-git-hooks\": {\n    \"pre-commit\": \"pnpm lint-staged\"\n  },\n  \"lint-staged\": {\n    \"*\": \"eslint --fix\"\n  }\n}\n```\n\nand then\n\n```bash\nnpm i -D lint-staged simple-git-hooks\n```\n\n## Badge\n\nIf you enjoy this code style, and would like to mention it in your project, here is the badge you can use:\n\n```md\n[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)\n```\n\n[![code style](https://antfu.me/badge-code-style.svg)](https://github.com/antfu/eslint-config)\n\n## FAQ\n\n### Prettier?\n\n[Why I don't use Prettier](https://antfu.me/posts/why-not-prettier)\n\n### How to lint CSS?\n\nThis config does NOT lint CSS. I personally use [UnoCSS](https://github.com/unocss/unocss) so I don't write CSS. If you still prefer CSS, you can use [stylelint](https://stylelint.io/) for CSS linting.\n\n### I prefer XXX...\n\nSure, you can override the rules in your `.eslintrc` file.\n\n<!-- eslint-skip -->\n\n```jsonc\n{\n  \"extends\": \"@antfu\",\n  \"rules\": {\n    // your rules...\n  }\n}\n```\n\nOr you can always fork this repo and make your own.\n\n## Check Also\n\n- [antfu/dotfiles](https://github.com/antfu/dotfiles) - My dotfiles\n- [antfu/vscode-settings](https://github.com/antfu/vscode-settings) - My VS Code settings\n- [antfu/ts-starter](https://github.com/antfu/ts-starter) - My starter template for TypeScript library\n- [antfu/vitesse](https://github.com/antfu/vitesse) - My starter template for Vue & Vite app\n\n## License\n\n[MIT](./LICENSE) License &copy; 2019-PRESENT [Anthony Fu](https://github.com/antfu)\n","readmeFilename":"README.md"}