{"name":"eslint-config-unjs","version":"0.4.0","license":"MIT","_id":"eslint-config-unjs@0.4.0","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/eslint-config#readme","bugs":{"url":"https://github.com/unjs/eslint-config/issues"},"dist":{"shasum":"05c46cc8a777458ea9a08dd5da58e2f2709f7db5","tarball":"http://registry-npm.ywwl.com/eslint-config-unjs/download/eslint-config-unjs-0.4.0.tgz","fileCount":5,"integrity":"sha512-UM+qSpzZPS2457A44lo1Oi9IG6/lSnwMko+D0Z11c+hgH5bB07kB0OmCsBNtRrHPeT/qsOgayhZ7xDAtuWxS5A==","signatures":[{"sig":"MEUCIF6NVleGYBZtCbsw/wMzRpXpIZvN1AUP/laWLezRLG1cAiEAhQWDT5/v66m3k9dgFsRJ3fubKLd0xXI1fbEsSi7Bk+M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":319173,"size":35678,"noattachment":false,"key":"/eslint-config-unjs/-/eslint-config-unjs-0.4.0.tgz"},"type":"module","exports":{".":{"types":"./dist/eslint.config.d.mts","import":"./dist/eslint.config.mjs"}},"gitHead":"52a58eb18e8f22a661c19e9f7317cfedeb6283e3","scripts":{"dev":"eslint-config-inspector","lint":"eslint --flag unstable_ts_config . && prettier -c src","test":"pnpm lint","build":"unbuild","prepack":"pnpm build","release":"pnpm test && changelogen --release && npm publish && git push --follow-tags","typegen":"node ./scripts/typegen.mjs","lint:fix":"eslint --flag unstable_ts_config . --fix && prettier -w src"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/eslint-config.git","type":"git"},"_npmVersion":"10.8.2","description":"ESLint config for unjs projects","directories":{},"_nodeVersion":"20.17.0","dependencies":{"globals":"^15.9.0","@eslint/js":"^9.11.1","typescript-eslint":"^8.7.0","eslint-plugin-unicorn":"^55.0.0","eslint-plugin-markdown":"^5.1.0"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.11.0","devDependencies":{"jiti":"^2.0.0","automd":"^0.3.8","eslint":"^9.11.1","unbuild":"^2.0.0","prettier":"^3.3.3","typescript":"^5.6.2","@types/node":"^22.7.2","changelogen":"^0.5.7","@types/eslint":"^9.6.1","eslint-typegen":"^0.3.2","@types/eslint__js":"^8.42.3","@eslint/config-inspector":"^0.5.4"},"peerDependencies":{"eslint":"*","typescript":"*"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-unjs_0.4.0_1727303145539_0.8704460199318178","host":"s3://npm-registry-packages"},"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":1727303145724,"_cnpm_publish_time":1727303145724,"dist-tags":{"latest":"0.6.2","rc":"0.3.1-0"}}