{"name":"eslint-config-xo","version":"0.31.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":">=10"},"scripts":{"test":"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.9"},"devDependencies":{"ava":"^2.3.0","eslint":"^7.0.0","is-plain-obj":"^2.0.0","temp-write":"^4.0.0"},"peerDependencies":{"eslint":">=7"},"gitHead":"e5b21b216c97acd1f5642cdfab2d37ffb3f5a06e","bugs":{"url":"https://github.com/xojs/eslint-config-xo/issues"},"homepage":"https://github.com/xojs/eslint-config-xo#readme","_id":"eslint-config-xo@0.31.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-bSFmDVrIVZoA0TnNtUEp4KIdPYuEquq3XCWruiU0eflMx2BtxQtASUuMAVqUg3rDZaHguaCY50/WtTH6IZSPdg==","shasum":"83c426af16f47b6e667876152b402d02d4e53211","tarball":"http://registry-npm.ywwl.com/eslint-config-xo/download/eslint-config-xo-0.31.0.tgz","fileCount":6,"unpackedSize":16172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe4I10CRA9TVsSAnZWagAAjHoP/RGqUSY1QPnc5hSHiH0J\nnXW9bG57Y4i2IdOv/Hup/9oa36ymbAP2w8lCl2kYCqUa/09iRRssXDlV8Cfp\n+5dxnYMR8L8ZYMk5+1J85V8Hv8OseGVi6PRDCNZ2e88Ynq22xfZMRSEc0eZB\n80beToBfWGgAtrTvmAmPWTEVtnfFMtkkFVwAIOS0otDEuu3B9tZzhwcOKrvQ\nnz6N7Jz5EGeR5KUq6fraJQzB1VfIcq8qNsKv8gQcHZ2QqaYmRgJrm6WppfRu\nvpu47Q5QQ+wPdF9f542dB/UBfocnOu2N/PtB72/ntqFM/Kr1X0X9+v2YLjGO\nOV6UvBR7NTklES9aForTALICuX8O90of3OJLo5JFXy0aD5cK8L/X8p+S+pav\nrNNYV7cs5IHYNn/GVtxgDGtofnuzOq0ONV3GHJc6K3Z7DwtgbB3k2KARfEgm\nm6L99Obvy1IDwqZ6LrCGD7jpyg+Wn/XmqQySpm6Z7UI7h1bwcVuJfRNs5xZL\nlAm0FYCpeauHV25th9mFAdEtQGdjBdIWwM2cWyowt2hLh0Jq3AST5YG08/yY\nPwMNrNGopgAI2fWdVQibL90tsHpeClxCkM6mrZ8kxkoY7DjmtDDAOLBCBEdh\nWMzrsnYm9pcIzQiBe5jayUK9mVWUtlkRYEOYGGc5GFqc/5dKoP8V3WW9czFs\n6aei\r\n=xaZ8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhySHIID9U09IBzgizMEDQIix50J7aNd8D7yY2Mjld/AiEA9ZjaCuRXGAdp6Ntm5f0Ux3t22zNkmT0FAo2As7TKF6E="}],"size":5528,"noattachment":false,"key":"/eslint-config-xo/-/eslint-config-xo-0.31.0.tgz"},"maintainers":[{"email":"hello@mario-nebl.de","name":"marionebl"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-config-xo_0.31.0_1591774580333_0.2597301167529982"},"_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":1591774580459,"_cnpm_publish_time":1591774580459,"dist-tags":{"latest":"7.0.0"}}