{"name":"eslint-config-xo-react","version":"0.28.0","keywords":["react","jsx","eslintconfig","xo","xoxo","hugs","kisses","happy","happiness","code","quality","style","lint","linter","jscs","jshint","jslint","eslint","validate","code style","standard","strict","check","checker","verify","enforce","hint","simple"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"eslint-config-xo-react@0.28.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"marionebl","email":"hello@mario-nebl.de"}],"homepage":"https://github.com/xojs/eslint-config-xo-react#readme","bugs":{"url":"https://github.com/xojs/eslint-config-xo-react/issues"},"dist":{"shasum":"9ceb31504d18c1002701af95c47ffe9b5dff4948","tarball":"http://registry-npm.ywwl.com/eslint-config-xo-react/download/eslint-config-xo-react-0.28.0.tgz","fileCount":5,"integrity":"sha512-dKvxB9kxMNLhWKsh6yiptACet+/WwKcN7ID2hIBAmjH6le4tt8um4sJ0/aAH6y+xle9tPrasX1Wnz90muCoz9A==","signatures":[{"sig":"MEQCIGWY/mOG+do1WvhkBUp0V/hkf9qU+X7PI498Ouh556euAiAYyHFpo75C6aqc31cRipA2eG1d9cHbTXIYQJPPE+e9jA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9239,"size":3371,"noattachment":false,"key":"/eslint-config-xo-react/-/eslint-config-xo-react-0.28.0.tgz"},"type":"module","engines":{"node":">=18.18"},"exports":{".":"./index.js","./space":"./space.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"e428bdff52fc9283fba32e286f0ae1eb7ac75e83","scripts":{"test":"eslint && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/xojs/eslint-config-xo-react.git","type":"git"},"_npmVersion":"10.9.0","description":"ESLint shareable config for React to be used with eslint-config-xo","directories":{},"sideEffects":false,"_nodeVersion":"23.3.0","dependencies":{"eslint-plugin-react":"^7.37.4","eslint-plugin-react-hooks":"^5.1.0"},"_hasShrinkwrap":false,"devDependencies":{"ava":"^6.2.0","react":"^19.0.0","eslint":"^9.18.0"},"peerDependencies":{"eslint":">=9.18.0"},"_npmOperationalInternal":{"tmp":"tmp/eslint-config-xo-react_0.28.0_1737440093623_0.07642274321725773","host":"s3://npm-registry-packages-npm-production"},"readme":"# eslint-config-xo-react\n\n> ESLint [shareable config](http://eslint.org/docs/developer-guide/shareable-configs.html) for React to be used with [eslint-config-xo](https://github.com/xojs/eslint-config-xo)\n\n## Install\n\n```sh\nnpm install --save-dev eslint-config-xo eslint-config-xo-react\n```\n\n## Usage\n\nAdd some ESLint config to your `eslint.config.js`:\n\n```js\nimport eslintConfigXo from 'eslint-config-xo';\nimport eslintConfigXoReact from 'eslint-config-xo-react';\nimport {defineConfig} from 'eslint/config';\n\nexport default defineConfig([\n\t...eslintConfigXo(),\n\t...eslintConfigXoReact(),\n]);\n```\n\n### Options\n\n#### space\n\nType: `boolean | number`\\\nDefault: `false`\n\nUse spaces for indentation instead of tabs for JSX props. Set to `true` for 2 spaces, or a number for a custom count.\n\n```js\nexport default defineConfig([\n\t...eslintConfigXo({space: true}),\n\t...eslintConfigXoReact({space: true}),\n]);\n```\n\n<!-- ## Tip\n\n### Use with XO\n\n```sh\nnpm install --save-dev eslint-config-xo-react eslint-plugin-react eslint-plugin-react-hooks\n```\n\n```json\n{\n\t\"name\": \"my-awesome-project\",\n\t\"xo\": {\n\t\t\"extends\": \"xo-react\"\n\t}\n}\n``` -->\n\n## Related\n\n- [eslint-config-xo](https://github.com/xojs/eslint-config-xo) - ESLint shareable config for XO\n- [XO](https://github.com/xojs/xo)\n","publish_time":1737440093805,"_cnpm_publish_time":1737440093805,"dist-tags":{"latest":"0.32.0"}}