{"name":"eslint-config-xo-react","version":"0.31.0","description":"ESLint shareable config for React to be used with eslint-config-xo","license":"MIT","repository":{"type":"git","url":"git+https://github.com/xojs/eslint-config-xo-react.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18.18"},"scripts":{"test":"eslint && ava"},"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"],"dependencies":{"eslint-plugin-react":"^7.37.5","eslint-plugin-react-hooks":"^7.0.1"},"devDependencies":{"ava":"^6.4.1","eslint":"^9.38.0","react":"^19.2.0"},"peerDependencies":{"eslint":">=9.18.0"},"gitHead":"396efc68dcdbd19b040094742b59a27530eb6234","types":"./index.d.ts","_id":"eslint-config-xo-react@0.31.0","bugs":{"url":"https://github.com/xojs/eslint-config-xo-react/issues"},"homepage":"https://github.com/xojs/eslint-config-xo-react#readme","_nodeVersion":"22.22.3","_npmVersion":"11.17.0","dist":{"integrity":"sha512-TXw9DHiuBgZfrxCr4SmQEjO8rSyS6hTw/NjN3bxM9hCt5ewpi7kgDQwngFKMHCkp7tJDPZSAtkQMCCQVQqGWxQ==","shasum":"7ee118a6bf332da1e10e7bc0fb3e11ed1692f839","tarball":"http://registry-npm.ywwl.com/eslint-config-xo-react/download/eslint-config-xo-react-0.31.0.tgz","fileCount":5,"unpackedSize":10885,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIBxORYFQNzY/AY0XB5pHmd5yzB3zXS7glJtOPsl0bEKJAiEA73nAeA3gbk4pHv4w8zS9+tfmn9cKAuzRDsPBkarH4Tc="}],"size":3888,"noattachment":false,"key":"/eslint-config-xo-react/-/eslint-config-xo-react-0.31.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"},{"name":"marionebl","email":"hello@mario-nebl.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/eslint-config-xo-react_0.31.0_1782554815266_0.5439243691515294"},"_hasShrinkwrap":false,"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":1782554815416,"_cnpm_publish_time":1782554815416,"dist-tags":{"latest":"0.32.0"}}