{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"dependencies":{"chokidar":"^2.0.4","globby":"^8.0.1","hint":"^3.0.0"},"description":"hint local connector","devDependencies":{"@types/chokidar":"^1.7.5","@types/is-ci":"^1.1.0","@types/lodash":"^4.14.115","@types/mock-require":"^2.0.0","ava":"^0.25.0","cpx":"^1.5.0","eslint":"^5.2.0","eslint-plugin-import":"^2.13.0","eslint-plugin-markdown":"^1.0.0-beta.7","eslint-plugin-typescript":"^0.12.0","lodash":"^4.17.10","markdownlint-cli":"^0.12.0","mock-require":"^3.0.2","npm-run-all":"^4.1.2","nyc":"^12.0.2","rimraf":"^2.6.2","sinon":"^6.1.4","typescript":"^3.0.1","typescript-eslint-parser":"^17.0.1"},"engines":{"node":">=8.0.0"},"files":["dist/src","npm-shrinkwrap.json"],"homepage":"https://webhint.io/","keywords":["connector","local","hint","hint-connector-local","webhint"],"license":"Apache-2.0","main":"./dist/src/connector.js","name":"@hint/connector-local","peerDependencies":{"hint":"^3.0.0"},"repository":{"type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run clean && npm-run-all build:*","build-release":"npm run clean && tsc --inlineSourceMap false --removeComments true","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc","clean":"rimraf dist","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext js --ext md --ext ts --ignore-path ../../.eslintignore --report-unused-disable-directives","lint:md":"markdownlint --ignore CHANGELOG.md *.md","test":"npm run lint && npm run build && nyc ava","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:test":"ava --watch","watch:ts":"npm run build:ts -- --watch"},"version":"1.0.0","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/connector-local@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"10.4.0","_npmUser":{"name":"alrra","email":"alrraa@gmail.com"},"dist":{"integrity":"sha512-CMJkzoqkVX1IEi+OVZdF1uhUNCYzsXkO4uP/eR4B+6lRK5dKnFYe3ARPGz9WeZhr1pyyzqWbPS6DudwGlC+GSg==","shasum":"4424d355c03923e97724a8330d0155c8f0efeceb","tarball":"http://registry-npm.ywwl.com/@hint/connector-local/download/@hint/connector-local-1.0.0.tgz","fileCount":7,"unpackedSize":160706,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaKdUCRA9TVsSAnZWagAAJucP/jkYwobiANWxqWcAnycr\nAgBbytXIr40WaK/cTeEKI147BE+0Mpf+9oHrST4pYiqUy9ynwOpxgl592J29\nhWiX2TPRwyF8qO/EsI5VoT+7TAkrgb/fdgfH6wKErfXcieCWyw/3md1KuHCq\nMrHQaLkxjQ/KxfR0EWAh4rf6vdADbsXE06qesoUafBnwIQ0ZvQZQfyeVdrrV\n4VVmNh6JT37+GKYMMT/ssI2QNREA1AMLFl6rDeaFnVBU7rfvONLM/Ymx+MYq\nrYDFEHrPCH92xJmT53yONlZhc4uP8kcWUkl43cHvBN2Vbr9U/JsVhEG2KdJp\niN5f9zGLzz+3GeZ7jDQGuEtL9cYHjGxC+m8MZsz8bUupQEPpEIgJj0byTXBK\n0enVd4id9TgsdLUD9g1aD1LLnoLYPgCtwQN4CzJpjWJqQgDSM/qzU8J2p8T1\nwUgldTAH1QYwxcpkAIjxo0LgQr2fVPN6a811fidv5S3z3W9tf+bmwYcxMP+k\n+f66/F/04psUnxHRuLgUAr4YW+IyXFlq5GZ7MDERhTVy9qNVNmVj+at04Hqp\nugeXyi+tyZZcFv8iqXRLpjtO39YfmPrRkfDg18oX4e2Q7qz8sl4+aTYZdAvp\n1sYr6fZPXCvFP62ioXlIy5ZXeWh8IyriFkMq3MqNTd/7fIDAFxTeryIl/qw5\na834\r\n=wGVl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF9yc9kiN5Le/Or6jLd+UxGwQ600oMPeyfIlDqatjdjeAiEA5GQftv/A0l9UDLXa0F1UpOIXOa8N92zDHEi6MSWw3wc="}],"size":41674,"noattachment":false,"key":"/@hint/connector-local/-/@hint/connector-local-1.0.0.tgz"},"maintainers":[{"name":"alrra","email":"alrraa@gmail.com"},{"name":"molant","email":"amolleda@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/connector-local_1.0.0_1533585236293_0.04486247459249593"},"_hasShrinkwrap":true,"readme":"# Local (`@hint/connector-local`)\n\nA local connector to analyze the local files in your project\nwith `webhint`.\n\n## Installation\n\nThis package is installed automatically when adding webhint to your project\nso running the following is enough:\n\n```bash\nnpm install hint --save-dev\n```\n\nTo use it, activate it via the [`.hintrc`][hintrc] configuration file:\n\n```json\n{\n    \"connector\": {\n        \"name\": \"local\"\n    },\n    ...\n}\n```\n\n## Options\n\n`local` allows you to configure the following:\n\n* `pattern`: Add or ignore files defined in the pattern. By default the\n  `local` connector will use the following pattern `['**', '!.git/**']`. This\n  doesn't apply if you are targeting just a file or if you are using the\n  options `content`.\n* `watch`: Run `webhint` in watch mode. Watch files and trigger the analysis\n  on changes.\n\n```json\n{\n    \"connector\": {\n        \"name\": \"local\",\n        \"options\": {\n            \"pattern\": [\"**\", \"!.git/**\"],\n            \"watch\": false\n        }\n    },\n    ...\n}\n```\n\nIn addition, the `local` connector accept a new parameter in the\nmethod `collect` that allow you to pass the content to analyze as an string.\nTo use that property, you need to call to the `executeOn` method in\nthe engine with the content to analyze.\n\n```js\nengine.executeOn(url, {content: '{{your content}}'});\n```\n\n## Further Reading\n\n* [Connectors overview][connectors]\n\n<!-- Link labels: -->\n\n[connectors]: https://webhint.io/docs/user-guide/concepts/connectors/\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1533585236356,"_cnpm_publish_time":1533585236356,"dist-tags":{"latest":"3.2.28"}}