{"_id":"@bschlenk/eslint-config","_rev":"8-355570570993f303156a97ea051a2b86","name":"@bschlenk/eslint-config","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@bschlenk/eslint-config","version":"0.0.1","keywords":["eslint","eslintconfig","flat"],"author":{"name":"Brian Schlenker","email":"bschlenk@umich.edu"},"license":"MIT","_id":"@bschlenk/eslint-config@0.0.1","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"dist":{"shasum":"19c6617262853556c4e902526412d98c0c7b478b","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.1.tgz","fileCount":3,"integrity":"sha512-ih0t+3q6aYEdU6y5KmDdXx4B+F57ZN2KVRg90fkUD4vOgwCGlUIXU3703BzWXsYT0428/S7AxJygDQ06H3TlYg==","signatures":[{"sig":"MEUCIFWpCsK3yDvkPaHJSBZzS049YQkeVJtpb8o7tDE2+eLyAiEA7mnofNOZyi8K1eYOiCEJZg+W9Xo6YnDGKt3rtjtbKl4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5133},"type":"module","_from":"file:bschlenk-eslint-config-0.0.1.tgz","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint ."},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"_resolved":"/private/var/folders/xr/72msxtt17z97yqx5_p4m0tj00000gn/T/30a41b2477d51a354ab9e27093cda1ca/bschlenk-eslint-config-0.0.1.tgz","_integrity":"sha512-ih0t+3q6aYEdU6y5KmDdXx4B+F57ZN2KVRg90fkUD4vOgwCGlUIXU3703BzWXsYT0428/S7AxJygDQ06H3TlYg==","_npmVersion":"10.8.1","description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"20.16.0","dependencies":{"globals":"^15.9.0","@eslint/js":"^9.11.1","@eslint/compat":"^1.1.1","typescript-eslint":"^8.7.0","eslint-plugin-react":"^7.36.1","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-simple-import-sort":"^12.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.11.1"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.1_1727321440280_0.9730406460515808","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@bschlenk/eslint-config","version":"0.0.2","keywords":["eslint","eslintconfig","flat"],"author":{"name":"Brian Schlenker","email":"bschlenk@umich.edu"},"license":"MIT","_id":"@bschlenk/eslint-config@0.0.2","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"bin":{"eslint-init":"bin/eslint-init"},"dist":{"shasum":"83db1e640f6a988f4bef9b03bea7974527afd9fa","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.2.tgz","fileCount":4,"integrity":"sha512-tL0S7zZuP3ITUcyNuJSkZ6JKpQCOTis8tYSzSEsLSE61mWCXjwLHdpgp58BUJ/ylP3WhuR/pPWD3tIUyS+802Q==","signatures":[{"sig":"MEQCIGJ4Pfu308xPCO0CFTfVtLIPn1VTsdazjiHu9WO9bEnPAiB/yYxTp06RuT1ggTEMUXly2u5mAAl3mXiKNGK5z5Xcbw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6623},"type":"module","_from":"file:bschlenk-eslint-config-0.0.2.tgz","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint ."},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"_resolved":"/private/var/folders/xr/72msxtt17z97yqx5_p4m0tj00000gn/T/ad3f6291b90d7715c8a4e3449b101d0b/bschlenk-eslint-config-0.0.2.tgz","_integrity":"sha512-tL0S7zZuP3ITUcyNuJSkZ6JKpQCOTis8tYSzSEsLSE61mWCXjwLHdpgp58BUJ/ylP3WhuR/pPWD3tIUyS+802Q==","_npmVersion":"10.8.1","description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"20.16.0","dependencies":{"globals":"^15.9.0","@eslint/js":"^9.11.1","@eslint/compat":"^1.1.1","typescript-eslint":"^8.7.0","eslint-plugin-react":"^7.36.1","eslint-plugin-import":"^2.30.0","eslint-config-prettier":"^9.1.0","eslint-plugin-react-hooks":"^4.6.2","eslint-plugin-simple-import-sort":"^12.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.11.1"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.2_1728952768012_0.5656925129569605","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@bschlenk/eslint-config","version":"0.0.3","keywords":["eslint","eslintconfig","flat"],"author":{"name":"Brian Schlenker","email":"bschlenk@umich.edu"},"license":"MIT","_id":"@bschlenk/eslint-config@0.0.3","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"bin":{"eslint-init":"bin/eslint-init"},"dist":{"shasum":"d02846fda0bd3fe030d1d997c3942a3c8a4d914f","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.3.tgz","fileCount":4,"integrity":"sha512-e+VPKFqHoyvrOVf7VMazDbub1aES6y9Sm29P9M7ppq9jLKIyS0xhmi+Ez0lIgCGxjfrU3rRutyIPyUxdQJvwVw==","signatures":[{"sig":"MEUCIQDMwW2fKn9RA1ImILO83QAOoM7dYa1bdEOXYafTgRMS6wIgU4+YYwZYSrgFYPIAZyfj6Sp60o8YOumaI9CxSFey/+0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6632},"type":"module","_from":"file:bschlenk-eslint-config-0.0.3.tgz","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest"},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"_resolved":"/private/var/folders/xr/72msxtt17z97yqx5_p4m0tj00000gn/T/f5f987c6fafefaec6427225958e1f4c6/bschlenk-eslint-config-0.0.3.tgz","_integrity":"sha512-e+VPKFqHoyvrOVf7VMazDbub1aES6y9Sm29P9M7ppq9jLKIyS0xhmi+Ez0lIgCGxjfrU3rRutyIPyUxdQJvwVw==","_npmVersion":"10.8.1","description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"20.16.0","dependencies":{"globals":"^15.11.0","@eslint/js":"^9.12.0","typescript-eslint":"^8.9.0","eslint-plugin-react":"^7.37.1","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^9.1.0","eslint-plugin-react-hooks":"^5.0.0","eslint-plugin-simple-import-sort":"^12.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.12.0","vitest":"^2.1.3","@types/node":"^22.7.5","@types/react":"^18.3.11"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.3_1728957695117_0.40692689695460604","host":"s3://npm-registry-packages"}},"0.0.4":{"name":"@bschlenk/eslint-config","version":"0.0.4","keywords":["eslint","eslintconfig","flat"],"author":{"name":"Brian Schlenker","email":"bschlenk@umich.edu"},"license":"MIT","_id":"@bschlenk/eslint-config@0.0.4","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"bin":{"eslint-init":"bin/eslint-init"},"dist":{"shasum":"2528dc19dbd0f04ef864facf8fa4de5cd4f2e815","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.4.tgz","fileCount":4,"integrity":"sha512-Ko7YrhlLXRUUXrR/fnvKm0eP98bY9Bn6Q9TXnvMFiHJoUBpE9/IEhrgKaBOkog9wU/CFdaWtkTIlnj8FDmbiuA==","signatures":[{"sig":"MEQCIHPQPXNA288ss9snjO4Fkq6UxaQMhVUWD212ej8f6CnRAiAerJd0mh9b22nvlym/NWA0BpZq0XDqhY1B+CQHFQQo4Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6824},"type":"module","_from":"file:bschlenk-eslint-config-0.0.4.tgz","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest"},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"_resolved":"/private/var/folders/xr/72msxtt17z97yqx5_p4m0tj00000gn/T/a905af45698f0f54f4c73661d2fbe871/bschlenk-eslint-config-0.0.4.tgz","_integrity":"sha512-Ko7YrhlLXRUUXrR/fnvKm0eP98bY9Bn6Q9TXnvMFiHJoUBpE9/IEhrgKaBOkog9wU/CFdaWtkTIlnj8FDmbiuA==","_npmVersion":"10.9.2","description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"22.14.0","dependencies":{"globals":"^16.2.0","@eslint/js":"^9.28.0","typescript-eslint":"^8.33.0","eslint-plugin-react":"^7.37.5","eslint-plugin-import":"^2.31.0","eslint-config-prettier":"^10.1.5","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-simple-import-sort":"^12.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.28.0","vitest":"^3.1.4","@types/node":"^22.15.29","@types/react":"^19.1.6"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.4_1749001935450_0.7641289346867581","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@bschlenk/eslint-config","version":"0.0.5","keywords":["eslint","eslintconfig","flat"],"author":{"name":"Brian Schlenker","email":"bschlenk@umich.edu"},"license":"MIT","_id":"@bschlenk/eslint-config@0.0.5","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"homepage":"https://github.com/bschlenk/bschlenk.js#readme","bugs":{"url":"https://github.com/bschlenk/bschlenk.js/issues"},"bin":{"eslint-init":"bin/eslint-init"},"dist":{"shasum":"3e213c9ede13a5628775ae52faae53e18d6d11f0","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.5.tgz","fileCount":4,"integrity":"sha512-/MsTJu1Ba7adf7u/TjEiRrWGFbkxHplcE0OzhXVY67aM3gETOKWdtyFQdWfuAdsPQfnBqNsnsCPSxaQ+3Rc9iQ==","signatures":[{"sig":"MEQCIA8O6AUJxIfJ+YeujwXyUJQeM46Iy9Rl/71qm6UU5vj6AiBIlvFDZdkWaXCNcJQoGptonWPyhm8gWZsE7pcLsa8zVA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7169},"type":"module","_from":"file:bschlenk-eslint-config-0.0.5.tgz","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest"},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"_resolved":"/private/var/folders/xr/72msxtt17z97yqx5_p4m0tj00000gn/T/6d8b69630ad37c42dfaf2fa4ba8e1204/bschlenk-eslint-config-0.0.5.tgz","_integrity":"sha512-/MsTJu1Ba7adf7u/TjEiRrWGFbkxHplcE0OzhXVY67aM3gETOKWdtyFQdWfuAdsPQfnBqNsnsCPSxaQ+3Rc9iQ==","repository":{"url":"git+https://github.com/bschlenk/bschlenk.js.git","type":"git","directory":"packages/eslint-config"},"_npmVersion":"11.11.0","description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"25.8.0","dependencies":{"globals":"^17.4.0","@eslint/js":"^10.0.1","typescript-eslint":"^8.57.2","eslint-plugin-import":"^2.32.0","eslint-plugin-unicorn":"^63.0.0","eslint-config-prettier":"^10.1.8","@stylistic/eslint-plugin":"^5.10.0","@eslint-react/eslint-plugin":"^3.0.0","eslint-plugin-simple-import-sort":"^12.1.1"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.1.0","vitest":"^4.1.1","@types/node":"^25.5.0","@types/react":"^19.2.14"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.5_1774410145815_0.7947824539334245","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@bschlenk/eslint-config","version":"0.0.6","keywords":["eslint","eslintconfig","flat"],"author":"Brian Schlenker <bschlenk@umich.edu>","license":"MIT","_id":"@bschlenk/eslint-config@0.0.6","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"dist":{"shasum":"0dc3ef13d522a0e7836796a9c276fa8039911923","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.6.tgz","fileCount":5,"integrity":"sha512-d+q/jMAUPXR9d5uJIlR3jeJbf2IOyB9GdVO/hNAYAQVutctpMepxEynSnh4gqyeJV4IIXaq5t5dn7V8ffao2ow==","signatures":[{"sig":"MEQCIHQ0Lwfy/59tVlo8AvYTzFCI17NXFBWh2nyJnyzPT2oGAiAPRBmkSzeBb0eS2bue/NuoZB/wUOf7kiQcz41EBeeKBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10337},"type":"module","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest"},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"repository":{"url":"https://github.com/bschlenk/bschlenk.js.git","type":"git","directory":"packages/eslint-config"},"description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"25.8.0","dependencies":{"globals":"^17.7.0","@eslint/js":"^10.0.1","typescript-eslint":"^8.62.1","eslint-plugin-import":"^2.32.0","eslint-plugin-unicorn":"^70.0.0","eslint-config-prettier":"^10.1.8","@stylistic/eslint-plugin":"^5.10.0","@eslint-react/eslint-plugin":"^5.10.2","eslint-plugin-simple-import-sort":"^13.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.6.0","vitest":"^4.1.9","@types/node":"^26.1.0","@types/react":"^19.2.17"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.6_1783097116044_0.8718679464735362","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@bschlenk/eslint-config","version":"0.0.7","keywords":["eslint","eslintconfig","flat"],"author":"Brian Schlenker <bschlenk@umich.edu>","license":"MIT","_id":"@bschlenk/eslint-config@0.0.7","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"dist":{"shasum":"a5e710703b23f2253005512bddebdae0e8e24c57","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.7.tgz","fileCount":5,"integrity":"sha512-92AU7n75FT1g13YACva6+jWa+ZnoKsLkcVlbDa4+7XkrdiBK+nPCMFfslWXRnI4nmwv19ucVXnx7tb1EF96Iyw==","signatures":[{"sig":"MEUCIHAonCK2Gy5XPIsWgm8A+gTjSUZisMLVHg44B6PIjlPiAiEAiXYTyHGlFQbgwUEMXeAOS6El6kpRDH/blSJnEQ8Ezu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10342},"type":"module","exports":{".":"./index.js","./package.json":"./package.json"},"scripts":{"lint":"eslint .","test":"vitest"},"_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"repository":{"url":"https://github.com/bschlenk/bschlenk.js.git","type":"git","directory":"packages/eslint-config"},"description":"My personal eslint config.","directories":{"bin":"./bin"},"_nodeVersion":"25.8.0","dependencies":{"globals":"^17.7.0","@eslint/js":"^10.0.1","typescript-eslint":"^8.62.1","eslint-plugin-import":"^2.32.0","eslint-plugin-unicorn":"^70.0.0","eslint-config-prettier":"^10.1.8","@stylistic/eslint-plugin":"^5.10.0","@eslint-react/eslint-plugin":"^5.10.2","eslint-plugin-simple-import-sort":"^13.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.6.0","vitest":"^4.1.9","@types/node":"^26.1.0","@types/react":"^19.2.17"},"peerDependencies":{"eslint":">= 9"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config_0.0.7_1783562230718_0.8870111396281741","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"_id":"@bschlenk/eslint-config@0.0.8","dist":{"shasum":"302e257f62e1eb5f098389ddcd059ede20d1707a","tarball":"https://registry.npmjs.org/@bschlenk/eslint-config/-/eslint-config-0.0.8.tgz","fileCount":5,"integrity":"sha512-vPNZD5TF4FvmhojMPh7Q1oZHogHO2aOUmh6h84OWyTSw71jOrziTQSOsIVAzTTxfpcUXSxUgN/wRw6BgeMFfiQ==","signatures":[{"sig":"MEUCIHOwFhXWdYetJRSFBc+AILeXKpVfZeD1d5IQrn2IasLgAiEAojrlT5Tqj6bwlZofhL+O6b4xU+C7hrANydy5cK/4UfU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChnREwu2su8XfN+mKdS3hxGdRq8FUqWuTPhL+QuSP+HQIhAIf2oiVpabftsgYlRDcCtUMW9KbZPsG+KivDDRnAXbiI"}],"unpackedSize":12427},"name":"@bschlenk/eslint-config","type":"module","author":"Brian Schlenker <bschlenk@umich.edu>","exports":{".":"./index.js","./package.json":"./package.json"},"license":"MIT","scripts":{"lint":"eslint --ignore-pattern 'test/**' .","test":"vitest"},"version":"0.0.8","_npmUser":{"name":"bschlenk1","email":"bschlenk@umich.edu"},"keywords":["eslint","eslintconfig","flat"],"repository":{"url":"https://github.com/bschlenk/bschlenk.js.git","type":"git","directory":"packages/eslint-config"},"description":"My personal eslint config.","directories":{"bin":"./bin"},"maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"dependencies":{"globals":"^17.12.0","@eslint/js":"^10.0.1","typescript-eslint":"^8.70.1","eslint-plugin-unicorn":"^70.0.0","eslint-config-prettier":"^10.1.8","@stylistic/eslint-plugin":"^5.10.0","eslint-plugin-import-lite":"^0.6.0","eslint-plugin-react-hooks":"^7.1.1","@eslint-react/eslint-plugin":"5.20.5","eslint-plugin-simple-import-sort":"^14.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^10.11.0","@types/node":"^26.1.0","@types/react":"^19.3.0"},"peerDependencies":{"eslint":"^10"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config_0.0.8_1790299635077_0.30501000365815445"}}},"time":{"created":"2024-09-26T03:30:40.140Z","modified":"2026-09-25T01:27:15.332Z","0.0.1":"2024-09-26T03:30:40.502Z","0.0.2":"2024-10-15T00:39:28.270Z","0.0.3":"2024-10-15T02:01:35.287Z","0.0.4":"2025-06-04T01:52:15.622Z","0.0.5":"2026-03-25T03:42:25.954Z","0.0.6":"2026-07-03T16:45:16.199Z","0.0.7":"2026-07-09T01:57:10.855Z","0.0.8":"2026-09-25T01:27:15.158Z"},"author":"Brian Schlenker <bschlenk@umich.edu>","license":"MIT","keywords":["eslint","eslintconfig","flat"],"repository":{"url":"https://github.com/bschlenk/bschlenk.js.git","type":"git","directory":"packages/eslint-config"},"description":"My personal eslint config.","maintainers":[{"name":"bschlenk1","email":"bschlenk@umich.edu"}],"readme":"# @bschlenk/eslint-config\n\nMy personal ESLint flat config. Ships six composable config arrays (`javascript`, `typescript`, `react`, `browser`, `node`, `cli`) plus an `eslint-init` script that generates a starting `eslint.config.js` for a project.\n\n## Install\n\n```sh\npnpm add -D @bschlenk/eslint-config eslint\n```\n\n## Quick start: `eslint-init`\n\nThe package ships a bin script, `eslint-init`, that inspects the current project and writes an `eslint.config.js` for you:\n\n```sh\npnpm exec eslint-init --type browser\n```\n\nChoose `browser`, `node`, or `cli` for `--type`. The option is required.\n\nIt detects your setup by checking, from the current working directory:\n\n- **TypeScript**: whether a `./tsconfig.json` file exists.\n- **React**: whether `react` or `react-dom` is listed in `dependencies` or `peerDependencies` in `./package.json`.\n\nBased on that, it picks the appropriate base config (`typescript` or `javascript`), adds the requested runtime config and `react` if needed, sets up the right `files` globs (`.js`/`.ts`/`.jsx`/`.tsx` as appropriate), and — for TypeScript projects — points `parserOptions.project` at your `tsconfig.json` so that type-aware rules work. Run it once, then adjust the generated file by hand if your setup needs anything more specific.\n\n## Manual setup\n\nIf you'd rather write the config yourself, or `eslint-init`'s detection doesn't fit your project, import the flavor(s) you need directly:\n\n```js\nimport bschlenk from '@bschlenk/eslint-config'\n\nexport default [...bschlenk.configs.javascript]\n```\n\n### The six configs\n\n- **`javascript`** and **`typescript`** are the base configs and are **mutually exclusive** — pick whichever matches the project. `typescript` includes everything `javascript` does, plus `typescript-eslint`'s type-checked rules, so don't spread both.\n- **`browser`**, **`node`**, and **`cli`** supply runtime globals. Choose one based on where the code runs. The `node` preset disallows `console`; the `cli` preset allows it.\n- **`react`** is an add-on, not a base config. Spread it _in addition to_ whichever base you picked, for projects that use React.\n\nFor example, a browser project using TypeScript and React can use all three:\n\n```js\nimport bschlenk, { globals } from '@bschlenk/eslint-config'\n\nexport default [\n  {\n    languageOptions: {\n      parserOptions: { project: './tsconfig.json' },\n      globals: { ...globals.es2022 },\n    },\n  },\n\n  ...bschlenk.configs.typescript,\n  ...bschlenk.configs.browser,\n  ...bschlenk.configs.react,\n]\n```\n\nThe base and React configs include rule overrides, so they can be composed as shown above. See `index.js` for details.\n\nThe `globals` export is re-exported from the [`globals`](https://www.npmjs.com/package/globals) package for convenience when filling in `languageOptions.globals`.\n","readmeFilename":""}