{"_id":"@aprx/biome-config","_rev":"5-ca7fa6a0e45c05c86df3bc3a2264d7f6","name":"@aprx/biome-config","dist-tags":{"latest":"0.4.1"},"versions":{"0.1.0":{"name":"@aprx/biome-config","version":"0.1.0","author":{"name":"Aperrix"},"license":"MIT","_id":"@aprx/biome-config@0.1.0","maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"dist":{"shasum":"a6202def085fba219d1ac5839071591009fc8758","tarball":"https://registry.npmjs.org/@aprx/biome-config/-/biome-config-0.1.0.tgz","fileCount":10,"integrity":"sha512-lrtW4aeLlgCWV1P8aG37aIadZcxRj0GCOwouvC0tsZAcNnEVZsf8up/0kdqVqu2s88Qio+lUtD9LjOEqpt6hmA==","signatures":[{"sig":"MEUCIQCya+Cf5cc80FZyRvzi7TdERfDcPTvUXBYsGU8n+WLnawIgYg/nN5YukcCV7p4KdgXPwyuyD3yyTDfPbBImmq9k8RM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34756},"type":"module","exports":{".":"./src/base.jsonc","./dom":"./src/dom.jsonc","./lib":"./src/lib.jsonc","./vue":"./src/vue.jsonc","./react":"./src/react.jsonc","./nextjs":"./src/nextjs.jsonc","./testing":"./src/testing.jsonc"},"gitHead":"73d9dcfee5ef588277254d29fcfd0899f3050e8c","_npmUser":{"name":"aperrix","email":"aperrix@gmail.com"},"repository":{"url":"git+https://github.com/aperrix/code-quality-tools.git","type":"git","directory":"packages/biome"},"_npmVersion":"10.9.3","description":"An opinionated Biome configuration","directories":{},"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@biomejs/biome":"^2.3.9"},"_npmOperationalInternal":{"tmp":"tmp/biome-config_0.1.0_1769882780584_0.1131628051670901","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aprx/biome-config","version":"0.2.0","author":{"name":"Aperrix"},"license":"MIT","_id":"@aprx/biome-config@0.2.0","maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"dist":{"shasum":"f3175baee6e5f69d573f4173c54be0b56c0b41cc","tarball":"https://registry.npmjs.org/@aprx/biome-config/-/biome-config-0.2.0.tgz","fileCount":10,"integrity":"sha512-FcIcbY0VvjMmFIJ/99+aLb51XH4Mq2EjULAnHvnU5N0lkQESB6e9/+SDsBxhVXOiwSNpnAFbLpNVPWGmB84ncw==","signatures":[{"sig":"MEUCIFUfnP47TGva5s3r+6aKeTv6pIRupYkO+SOO5nULjGhvAiEAyFjIHqVMGFVZV/0LtSPA0QPRDHhzyxNE+YfhRqm/Q/E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34714},"type":"module","exports":{".":"./src/base.jsonc","./dom":"./src/dom.jsonc","./lib":"./src/lib.jsonc","./vue":"./src/vue.jsonc","./react":"./src/react.jsonc","./nextjs":"./src/nextjs.jsonc","./testing":"./src/testing.jsonc"},"gitHead":"2d5aef8dbdb4c3af13f81d8a33a45ebb77622f35","_npmUser":{"name":"aperrix","email":"aperrix@gmail.com"},"repository":{"url":"git+https://github.com/aperrix/code-quality-tools.git","type":"git","directory":"packages/biome"},"_npmVersion":"10.9.3","description":"An opinionated Biome configuration","directories":{},"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@biomejs/biome":"^2.3.9"},"_npmOperationalInternal":{"tmp":"tmp/biome-config_0.2.0_1769886983371_0.9203494157721053","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aprx/biome-config","version":"0.3.0","author":{"name":"Aperrix"},"license":"MIT","_id":"@aprx/biome-config@0.3.0","maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"dist":{"shasum":"81b40c8f88fdfdd59f433b767866f7a62d89ec9d","tarball":"https://registry.npmjs.org/@aprx/biome-config/-/biome-config-0.3.0.tgz","fileCount":10,"integrity":"sha512-QW8XLzqpT+5YXdV3aiiEvO2fIEvXA67xkxKGDjsRwKXXWNqdg2rz2DEkEP6vavxGbJMqIwf+DODp+44lBGP0xQ==","signatures":[{"sig":"MEUCIQCnioR3T3g0A2Rq8w76xCOnr8hg40xngvHJzV5uDXoXqAIgP0uCdpusX1C2PbnkvzQVf0+PIRVNtDXEHbhgUnSrSpw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34968},"type":"module","exports":{".":"./src/base.jsonc","./dom":"./src/dom.jsonc","./lib":"./src/lib.jsonc","./vue":"./src/vue.jsonc","./react":"./src/react.jsonc","./nextjs":"./src/nextjs.jsonc","./testing":"./src/testing.jsonc"},"gitHead":"1451e53c7844982b4c5c3e4157db59ca485691bb","_npmUser":{"name":"aperrix","email":"aperrix@gmail.com"},"repository":{"url":"git+https://github.com/aperrix/code-quality-tools.git","type":"git","directory":"packages/biome"},"_npmVersion":"10.9.3","description":"An opinionated Biome configuration","directories":{},"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@biomejs/biome":"^2.3.9"},"_npmOperationalInternal":{"tmp":"tmp/biome-config_0.3.0_1769939116218_0.49901650841557177","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@aprx/biome-config","version":"0.4.0","author":{"name":"Aperrix"},"license":"MIT","_id":"@aprx/biome-config@0.4.0","maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"dist":{"shasum":"b23d6699d0b34ea1e09c8483830c325bce004345","tarball":"https://registry.npmjs.org/@aprx/biome-config/-/biome-config-0.4.0.tgz","fileCount":10,"integrity":"sha512-HcjAnDdBZ2aGy5loxpVhFBPBDFd05pcjAC/7bta1H49DkSKjfv9Qn1REwoj1/v0JQ1EkO1hEo8J2Z+thwrqtSw==","signatures":[{"sig":"MEUCIDgmlopdm9zm+eNOECPRKSytOfvhUS7Q3RxWeS5i+lXPAiEAgJ3AhU0haVBEEzvjgODDlNlCjG+HO+nqADVskzQpe5s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35474},"type":"module","exports":{".":"./src/base.jsonc","./dom":"./src/dom.jsonc","./lib":"./src/lib.jsonc","./vue":"./src/vue.jsonc","./react":"./src/react.jsonc","./nextjs":"./src/nextjs.jsonc","./testing":"./src/testing.jsonc"},"gitHead":"8bad29c385e81bf4d5bb723ae86d037797920b70","_npmUser":{"name":"aperrix","email":"aperrix@gmail.com"},"repository":{"url":"git+https://github.com/aperrix/code-quality-tools.git","type":"git","directory":"packages/biome"},"_npmVersion":"10.9.3","description":"An opinionated Biome configuration","directories":{},"_nodeVersion":"22.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@biomejs/biome":"^2.3.9"},"_npmOperationalInternal":{"tmp":"tmp/biome-config_0.4.0_1769957682377_0.5768486104856285","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@aprx/biome-config","version":"0.4.1","description":"An opinionated Biome configuration","homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","repository":{"type":"git","url":"git+https://github.com/aperrix/code-quality-tools.git","directory":"packages/biome"},"license":"MIT","author":{"name":"Aperrix"},"type":"module","exports":{".":"./src/base.jsonc","./dom":"./src/dom.jsonc","./lib":"./src/lib.jsonc","./nextjs":"./src/nextjs.jsonc","./react":"./src/react.jsonc","./testing":"./src/testing.jsonc","./vue":"./src/vue.jsonc"},"peerDependencies":{"@biomejs/biome":"^2.3.9"},"publishConfig":{"access":"public"},"_id":"@aprx/biome-config@0.4.1","gitHead":"b9f9270793ec2e9b9431fd595df1378516a7e218","bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"_nodeVersion":"22.18.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-GLx1tqRDKw/l46YhdmVti8evvfhFI7aOGKLdwFYPL01TvRQ6AKLpDXCkmC6uc0ph/+GZf9yYs7LsNiURd7g+tg==","shasum":"458c84646a27e8a601ad366830eb14877afae872","tarball":"https://registry.npmjs.org/@aprx/biome-config/-/biome-config-0.4.1.tgz","fileCount":10,"unpackedSize":35474,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGuRcaA7KcPovjCLYec3OSin1Y3eJpR3Su6DBMQI/LNKAiEA7ugknN/jrO8V8orY49R9L7b/a4B5D7c5aJug8jhxtdo="}]},"_npmUser":{"name":"aperrix","email":"aperrix@gmail.com"},"directories":{},"maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/biome-config_0.4.1_1769958329501_0.09931472318980261"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-31T18:06:20.463Z","modified":"2026-02-01T15:05:29.834Z","0.1.0":"2026-01-31T18:06:20.728Z","0.2.0":"2026-01-31T19:16:23.527Z","0.3.0":"2026-02-01T09:45:16.366Z","0.4.0":"2026-02-01T14:54:42.529Z","0.4.1":"2026-02-01T15:05:29.665Z"},"bugs":{"url":"https://github.com/aperrix/code-quality-tools/issues"},"author":{"name":"Aperrix"},"license":"MIT","homepage":"https://github.com/aperrix/code-quality-tools/tree/main/packages/biome#readme","repository":{"type":"git","url":"git+https://github.com/aperrix/code-quality-tools.git","directory":"packages/biome"},"description":"An opinionated Biome configuration","maintainers":[{"name":"aperrix","email":"aperrix@gmail.com"}],"readme":"# @aprx/biome-config\n\n## Setup\n\n- Install the package\n\n```bash\nnpm install --dev @aprx/biome-config @biomejs/biome\n```\n\n- Choose which preset you need from the [list](#presets) below and add it to your `biome.json`\n\n```json\n{\n  \"extends\": [\"@aprx/biome-config/react\", \"@aprx/biome-config/testing\"]\n}\n```\n\n## Presets\n\n### Hierarchy\n\nPresets are organized in layers. Each preset inherits all rules from its parent:\n\n```txt\nbase                  Universal JS/TS rules (formatter, linter, assist)\n├── dom               + browser/DOM rules (a11y, security)\n│   ├── react         + React-specific rules\n│   │   └── nextjs    + Next.js-specific rules\n│   └── vue           + Vue-specific rules\n└── lib               + Node.js-specific rules\n\ntesting               Composable with any preset above\n```\n\n### Reference\n\n| Preset                           | Use case                                   |\n|----------------------------------|--------------------------------------------|\n| ```@aprx/biome-config```         | Base rules only (e.g. universal library)   |\n| ```@aprx/biome-config/dom```     | Browser/DOM application without framework  |\n| ```@aprx/biome-config/lib```     | Node.js library or backend service         |\n| ```@aprx/biome-config/react```   | React application (includes `dom`)         |\n| ```@aprx/biome-config/nextjs```  | Next.js application (includes `react`)     |\n| ```@aprx/biome-config/vue```     | Vue application (includes `dom`)           |\n| ```@aprx/biome-config/testing``` | Test files (combine with any preset above) |\n\n### Examples\n\nReact application with tests:\n\n```json\n{\n  \"extends\": [\"@aprx/biome-config/react\", \"@aprx/biome-config/testing\"]\n}\n```\n\nNode.js backend with tests:\n\n```json\n{\n  \"extends\": [\"@aprx/biome-config/lib\", \"@aprx/biome-config/testing\"]\n}\n```\n\nVanilla browser application:\n\n```json\n{\n  \"extends\": [\"@aprx/biome-config/dom\"]\n}\n```\n\n## Monorepo usage\n\nIn a monorepo, create a `biome.json` at the root and per-package configs that extend it using the `\"//\"` syntax:\n\n```txt\nmonorepo/\n├── biome.json                  Root config\n├── packages/\n│   ├── ui/\n│   │   └── biome.json          Extends root + react preset\n│   ├── api/\n│   │   └── biome.json          Extends root + lib preset\n│   └── shared/\n│       └── biome.json          Extends root only\n```\n\nRoot `biome.json`:\n\n```json\n{\n  \"extends\": [\"@aprx/biome-config\"]\n}\n```\n\nPackage `packages/ui/biome.json`:\n\n```json\n{\n  \"extends\": [\"//\", \"@aprx/biome-config/react\", \"@aprx/biome-config/testing\"]\n}\n```\n\nThe `\"//\"` syntax tells Biome to inherit from the root configuration regardless of the package location. See the [Biome monorepo guide][biome-mono] for more details.\n\n## VS Code integration\n\nInstall the [Biome extension][biome-extension] (`biomejs.biome`), then add the following to your `.vscode/settings.json`:\n\n```json\n{\n  \"editor.defaultFormatter\": \"biomejs.biome\",\n  \"editor.formatOnSave\": true,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.biome\": \"explicit\",\n    \"source.organizeImports.biome\": \"explicit\"\n  }\n}\n```\n\nThis enables format on save, auto-fix of lint issues, and import sorting.\n\n## Resources\n\n- <https://biomejs.dev/>\n- <https://biomejs.dev/guides/big-projects/>\n- <https://biomejs.dev/reference/vscode/>\n\n## License\n\nMIT\n\n[biome-mono]: https://biomejs.dev/guides/big-projects/\n[biome-extension]: https://marketplace.visualstudio.com/items?itemName=biomejs.biome\n","readmeFilename":"README.md"}