{"name":"standardx","description":"JavaScript Standard Style with custom tweaks","version":"1.0.2","author":{"name":"Dan Flettre","email":"flettre@gmail.com"},"bin":{"standardx":"./bin/cmd.js"},"bugs":{"url":"https://github.com/standard/standardx/issues"},"devDependencies":{"tap-spec":"^4.0.2","tape":"^4.0.0"},"homepage":"https://github.com/standard/standardx","keywords":[],"license":"MIT","main":"index.js","repository":{"type":"git","url":"git+https://github.com/standard/standardx.git"},"scripts":{"test":"standard && tape test/*.js | tap-spec"},"eslintConfig":{"rules":{"camelcase":0}},"dependencies":{"standard":"^10.0.3","standard-engine":"^7.0.0"},"gitHead":"6add017e57f3da8622486517c46906bb6d283f33","_id":"standardx@1.0.2","_npmVersion":"5.3.0","_nodeVersion":"6.11.0","_npmUser":{"name":"flet","email":"flettre@gmail.com"},"dist":{"integrity":"sha512-Y58PkMHwzKDxWlysV7E9bUJ9HvJqe6Sbc3RG7dfyB7ysnGH9VenQrafbADxwC8SMuL1FB/WX213Vc7NgQ/IJZg==","shasum":"2f5adcc36046066455cd9edd25d796c02aabdf94","tarball":"http://registry-npm.ywwl.com/standardx/download/standardx-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAsVqQ7AAsK9UDbf5XR5qN7uGVg/EDuL+JhKOkI2VhBJAiEAzXdO6sUFbhIHRGVQzPkLxcyB78d8j041jQ2tptEFTpY="}],"size":6476,"noattachment":false,"key":"/standardx/-/standardx-1.0.2.tgz"},"maintainers":[{"name":"flet","email":"flettre@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/standardx-1.0.2.tgz_1502482562913_0.060235305689275265"},"directories":{},"readme":"# standardx\n\nJavaScript Standard Style with custom tweaks\n\n[![npm][npm-image]][npm-url]\n[![travis][travis-image]][travis-url]\n[![standard][standard-image]][standard-url]\n\n[npm-image]: https://img.shields.io/npm/v/standardx.svg?style=flat-square\n[npm-url]: https://www.npmjs.com/package/standardx\n[travis-image]: https://img.shields.io/travis/standard/standardx.svg?style=flat-square\n[travis-url]: https://travis-ci.org/standard/standardx\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square\n[standard-url]: http://npm.im/standard\n\n\n## Overview\n\nThis package allows users to follow JavaScript Standard Style, but deviate if needed. This can be done by adding an `.eslintrc` file to their project directory or by adding an `\"eslintConfig\"` attribute to your `package.json`. That eslint config will be layed on top of the `standard` ruleset.\n\nIf there is a `standard` attribute in your `package.json` for defining globals or ignoring files, rename it to `standardx`:\n\n```js\n\"standardx\": {\n    \"global\": [\n      \"chrome\",\n      \"muon\",\n      \"postMessage\"\n    ]\n}\n```\n\nAll other `standard` features remain intact (including `--fix`!)\n\n## Install\n\n```\nnpm install standardx --global\n```\n\n## Usage\nUse `standardx` on the command line the same way you use `standard`:\n\n```\nUsage:\n    standardx <flags> [FILES...]\n\n    If FILES is omitted, then all JavaScript source files (*.js, *.jsx) in the current\n    working directory are checked, recursively.\n\n    Certain paths (node_modules/, coverage/, vendor/, *.min.js, bundle.js, and\n    files/folders that begin with '.' like .git/) are automatically ignored.\n\n    Paths in a project's root .gitignore file are also automatically ignored.\n\nFlags:\n        --fix       Automatically fix problems\n    -v, --verbose   Show rule names for errors (to ignore specific rules)\n        --version   Show current version\n    -h, --help      Show usage information\n\nFlags (advanced):\n        --stdin     Read file text from stdin\n        --global    Declare global variable\n        --plugin    Use custom eslint plugin\n        --env       Use custom eslint environment\n        --parser    Use custom js parser (e.g. babel-eslint)\n```\n\n## Configuring\n\nRunning `standardx` with no additional configuration is the same as running `standard` itself. (Except rename the `\"standard\"` property in `package.json` to `\"standardx\"` if you have one.)\n\nIf there are rules you would like turned off, modify the ruleset using eslint config. Check out [Configuring eslint](http://eslint.org/docs/user-guide/configuring) for more information.\n\n### Example: Allow snake_case by turning off the camelCase rule\n\nVia: `.eslintrc`:\n```json\n{\n  \"rules\": {\n    \"camelcase\": 0\n  }\n}\n```\n\nor via package.json:\n```json\n{\n  \"name\": \"coolproject\",\n  \"description\": \"My Cool Project\",\n  \"version\": \"1.0.0\",\n  \"author\": \"Fantastic Developer\",\n  \"eslintConfig\": {\n    \"rules\": {\n      \"camelcase\": 0\n    }\n  }\n}\n```\n\nNow, running `standardx` (with no additional arguments) will allow snake_case without error!\n\n## Contributing\n\nContributions welcome! Please read the [contributing guidelines](CONTRIBUTING.md) first.\n\n## License\n\n[MIT](LICENSE.md)\n","publish_time":1502482563844,"_cnpm_publish_time":1502482563844,"dist-tags":{"latest":"7.0.0"}}