{"name":"eslint-config-xo","version":"0.42.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.14.0","is-plain-obj":"^3.0.0"},"peerDependencies":{"eslint":">=8.14.0"},"gitHead":"7fde6096c1863898b39b55356838938032c8f028","bugs":{"url":"https://github.com/xojs/eslint-config-xo/issues"},"homepage":"https://github.com/xojs/eslint-config-xo#readme","_id":"eslint-config-xo@0.42.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"integrity":"sha512-HIfd+AM6tHFoaZ/NXYDV3Mr/CJrAj/DoP6IOYt1/v+90XtCwVYOfW7LXbRDYDmhQMzT16h7eqPRcex72waRqdA==","shasum":"07764d626d4f61ce41f04d309e08ff1de1813bd6","tarball":"http://registry-npm.ywwl.com/eslint-config-xo/download/eslint-config-xo-0.42.0.tgz","fileCount":5,"unpackedSize":16564,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZizFX33V2xlME3aHLzeEIOj25vmdMahhBUJrqqPg1/AiA0XWBS0nwXw0x0nP9abMKLfJGT49PDTe3oUJdIu8RUnA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjBvFBACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoH6A/9HhAvYmklKOhwteJKKgbC8B0tmKtIAzs9Gr1x1RtVFojMUtgA\r\nsaeywsq9mFwWwVriEIVbE4ChPskoWOV/EUKcehafF56mbuxquyplSwI6j5Vv\r\n9a5O43DVTRazNIbmrFqgIJ7xJOzl/iqvQHi3lzOR41gqOBD0N2jmASWE2rAQ\r\nZhkxskj+f5kX7pdehxFHN9epRQsq2Xf0oYW4HETOy+WTl+kSiT4FTiLz5z1l\r\nuIBNRKsqfO4bJyYXJ+Jxc2RIizQZglLNYPygTlEo/Bs3paToaElJqLAbfvRS\r\nc0HC9jbvecP7yAJGbgrzJe/Fs3MvkfMmLgn3BMNee/DrrpMwCionMRcB/Zmb\r\nIAEMOrShlS5F6Y83MTNqUKmrekALJ8eVs+9hphPn5+4uEmK8nkY5roA/yqDK\r\nlwXb74vus5TG8b9nb7a+VfPGGwh68rdqImdUwXUsgXCLokgEyIZziD83qJtB\r\nEkazYf8OBau7DuueVZOd9KW8JYc2zbXPz5CbUFsqXLOgb3boVW8qEjRnb35K\r\nJGs2euUGseAVx9tFiCyOEiP00hwAf9O8dURC1/hTvBFUsFaZZcZ5BtV3D06A\r\nwv+85p6hk61weCq3/mzaywAV4DowPXTcsrv8DjFlksSBmydfMJMoCZBjXqQb\r\nkfgta181z9NacRlweV+FvCfvgiDROstDIgE=\r\n=NgnS\r\n-----END PGP SIGNATURE-----\r\n","size":5512,"noattachment":false,"key":"/eslint-config-xo/-/eslint-config-xo-0.42.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.42.0_1661399361787_0.10637544776078367"},"_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":1661399361956,"_cnpm_publish_time":1661399361956,"dist-tags":{"latest":"7.0.0"}}