{"_id":"@alesal/lint","name":"@alesal/lint","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alesal/lint","version":"1.0.0","description":"ESLint + Prettier config for TypeScript/Node and React","main":"index.js","exports":{".":"./index.js","./react":"./react.js","./prettier":"./prettier.js"},"scripts":{"lint":"eslint ."},"dependencies":{"@eslint/compat":"^1.4.1","eslint":"^9","eslint-config-prettier":"^10.1.8","eslint-import-resolver-typescript":"^4.4.4","eslint-plugin-import":"^2.32.0","eslint-plugin-prettier":"^5.5.4","eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^7.0.1","eslint-plugin-unused-imports":"^4.3.0","glob":"^13.0.0","parse-gitignore":"^2.0.0","prettier":"^3.6.2","prettier-plugin-tailwindcss":"^0.7.1","typescript-eslint":"^8.46.3"},"peerDependencies":{"typescript":">=5.4.0"},"repository":{"type":"git","url":"git+https://github.com/alesal/lint.git"},"license":"MIT","_id":"@alesal/lint@1.0.0","gitHead":"386d081d333473eec28585e86016c7581130ce9e","types":"./index.d.ts","bugs":{"url":"https://github.com/alesal/lint/issues"},"homepage":"https://github.com/alesal/lint#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ch+nOIN8CxU/rYdU+bmOGmyw1s+iaXOEesse0r1RsUtRdFM2ll02Yo2UV6YTbQCIr3UTopGMscBlTb6356FS3g==","shasum":"237506d3ed37f7bc04cbca32ee662c48daa17f91","tarball":"https://registry.npmjs.org/@alesal/lint/-/lint-1.0.0.tgz","fileCount":13,"unpackedSize":11966,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAiG6m+FCWWxmIQpE03Cn5JlZfCyJSo+781eHN3GZY9vAiBMfXZRZ0f4QMepbviFoErefcokdH7iNKbxmeEumLsnRw=="}]},"_npmUser":{"name":"alesal","email":"alexandre.salvatierra@gmail.com"},"directories":{},"maintainers":[{"name":"alesal","email":"alexandre.salvatierra@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/lint_1.0.0_1771381967146_0.3476827047786548"},"_hasShrinkwrap":false}},"time":{"created":"2026-02-18T02:32:47.033Z","1.0.0":"2026-02-18T02:32:47.299Z","modified":"2026-02-18T02:32:47.549Z"},"maintainers":[{"name":"alesal","email":"alexandre.salvatierra@gmail.com"}],"description":"ESLint + Prettier config for TypeScript/Node and React","homepage":"https://github.com/alesal/lint#readme","repository":{"type":"git","url":"git+https://github.com/alesal/lint.git"},"bugs":{"url":"https://github.com/alesal/lint/issues"},"license":"MIT","readme":"# @alesal/lint\n\nESLint + Prettier config for TypeScript/Node and React.\n\n## Prerequisite\n\nThis package is for TypeScript projects only. Your project must already have TypeScript installed.\n\n## Installation\n\n**TypeScript (Node):**\n\n```bash\npnpm add -D @alesal/lint\n```\n\n**React:**\n\n```bash\npnpm add -D @alesal/lint react\n```\n\n## Usage\n\n**Node/TypeScript** — in `eslint.config.js`:\n\n```js\nconst { ignores, configs } = require('@alesal/lint');\n\nmodule.exports = [...configs, { ignores: ignores() }];\n```\n\n**React** — in `eslint.config.js`:\n\n```js\nconst { ignores, configs } = require('@alesal/lint/react');\n\nmodule.exports = [...configs, { ignores: ignores() }];\n```\n\n## Prettier (optional)\n\nTo use the same formatting as this config, create a `.prettierrc.js` in your project:\n\n```js\nmodule.exports = require('@alesal/lint/prettier');\n```\n\n## Extra ignores\n\nTo add more ignore patterns:\n\n```js\nmodule.exports = [...configs, { ignores: ignores('**/out/**', 'coverage/**') }];\n```\n\n## Custom rules\n\nYou can override or add rules by passing a config object at the end:\n\n```js\nmodule.exports = [\n  ...configs,\n  {\n    ignores: ignores(),\n    rules: {\n      '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }]\n    }\n  }\n];\n```\n","readmeFilename":"README.md","_rev":"1-b54a3812051e9131f11bff3f728b4d77"}