{"name":"eslint-plugin-xo","version":"0.2.0","description":"ESLint rules for XO","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/eslint-plugin-xo.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","rules"],"keywords":["eslint","eslintplugin","eslint-plugin","xo","linter","lint","style"],"devDependencies":{"ava":"*","eslint":"^2.7.0","xo":"*"},"peerDependencies":{"eslint":">=2"},"gitHead":"5bbb537d42b4056f95f86aff32f95a35eb82899e","bugs":{"url":"https://github.com/sindresorhus/eslint-plugin-xo/issues"},"homepage":"https://github.com/sindresorhus/eslint-plugin-xo#readme","_id":"eslint-plugin-xo@0.2.0","_shasum":"bace7c59db0f99e9576571102b838e84f0773a40","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bace7c59db0f99e9576571102b838e84f0773a40","tarball":"http://registry-npm.ywwl.com/eslint-plugin-xo/download/eslint-plugin-xo-0.2.0.tgz","integrity":"sha512-EELbomz9GuGZcyKlhLT7BkYCbdbr6P1al8Dkk3gqECRoHpWTxbJCMJw/su9jx7EonHp43Ba5kWpDDDuad9Z99A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbQXd6icp7DB9T8rmtsuYPFh5qAncrUCOW38yl/BpMZAiBYjWDaSgJ576h0poX+damLpGVbs2skHbaGdI3HAHlveQ=="}],"size":2506,"noattachment":false,"key":"/eslint-plugin-xo/-/eslint-plugin-xo-0.2.0.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-plugin-xo-0.2.0.tgz_1460500263626_0.12339376378804445"},"directories":{},"readme":"# eslint-plugin-xo [![Build Status](https://travis-ci.org/sindresorhus/eslint-plugin-xo.svg?branch=master)](https://travis-ci.org/sindresorhus/eslint-plugin-xo) [![Coverage Status](https://coveralls.io/repos/github/sindresorhus/eslint-plugin-xo/badge.svg?branch=master)](https://coveralls.io/github/sindresorhus/eslint-plugin-xo?branch=master)\n\n> ESLint rules for [XO](https://github.com/sindresorhus/xo)\n\nThis plugin is bundled with XO, but can still be useful if you don't use XO.\n\n\n## Install\n\n```\n$ npm install --save-dev eslint eslint-plugin-xo\n```\n\n\n## Usage\n\nConfigure it in `package.json`.\n\n```json\n{\n\t\"name\": \"my-awesome-project\",\n\t\"eslintConfig\": {\n\t\t\"env\": {\n\t\t\t\"es6\": true\n\t\t},\n\t\t\"parserOptions\": {\n\t\t\t\"ecmaVersion\": 7,\n\t\t\t\"sourceType\": \"module\"\n\t\t},\n\t\t\"plugins\": [\n\t\t\t\"xo\"\n\t\t],\n\t\t\"rules\": {\n\t\t\t\"xo/catch-error-name\": [\"error\", {\"name\": \"err\"}],\n\t\t\t\"xo/explicit-length-check\": \"error\",\n\t\t\t\"xo/filename-case\": [\"error\", {\"case\": \"kebabCase\"}],\n\t\t\t\"xo/no-abusive-eslint-disable\": \"error\",\n\t\t\t\"xo/no-process-exit\": \"error\",\n\t\t\t\"xo/throw-new-error\": \"error\"\n\t\t}\n\t}\n}\n```\n\n\n## Rules\n\n- [catch-error-name](docs/rules/catch-error-name.md) - Enforce a specific parameter name in catch clauses.\n- [explicit-length-check](docs/rules/explicit-length-check.md) - Enforce explicitly comparing the `length` property of a value.\n- [filename-case](docs/rules/filename-case.md) - Enforce a case style for filenames.\n- [no-abusive-eslint-disable](docs/rules/no-abusive-eslint-disable.md) - Enforce specifying rules to disable in `eslint-disable` comments.\n- [no-process-exit](docs/rules/no-process-exit.md) - Disallow `process.exit()`.\n- [throw-new-error](docs/rules/throw-new-error.md) - Require `new` when throwing an error. *(fixable)*\n\n\n## Recommended config\n\nThis plugin exports a [`recommended` config](index.js) that enforces good practices.\n\nEnable it in your `package.json` with the `extends` option:\n\n```json\n{\n\t\"name\": \"my-awesome-project\",\n\t\"eslintConfig\": {\n\t\t\"plugins\": [\n\t\t\t\"xo\"\n\t\t],\n\t\t\"extends\": \"plugin:xo/recommended\"\n\t}\n}\n```\n\nSee the [ESLint docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) for more information about extending config files.\n\n**Note**: This config will also enable the correct [parser options](http://eslint.org/docs/user-guide/configuring#specifying-parser-options) and [environment](http://eslint.org/docs/user-guide/configuring#specifying-environments).\n\n\n## Created by\n\n- [Sindre Sorhus](https://github.com/sindresorhus)\n- [James Talmage](https://github.com/jamestalmage)\n- [Jeroen Engels](https://github.com/jfmengels)\n- [Contributors…](https://github.com/sindresorhus/eslint-plugin-xo/graphs/contributors)\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n","publish_time":1460500264190,"_cnpm_publish_time":1460500264190,"dist-tags":{"latest":"1.0.0"}}