{"id":23338737,"url":"https://github.com/appfeel/gulp-hint-web-reporter","last_synced_at":"2025-04-07T13:44:38.210Z","repository":{"id":57257737,"uuid":"54311149","full_name":"appfeel/gulp-hint-web-reporter","owner":"appfeel","description":"Basic hint reporter compatible with htmlhint and jshint","archived":false,"fork":false,"pushed_at":"2016-03-21T23:08:29.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T12:27:23.903Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appfeel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-20T10:09:03.000Z","updated_at":"2016-03-21T13:58:48.000Z","dependencies_parsed_at":"2022-08-25T21:22:17.665Z","dependency_job_id":null,"html_url":"https://github.com/appfeel/gulp-hint-web-reporter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fgulp-hint-web-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fgulp-hint-web-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fgulp-hint-web-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appfeel%2Fgulp-hint-web-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appfeel","download_url":"https://codeload.github.com/appfeel/gulp-hint-web-reporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569113,"owners_count":20959760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-21T03:16:16.898Z","updated_at":"2025-04-07T13:44:38.191Z","avatar_url":"https://github.com/appfeel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gulp-hint-web-reporter\n====================\n\n[![License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://npmjs.org/package/gulp-hint-web-reporter)\n[![NPM version](http://img.shields.io/npm/v/gulp-hint-web-reporter.svg?style=flat)](https://npmjs.org/package/gulp-hint-web-reporter)\n[![NPM version](http://img.shields.io/npm/dm/gulp-hint-web-reporter.svg?style=flat)](https://npmjs.org/package/gulp-hint-web-reporter)\n[![Build Status](http://img.shields.io/travis/appfeel/gulp-hint-web-reporter.svg?style=flat)](https://travis-ci.org/appfeel/gulp-hint-web-reporter)\n[![Dependency Status](http://img.shields.io/gemnasium/appfeel/gulp-hint-web-reporter.svg?style=flat)](https://gemnasium.com/appfeel/gulp-hint-web-reporter)\n\nA simple reporter for [gulp-htmlhint](https://www.npmjs.com/package/gulp-htmlhint), [gulp-jshint](https://www.npmjs.com/package/gulp-jshint) and [gulp-csslint](https://www.npmjs.com/package/gulp-csslint) that writes it's output as a nice console summary and extended web report.\n\n## Installation\n\n```bash\nnpm install gulp-hint-web-reporter --save-dev\n```\n\n## Usage\n\n```javascript\nvar gulp = require('gulp');\nvar webReporter = require('gulp-hint-web-reporter');\n\ngulp.task('lint', function() {\n  return gulp.src('./**/*.js')\n    .pipe(htmlhint())\n    .pipe(webReporter(options));\n});\n```\n\n## Options\n\n```javascript\nvar options = {\n    logsPath: \"./logs\",\n    hinters: [\"htmlhint\"],\n    filenames: {\n        htmlhint: \"mylog.html\"\n    },\n    createMissingFolders: true\n};\n```\n\n### `logsPath`\nDefault: `\"./logs\"`\n\nThe folder to write output files for hint results.\n\n### `hinters`\nDefault: `[\"htmlhint\", \"jshint\", \"csslint\"]`\n\nAdditional hinters (looks in `file[hinter]` for hint results/messages).\n\n### `filenames`\nDefault: \n```json\n{\n    \"htmlhint\": \"htmlhint-{datetime}.log.html\",\n    \"jshint\":   \"jshint-{datetime}.log.html\",\n    \"csslint\":  \"csslint-{datetime}.log.html\"\n}\n```\n\nWhere `{datetime}` is replaced by `new Date().toISOString()`\n\nFor each hinter defines the log name. In example, by default for `jshint` it looks like: `./logs/jshint-2016-03-15T10:04:44.883Z.log.html`\n\n### `createMissingFolders`\nDefault: `true`\n\nEnables or disables creation of any folders given in the filename that do not exist. \nIf disabled and the given path contains folders which do not exist, an ENOENT error is thrown. \n\n### `showFileSummary`\nDefault: `true`\n\nEnables or disables file summary on console (just a global summary will be shown when disabled).\n\n### `fail`\nDefault: `false`\n\nForces reporter to fail if errors are found.\n\n## License\n\n[MIT](http://opensource.org/licenses/MIT) © [AppFeel](https://appfeel.com)\n\n## Release History\n\n* 1.1.5 Improve html reports\n* 1.1.2 Add travis.yml and readme badges\n* 1.1.0 Add fail option\n* 1.0.0 Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Fgulp-hint-web-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappfeel%2Fgulp-hint-web-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappfeel%2Fgulp-hint-web-reporter/lists"}