{"name":"eslint-config-xo","version":"0.40.0","description":"ESLint shareable config for XO","license":"MIT","repository":{"type":"git","url":"git+https://github.com/xojs/eslint-config-xo.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=12"},"scripts":{"test":"eslint . && ava"},"keywords":["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":{"confusing-browser-globals":"1.0.11"},"devDependencies":{"ava":"^2.4.0","eslint":"^8.6.0","is-plain-obj":"^3.0.0"},"peerDependencies":{"eslint":">=8.6.0"},"gitHead":"80f833914d8a84f7bf6d81d626b2cd797013a00a","bugs":{"url":"https://github.com/xojs/eslint-config-xo/issues"},"homepage":"https://github.com/xojs/eslint-config-xo#readme","_id":"eslint-config-xo@0.40.0","_nodeVersion":"16.13.1","_npmVersion":"8.3.2","dist":{"integrity":"sha512-msI1O0JGxeK2bbExg3U6EGaWKcjhOFzEjwzObywG/DC5GSNZTOyJT+b2l9MZGBeZsVdxfIGwdXTNeWXl8cN9iw==","shasum":"a95ba5e38de6d1b7563b0dcd48f8435055a629d5","tarball":"http://registry-npm.ywwl.com/eslint-config-xo/download/eslint-config-xo-0.40.0.tgz","fileCount":5,"unpackedSize":16473,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiA7T9CRA9TVsSAnZWagAAwhwP/1MokuXftyPQRLlCOm1j\nBTxXrIP76JaVq+TpY0aw5UwRQQJukC7hI8+kdngsWqLniUErvDyoJ08PSR4D\n+gsgpJqswjK72fM5zBPHcu6b7CU4HaGMpynEYwBGCDkU8YyQi/6+oPCYJbhY\nI8iz8QCInaxHTaCHQ9ONt1N8CW2lpwvng4Iedz1WRrCX7gl7Ck0hgEUjSiQ3\nRwZ4eNbu9IGOtmyFBzuvT84RvNYc3bNthBEv0nj/Z3O7E8guBtziG6tYWYgp\nnlnHBPzbDRlpl0U8JUxVZXgZu5r0qfippIAWaeJQId/HU4jEtp5TYNvERzMB\nqT8F0aHIgx50+a/CJAB+I3w89d/US7VxB3twLOuOS5kMRu3i76TNiXe5KSNR\nCpUtRN0p509uvdnAm1ZAhVM4YwIMTAdBwOC1+OoqUsw1LIdwdBl2TurbZKB5\nIzqqmN6MYtfdyybo0EXJ1yLzq7M+qGU5pwRRFOKmKQEkjEHXkaad/9DH5h98\nr/2Hkz9M5cH1F1rgz9bREAkCRwQohYsbT2MafmlfOCFGJHaUDF3rT/NdNl8s\nRSHbQ1f+mE54vYY5NVkevx946PoGaXLoqY2ZDvNe2Z9S7/2pdQvHDjK6+dI/\nfS5JFzT4B/hS9U8ZMQBVn83djeKC6zwsI9rg0Wn5TK/eNsT5ZNYrSCPHUe0o\nacGx\r\n=ajMw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpt/CPUgFjY+pkqD1qxzUQTmnjhAXA3ZE6jnVUD7aS/QIhAOVV4L9kzG3AhTWJfapfXIKmVfnse2DkSJM4/L2gHT/W"}],"size":5489,"noattachment":false,"key":"/eslint-config-xo/-/eslint-config-xo-0.40.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","tmp":"tmp/eslint-config-xo_0.40.0_1644410108931_0.5214093943297737"},"_hasShrinkwrap":false,"readme":"# eslint-config-xo\n\n> ESLint [shareable config](https://eslint.org/docs/developer-guide/shareable-configs.html) for [XO](https://github.com/xojs/xo)\n\nThis is for advanced users. [You probably want to use XO directly.](#use-the-xo-cli-instead)\n\nSee [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) for some additional useful rules.\n\n**Use the [XO issue tracker](https://github.com/xojs/xo/issues) instead of this one.**\n\n## Install\n\n```sh\nnpm install --save-dev eslint-config-xo\n```\n\n## Usage\n\nAdd some ESLint config to your `package.json`:\n\n```json\n{\n\t\"name\": \"my-awesome-project\",\n\t\"eslintConfig\": {\n\t\t\"extends\": \"xo\"\n\t}\n}\n```\n\nOr to `.eslintrc`:\n\n```json\n{\n\t\"extends\": \"xo\"\n}\n```\n\nThis package also exposes [`xo/browser`](browser.js) if you're in the browser:\n\n```json\n{\n\t\"extends\": \"xo/browser\"\n}\n```\n\n## Use the XO CLI instead\n\nXO is an ESLint wrapper with great defaults.\n\nHere are some reason why you should use the [XO CLI](https://github.com/xojs/xo) instead of this config:\n\n- XO comes bundled with this config.\n- [Beautiful output.](https://github.com/sindresorhus/eslint-formatter-pretty)\n- Bundles many useful plugins, like [`eslint-plugin-unicorn`](https://github.com/sindresorhus/eslint-plugin-unicorn), [`eslint-plugin-import`](https://github.com/benmosher/eslint-plugin-import), [`eslint-plugin-ava`](https://github.com/avajs/eslint-plugin-ava), and more.\n- No need to specify file paths to lint. It will lint all JS files except [commonly ignored paths](https://github.com/xojs/xo#ignores).\n- Super simple to add XO to a project with [`$ npm init xo`](https://github.com/xojs/create-xo).\n- Specify `indent` and `semicolon` preferences easily without messing with the rule config.\n- Config/rule overrides per files/globs.\n- Can open all files with errors at the correct line in your editor. *(See the `--open` flag)*\n- The [editor plugins](https://github.com/xojs/xo#editor-plugins) are IMHO better than the ESLint ones. *(Subjective)*\n\ntl;dr You miss out on a lot by just using this config.\n\n## Related\n\n- [eslint-config-xo-space](https://github.com/xojs/eslint-config-xo-space) - ESLint shareable config for XO with 2-space indent\n- [eslint-config-xo-react](https://github.com/xojs/eslint-config-xo-react) - ESLint shareable config for React to be used with this config\n- [eslint-config-xo-typescript](https://github.com/xojs/eslint-config-xo-typescript) - ESLint shareable config for TypeScript to be used with this config\n","publish_time":1644410109039,"_cnpm_publish_time":1644410109039,"dist-tags":{"latest":"7.0.0"}}