{"_id":"jshint-summary","_rev":"10-782287b6388dd744192ef6ae1655cad0","name":"jshint-summary","description":"JSHint reporter based on Stylish with configurable colours","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.2":{"name":"jshint-summary","version":"0.1.2","description":"JSHint reporter based on Stylish with configurable colours","main":"./index.js","scripts":{"test":"gulp mocha"},"dependencies":{"chalk":"^0.4.0","cli-table":"^0.3.0","gulp-bump":"^0.1.7"},"devDependencies":{"gulp":"^3.6.0","gulp-jshint":"^1.5.1","gulp-mocha":"^0.4.1","should":"^3.2.0","gulp-util":"^2.2.14"},"author":{"name":"James Skinner","email":"spiralx@gmail.com","url":"https://github.com/spiralx"},"licenses":[{"type":"BSD","url":"https://github.com/spiralx/jshint-summary/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/spiralx/jshint-summary/issues"},"homepage":"https://github.com/spiralx/jshint-summary","repository":{"type":"git","url":"git://github.com/spiralx/jshint-summary.git"},"keywords":["summary","stylish","jshint","reporter","lint","linting","configurable","colorful"],"_id":"jshint-summary@0.1.2","dist":{"shasum":"9dd5e3642d564658f4b3632364398f1d6c19f53b","tarball":"https://registry.npmjs.org/jshint-summary/-/jshint-summary-0.1.2.tgz","integrity":"sha512-tgHkIoocP4h+i7P+IhfYmH9caZWgt5ObG2zswVpyVIIcf2TOkq0LncHJeB9IHBmqbTeiqar4vP7hF4Ni2JDqbA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGZGNmS7sotEFhTtpRaHt6rnUo4xulorvroea1z/fr5MAiEA4zT89TDZqdVW4dwPfpFbePMXfZ3vfy37LCzqlg4GSCg="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"spiralx","email":"spiralx@gmail.com"},"maintainers":[{"name":"spiralx","email":"spiralx@gmail.com"}]},"0.3.0":{"name":"jshint-summary","version":"0.3.0","description":"JSHint reporter based on Stylish with configurable colours","main":"./index.js","scripts":{"test":"gulp mocha"},"dependencies":{"chalk":">=0.4.0","cli-table":">=0.3.0","wordwrap":"0.0.2"},"devDependencies":{"gulp":">=3.6.0","gulp-jshint":">=1.5.1","gulp-mocha":">=0.4.1","gulp-util":">=2.2.14","gulp-bump":">=0.1.7","chai":">=1.9.1","yargs":"~1.2.1","gulp-load-plugins":"~0.5.0"},"author":{"name":"James Skinner","email":"spiralx@gmail.com","url":"https://github.com/spiralx"},"licenses":[{"type":"BSD","url":"https://github.com/spiralx/jshint-summary/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/spiralx/jshint-summary/issues"},"homepage":"https://github.com/spiralx/jshint-summary","repository":{"type":"git","url":"git://github.com/spiralx/jshint-summary.git"},"keywords":["summary","stylish","jshint","reporter","lint","linting","configurable","colorful"],"_id":"jshint-summary@0.3.0","dist":{"shasum":"ba21d0034324161b26a3b6c6c3aa32dc26e24a6f","tarball":"https://registry.npmjs.org/jshint-summary/-/jshint-summary-0.3.0.tgz","integrity":"sha512-YqNnlx5qJPCOhGfQV3p05QlOjuYARTmRm6o4L38Zedr7D6itqyKaxW56BKlac38Rdhoo6MlXspSEO0sYmdgGiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFf+0CT0HUz8KS3gqZAZaDjgAGqzYctLTpJs/UJW+Kf8AiEA8WKM3JlOMt+2AI4l9IpPnZXzrSNN5H6nrs7UiiO7Rcc="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"spiralx","email":"spiralx@gmail.com"},"maintainers":[{"name":"spiralx","email":"spiralx@gmail.com"}]},"0.4.0":{"name":"jshint-summary","version":"0.4.0","description":"JSHint reporter based on Stylish with configurable colours","main":"./index.js","scripts":{"pretest":"npm install","test":"gulp mocha","run-grunt":"grunt -b . --gruntfile test/fixtures/Gruntfile.js"},"dependencies":{"chalk":"^0.4.0","cli-table":"^0.3.0","wordwrap":"^0.0.2","coffee-script":"^1.7.1"},"devDependencies":{"chai":"^1.9.1","coveralls":"^2.10.0","gulp":"^3.6.0","gulp-bump":"^0.1.7","gulp-istanbul":"^0.1.1","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.0","gulp-mocha":"^0.4.1","gulp-util":"^2.2.14","istanbul":"^0.2.7","yargs":"^1.2.1","chai-fs":"0.0.3","grunt":"^0.4.5","grunt-contrib-jshint":"^0.10.0"},"author":{"name":"James Skinner","email":"spiralx@gmail.com","url":"https://github.com/spiralx"},"licenses":[{"type":"BSD","url":"https://github.com/spiralx/jshint-summary/blob/master/LICENSE"}],"bugs":{"url":"https://github.com/spiralx/jshint-summary/issues"},"homepage":"https://github.com/spiralx/jshint-summary","repository":{"type":"git","url":"git://github.com/spiralx/jshint-summary.git"},"keywords":["summary","stylish","jshint","reporter","lint","linting","configurable","colorful"],"_id":"jshint-summary@0.4.0","dist":{"shasum":"d6551e51f9cea05b0687aae20ada257f962492c0","tarball":"https://registry.npmjs.org/jshint-summary/-/jshint-summary-0.4.0.tgz","integrity":"sha512-J/lFwhcSgLnEGimmh/6enhQaxRG9aza1YEhynXKs2wcFnKZwMpSANPpwMgxUz9phcEYsveHEUIHi+SqLWLraKA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEko0qyqA37rXi+C0oaYAV699Z3qsZP74NnvKPMn+4VRAiEAwqV/RJ5r4FGCp3osmnLE/h7HAwaarL0HRGDcB7TMOk0="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"spiralx","email":"spiralx@gmail.com"},"maintainers":[{"name":"spiralx","email":"spiralx@gmail.com"}]}},"readme":"# jshint-summary\n\n> Reporter for [JSHint](https://github.com/jshint/jshint).\n\n[![Build Status][travis-image]][travis-url] [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Dev. Dependency Status][daviddm-dev-image]][daviddm-dev-url]\n\n\nA customisable reporter for that was inspired by [jshint-stylish](https://npmjs.org/package/jshint-stylish),\nbut designed to be more readable by default on all platforms and provide configuration options so that users\ncan customise the report for themselves. It can also report a summary of the code statistics that JSHint generates.\n\n\n## Install\n\nInstall with [npm](https://npmjs.org/package/jshint-summary):\n\n```sh\nnpm install --save-dev jshint-summary\n```\n\n\n## Getting started\n\nThis module can be used as a JSHint reporter both directly via the command-line or as part of\na build system using either [Grunt](http://gruntjs.com/) or [Gulp](http://gulpjs.com/).\n\n\n#### JSHint on the command-line\n\n```sh\njshint --reporter node_modules\\jshint-summary\\lib\\summary file.js\n```\n\n\n#### [gulp-jshint](https://github.com/wearefractal/gulp-jshint)\n\n```js\ngulp.task('jshint', function () {\n  return gulp.src(['app/*.js'])\n    .pipe(jshint('.jshintrc'))\n    .pipe(jshint.reporter('jshint-summary', {\n      verbose: true,\n      reasonCol: 'cyan,bold'\n    }));\n});\n```\n\nIf you are using a version of `gulp-jshint` before __1.5.5__ your settings won't be passed\nto the reporter, which will use just the default settings.\n\n\n#### [grunt-contrib-jshint](https://github.com/gruntjs/grunt-contrib-jshint)\n\n```js\ngrunt.initConfig({\n  jshint: {\n    options: {\n      reporter: require('jshint-summary')\n    },\n    target: ['file.js']\n  }\n});\n```\n\nIf you are using a version of `grunt-contrib-jshint` before __0.9.0__ your settings won't be passed\nto the reporter, which will use just the default settings.\n\n\n## Options\n\nThe default settings are:\n\n```js\nvar defaultOptions = {\n  verbose: true,\n  statistics: false,\n  width: 120,\n  wordWrap: false,\n  fileCol: 'yellow,bold',\n  positionCol: 'white',\n  reasonCol: 'cyan,bold',\n  codeCol: 'green',\n  errorsCol: 'red,bold',\n  okCol: 'green',\n  labelCol: 'green',\n  variableCol: 'white,bold'\n};\n```\n\n\n#### `verbose`\n\nDefault `true`, if `true` then show the JSHint error code for each issue.\n\n#### `statistics`\n\nDefaults to `false`. If `true` then after reporting all issues found, the reporter will display various statistics JSHint generates - currently unused and implied global variables in each file.\n\n#### `wordWrap`, `width`\n\nAllows text to be wrapped at a particular width, the default values are `false` and `120` at the moment, as the implementation needs improving.\n\n#### `fileCol`, `positionCol`, `reasonCol`, `codeCol`, `errorsCol`, `okCol`, `labelCol`, `variableCol`\n\nEach of these represents the colour of part of the output - `fileCol` is the current file name, `positionCol`, `reasonCol` and `codeCol` are the colours of the columns for each issue, `errorsCol` and `okCol` are the colours of the summary line, and `labelCol` and `variableCol` are the labels and variables that are listed if you are showing the extra statistics. You can set them to a string with any of the values 'white', 'grey', 'red', 'green', 'blue', 'yellow', 'cyan' or 'magenta', and optionally add 'bold' after a comma as well e.g.\n\n```js\n    ...\n    fileCol: 'red,bold',\n    reasonCol: 'green,bold',\n    codeCol: 'white'\n    ...\n```\n\n\n## License\n\nBSD © [James Skinner](http://github.com/spiralx)\n\n\n[npm-url]: https://npmjs.org/package/jshint-summary\n[npm-image]: https://badge.fury.io/js/jshint-summary.svg\n[daviddm-url]: https://david-dm.org/spiralx/jshint-summary\n[daviddm-image]: https://david-dm.org/spiralx/jshint-summary.svg?theme=shields.io\n[daviddm-dev-url]: https://david-dm.org/spiralx/jshint-summary#info=devDependencies\n[daviddm-dev-image]: https://david-dm.org/spiralx/jshint-summary/dev-status.svg?theme=shields.io\n[travis-url]: https://travis-ci.org/spiralx/jshint-summary\n[travis-image]: https://travis-ci.org/spiralx/jshint-summary.svg?branch=master\n","maintainers":[{"name":"spiralx","email":"spiralx@gmail.com"}],"time":{"modified":"2022-06-19T06:04:38.872Z","created":"2014-03-31T04:10:09.616Z","0.1.2":"2014-03-31T04:10:09.616Z","0.3.0":"2014-04-22T20:18:17.826Z","0.4.0":"2014-05-22T20:45:44.715Z"},"homepage":"https://github.com/spiralx/jshint-summary","keywords":["summary","stylish","jshint","reporter","lint","linting","configurable","colorful"],"repository":{"type":"git","url":"git://github.com/spiralx/jshint-summary.git"},"author":{"name":"James Skinner","email":"spiralx@gmail.com","url":"https://github.com/spiralx"},"bugs":{"url":"https://github.com/spiralx/jshint-summary/issues"},"readmeFilename":"README.md","users":{"spiralx":true}}