{"name":"eslint-plugin-xo","version":"0.4.2","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 && nyc ava","coveralls":"nyc report --reporter=text-lcov | coveralls"},"files":["index.js","rules"],"keywords":["eslint","eslintplugin","eslint-plugin","xo","linter","lint","style"],"dependencies":{"lodash.camelcase":"^4.1.1","lodash.kebabcase":"^4.0.1","lodash.snakecase":"^4.0.1","lodash.upperfirst":"^4.2.0"},"devDependencies":{"ava":"*","coveralls":"^2.11.9","eslint":"^2.7.0","nyc":"^6.4.0","pify":"^2.3.0","xo":"*"},"peerDependencies":{"eslint":">=2"},"gitHead":"5fdf17dda91ebeef0dc44585fb15547e40d3fffc","bugs":{"url":"https://github.com/sindresorhus/eslint-plugin-xo/issues"},"homepage":"https://github.com/sindresorhus/eslint-plugin-xo#readme","_id":"eslint-plugin-xo@0.4.2","_shasum":"b39e6cb70ac087b738adc515cd1efcdf5332246b","_from":".","_npmVersion":"2.15.0","_nodeVersion":"4.4.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b39e6cb70ac087b738adc515cd1efcdf5332246b","tarball":"http://registry-npm.ywwl.com/eslint-plugin-xo/download/eslint-plugin-xo-0.4.2.tgz","integrity":"sha512-HjWfgi9M360M2E07IQ5Xt9EVBOMrCmRIIuUTJG4nh2lDhk0ECROc0VK/KvuCnvXgsUh2uqJHoltXg5snT/KQXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCF9Jzmd8xJS0rtRbysRVABoeW2xWwKSukltE2cdVJKoAIhAM3ajZ12oDdr/mCaN1+Ay6yP+dhoAswhgq5w7efnlwZs"}],"size":3995,"noattachment":false,"key":"/eslint-plugin-xo/-/eslint-plugin-xo-0.4.2.tgz"},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/eslint-plugin-xo-0.4.2.tgz_1463726191015_0.2550568541046232"},"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":1463726191752,"_cnpm_publish_time":1463726191752,"dist-tags":{"latest":"1.0.0"}}