{"name":"eslint-config-unjs","version":"0.6.2","description":"ESLint config for unjs projects","repository":{"type":"git","url":"git+https://github.com/unjs/eslint-config.git"},"license":"MIT","type":"module","exports":{".":"./dist/eslint.config.mjs"},"types":"dist/eslint.config.d.mts","scripts":{"build":"obuild","dev":"eslint-config-inspector","lint":"eslint --flag unstable_ts_config . && prettier -c src","lint:fix":"eslint --flag unstable_ts_config . --fix && prettier -w src","prepack":"pnpm build","release":"pnpm test && pnpm build && changelogen --release && npm publish && git push --follow-tags","test":"pnpm lint","typegen":"node ./scripts/typegen.mjs"},"dependencies":{"@eslint/js":"^9.39.2","@eslint/markdown":"^7.5.1","eslint-plugin-unicorn":"^62.0.0","globals":"^17.0.0","typescript-eslint":"^8.51.0"},"devDependencies":{"@eslint/config-inspector":"^1.4.2","@types/eslint":"^9.6.1","@types/node":"^25.0.3","automd":"^0.4.2","changelogen":"^0.6.2","eslint":"^9.39.2","eslint-typegen":"^2.3.0","obuild":"^0.4.10","prettier":"^3.7.4","typescript":"^5.9.3"},"peerDependencies":{"eslint":"*","typescript":"*"},"packageManager":"pnpm@10.27.0","gitHead":"55915e1badfe01a4510acd98d28ed15d1609868b","_id":"eslint-config-unjs@0.6.2","bugs":{"url":"https://github.com/unjs/eslint-config/issues"},"homepage":"https://github.com/unjs/eslint-config#readme","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-u80AQy4W4B+gbd/Ow1xlUrvNhTq/tqs1mpfYNzFfazp1wF5L0ZY4gizspfXgr8QDeugMfo+rno6Iwd89jKSJSw==","shasum":"aa5443b877f9545bed16c5f627e34216d123822a","tarball":"http://registry-npm.ywwl.com/eslint-config-unjs/download/eslint-config-unjs-0.6.2.tgz","fileCount":4,"unpackedSize":176118,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAsdnBTJLOO/ZqKhuf0oMOoB9TXuWy2nSe1ovYEBIZ8bAiAfXmkbsDoBYAZX6HiELjsg1CrWHDRaNi/R1Eq90b9SRw=="}],"size":21263,"noattachment":false,"key":"/eslint-config-unjs/-/eslint-config-unjs-0.6.2.tgz"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"directories":{},"maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-unjs_0.6.2_1767363039839_0.31903606559734277"},"_hasShrinkwrap":false,"readme":"# `eslint-config-unjs`\n\nSharable ESLint config preset for usage across unjs repositories.\n\n✅ Includes:\n\n- [eslint recommended rules](https://eslint.org/docs/latest/rules/)\n- [uniciorn rules ](https://github.com/sindresorhus/eslint-plugin-unicorn)\n- [typescript-eslint integration](https://typescript-eslint.io/)\n- [markdown plugin](https://www.npmjs.com/package/eslint-plugin-markdown)\n\n## Getting started\n\n> [!NOTE]\n> This preset uses the new [ESLint flat config](https://eslint.org/docs/latest/use/configure/configuration-files).\n\nInstall dependencies:\n\n```sh\nnpx nypm install -D eslint typescript eslint-config-unjs\n```\n\nCreate `eslint.config.mjs` in your project root:\n\n```js\nimport unjs from \"eslint-config-unjs\";\n\nexport default unjs({\n  ignores: [\n    // ignore paths\n  ],\n  rules: {\n    // rule overrides\n  },\n  markdown: {\n    rules: {\n      // markdown rule overrides\n    },\n  },\n});\n```\n\n**Tips:**\n\n- You can pass any number of flat configs to unjs preset wrapper\n- Types for `rules` are auto generated using [`antfu/eslint-typegen`](https://github.com/antfu/eslint-typegen).\n\n## License\n\nMIT\n","publish_time":1767363040106,"_cnpm_publish_time":1767363040106,"dist-tags":{"latest":"0.6.2","rc":"0.3.1-0"}}