{"_id":"@arapucajs/eslint-config","name":"@arapucajs/eslint-config","dist-tags":{"latest":"1.1.2"},"versions":{"1.1.2":{"name":"@arapucajs/eslint-config","version":"1.1.2","description":"The base configuration for ESLint used by ArapucaJS applications and packages","main":"index.js","type":"module","scripts":{"format":"prettier --write .","prepare":"husky","commitlint":"commitlint --edit","commit":"cz","test":"echo \"Error: no test specified\" && exit 0","typecheck":"echo \"Error: no test specified\" && exit 0","lint":"echo \"Error: no test specified\" && exit 0","build":"echo \"Error: no build specified\" && exit 0"},"devDependencies":{"@arapucajs/prettier":"^1.1.1","@commitlint/cli":"^19.8.1","@commitlint/config-conventional":"^19.8.1","@release-it/conventional-changelog":"^10.0.1","commitizen":"^4.3.1","cz-conventional-changelog":"^3.3.0","eslint":"^9.32.0","husky":"^9.1.7","prettier":"^3.6.2"},"peerDependencies":{"eslint":"^9.9.0","prettier":"^3.3.3"},"dependencies":{"@arapucajs/eslint-plugin":"^1.2.5","@stylistic/eslint-plugin":"^5.2.3","eslint-config-prettier":"^10.1.8","eslint-plugin-prettier":"^5.5.4","eslint-plugin-unicorn":"^60.0.0","typescript-eslint":"^8.39.0"},"homepage":"https://github.com/arapucajs/eslint-config#readme","bugs":{"url":"https://github.com/arapucajs/eslint-config/issues"},"repository":{"type":"git","url":"git+https://github.com/arapucajs/eslint-config.git"},"keywords":["eslint-config","arapucajs"],"author":{"name":"Jefte Costa","email":"jefte@arapucajs.com","url":"https://arapucajs.com"},"contributors":[{"name":"Jefte Costa","email":"jefte@arapucajs.com"}],"license":"MIT","publishConfig":{"provenance":true},"prettier":"@arapucajs/prettier","config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"husky":{"hooks":{"prepare-commit-msg":"exec < /dev/tty && npx cz --hook || true"}},"_id":"@arapucajs/eslint-config@1.1.2","gitHead":"84bdcd58d4680b60a57dd54ea7403cf8164ab655","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-PTBwBcamwPnnbDfrHgrNITS6Rl0PNf1sT2J76awQaSK2hWofhgcBr9tczzaCmoN0Y9DDYlPVKos7O7IpogPnpA==","shasum":"c4a7673dcd5963d11e2eb6e0e1bb8429805d7742","tarball":"https://registry.npmjs.org/@arapucajs/eslint-config/-/eslint-config-1.1.2.tgz","fileCount":4,"unpackedSize":11220,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@arapucajs%2feslint-config@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFtAIQ/3PGXnsV81uedNOtbC694+zxiT/NnOovPVJdKcAiBQvOd0Nltgn3GXUFpf4XZrR8DifjFcKWHim9u22w45Bg=="}]},"_npmUser":{"name":"jefte","email":"jefteamorim@gmail.com"},"directories":{},"maintainers":[{"name":"jefte","email":"jefteamorim@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_1.1.2_1758474721869_0.9896925451011793"},"_hasShrinkwrap":false}},"time":{"created":"2025-09-21T17:12:01.752Z","1.1.2":"2025-09-21T17:12:02.070Z","modified":"2025-09-21T17:12:02.651Z"},"maintainers":[{"name":"jefte","email":"jefteamorim@gmail.com"}],"description":"The base configuration for ESLint used by ArapucaJS applications and packages","homepage":"https://github.com/arapucajs/eslint-config#readme","keywords":["eslint-config","arapucajs"],"repository":{"type":"git","url":"git+https://github.com/arapucajs/eslint-config.git"},"contributors":[{"name":"Jefte Costa","email":"jefte@arapucajs.com"}],"author":{"name":"Jefte Costa","email":"jefte@arapucajs.com","url":"https://arapucajs.com"},"bugs":{"url":"https://github.com/arapucajs/eslint-config/issues"},"license":"MIT","readme":"# @arapucajs/eslint-config\n\n> Compatible with ESLint 9.0 and Prettier 3.0\n\n<hr>\n<br />\n\n<div align=\"center\">\n  <h3>ESLint presets used by the Arapuca team</h3>\n  <p>The <code>arapucajs/eslint-config</code> ships with the default set of ESLint rules used by the Arapuca team. The presets are tuned to work alongside Prettier and provide both TypeScript and JavaScript support.</p>\n</div>\n\n<br />\n\n[![npm-image]][npm-url] [![license-image]][license-url]\n\n## Installation\n\nInstall the package from the npm registry.\n\n```sh\nnpm i -D @arapucajs/eslint-config\n\n# Install peer dependencies\nnpm i -D eslint@9 prettier@3\n```\n\n## Usage\n\nAfter installation, use one of the following presets depending on the nature of your application/library.\n\n**For package development**: Use the following preset when developing a package\n\n```js\n// eslint.config.js\nimport { configPkg } from '@arapucajs/eslint-config'\nexport default configPkg()\n```\n\n**For app development**: Use the following preset when developing an application\n\n```js\n// eslint.config.js\nimport { configApp } from '@arapucajs/eslint-config'\nexport default configApp()\n```\n\n## Adding additional config blocks\n\nYou can pass additional config blocks as multiple arguments to one of the preset functions.\n\n```js\nimport { configApp, INCLUDE_LIST, GLOBAL_IGNORE_LIST } from '@arapucajs/eslint-config'\n\nexport default configApp({\n  name: 'Custom config',\n  files: INCLUDE_LIST,\n  ignores: GLOBAL_IGNORE_LIST,\n  plugins: {\n    // ESLint plugins go here\n  },\n  rules: {\n    // ESLint rules go here\n  },\n})\n```\n\n## Available exports\n\nThe package exports the following functions and constants:\n\n- `configPkg()` - Configuration for package development\n- `configApp()` - Configuration for application development\n- `INCLUDE_LIST` - Default files to include in linting\n- `GLOBAL_IGNORE_LIST` - Files to ignore globally\n- `APP_IGNORE_LIST` - Additional files to ignore for applications\n- `PLUGINS_LIST` - Default plugins configuration\n- `RULES_LIST` - Default rules configuration\n\n## Features\n\nThis ESLint configuration includes:\n\n- **Modern ESLint v9 support** with flat config\n- **TypeScript and JavaScript support**\n- **Prettier integration** with automatic formatting\n- **Unicorn plugin** for additional code quality rules\n- **Stylistic plugin** for consistent code style\n- **Opinionated rules** for clean, readable code\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/@arapucajs/eslint-config/latest.svg?style=for-the-badge&logo=npm\n[npm-url]: https://www.npmjs.com/package/@arapucajs/eslint-config/v/latest\n[license-url]: LICENSE\n[license-image]: https://img.shields.io/github/license/arapucajs/eslint-config?style=for-the-badge\n","readmeFilename":"README.md","_rev":"1-eea9e2de61abdb011859943b2373446a"}