{"ava":{"failFast":false,"files":["dist/tests/**/*.js"],"timeout":"1m"},"description":"hint that that warns against using the BOM character at the beginning of a text file.","devDependencies":{"@hint/utils-tests-helpers":"^1.0.0","ava":"^0.25.0","cpx":"^1.5.0","eslint":"^5.2.0","eslint-plugin-markdown":"^1.0.0-beta.7","eslint-plugin-typescript":"^0.12.0","markdownlint-cli":"^0.12.0","npm-link-check":"^2.0.0","npm-run-all":"^4.1.2","nyc":"^12.0.2","rimraf":"^2.6.2","hint":"^3.0.0","typescript":"^3.0.1","typescript-eslint-parser":"^18.0.0"},"engines":{"node":">=8.0.0"},"files":["dist/src","npm-shrinkwrap.json"],"homepage":"https://webhint.io/","keywords":["hint","webhint","webhint-hint","no-bom","no-bom-hint"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-no-bom","nyc":{"extends":"../../.nycrc"},"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 && npm run build:assets && 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 && npm run test-only","test-only":"nyc ava","watch":"npm run build && npm-run-all --parallel -c watch:*","watch:assets":"npm run build:assets -- -w --no-initial","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/hint-no-bom@1.0.0","_npmVersion":"6.3.0","_nodeVersion":"10.4.0","_npmUser":{"name":"alrra","email":"alrraa@gmail.com"},"dist":{"integrity":"sha512-FoIGGa6QpsYmxEonxYC3bkOQks1Nl2KMnIXd+5jgsCRtHRJ2lEmJpbiTplREU3n9fYdXFEBALS0ITH4TWhyE4A==","shasum":"0cbe9af46d9a43e8514d3a762a6639b0bd12125b","tarball":"http://registry-npm.ywwl.com/@hint/hint-no-bom/download/@hint/hint-no-bom-1.0.0.tgz","fileCount":7,"unpackedSize":17691,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaM7QCRA9TVsSAnZWagAAsSIP/2dYtJA5asuZ8by/+w6q\n1NgtPw0RCMK2ovQkuh6+srkW9Ayzy6j2r8GoRHlRoG1FE+3LihupYYiE56eJ\nhg8n8LeXWPNJoUja/dX4e+fq93YTfy5I7DVZjJQH+oow2QM4cRMu+5xUyzzY\n8mbA2Z+yNEsHsAOJ+sZpxJit4xWE8CAv0gbIBChuj6c/O5/JJame22Ap2TmP\nzI/lmrdgMOk8FKlIXA8Q8Ns9pmIove/fHZb7Z+veK2dRYm9M8ZLoKJ+/f6hK\ncz8BRNp5EmE5N9Ef0i9Zg945e68FJZE0fG7Xgr4WHlYd8Rkbb+kyjWzuljLw\nDa6g+U821p94AGkkj59W1bhjj5S8BMFzsmRZY8MvrT+70NYPvqxWCXM9lhAA\nxRupd5V6IUj83fMtyu4feTd81AoN0fjNuelNUxg4KPF2h99nyewk2QrolcF1\n5drJLtJmDeZ6YKu5QMuYMkgc1oozV6K6qrD2lI55j3hYLygMRrQOVv9ftTyk\n2jXrY3snOtSMiPugxsxEJy1mla4n3vOVYPSQ5FmncqIyLnTeSy2tKTZ5XOBZ\nEB5cHQLZrPnDMkYmx6xNk/NZcvxznhAvUVyaxhFAfVSXz//DLe+n9ElV4Q1f\n7IFQQvWPQCcJS4dpoN8UmZFUu3qfOTszVZEo7UUwB7oSGeUwUzqZjSt6eHV+\nKJ1Q\r\n=gHpc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRkFNz2TSh+4iGv5zphczqKTejG3S9d0rKfdqiyVUTLAiEAxbqkozlIGTt2W6zvqHw32SD36jCRYZjbAwOe9+NGxkI="}],"size":6692,"noattachment":false,"key":"/@hint/hint-no-bom/-/@hint/hint-no-bom-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/hint-no-bom_1.0.0_1533595344272_0.6306205253267705"},"_hasShrinkwrap":true,"readme":"# No byte-order mark (`no-bom`)\n\n`no-bom` warns against having the byte-order mark (BOM) character\nat the beginning of a text file.\n\n## Why is this important?\n\nHaving the BOM character at the beginning of a file over the internet\n(especially HTML) can have some bad side effects on some browsers.\nThe BOM character can be used to indicate the charset of the content\nis `UTF-8` but this doesn't mean it will be considered. For example,\nInternet Explorer 10 and 11 give a higher precedence to the HTTP header\nwhile previous versions gave the precedence to BOM for the encoding.\n\nYou can learn about other problems in [this section][bom problems].\n\n## What does the hint check?\n\nThis hint checks that all text-based media type files are served\nwithout the BOM character at the beginning.\n\n### Examples that **trigger** the hint\n\nA text file (such as HTML) that starts with the BOM character `U+FEFF`\nwill fail.\n\n### Examples that **pass** the hint\n\nA text file (such as HTML) that doesn't start with the BOM character\n`U+FEFF` will pass.\n\n## How to use this hint?\n\nThis package is installed automatically by webhint:\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    \"formatters\": [...],\n    \"hints\": {\n        \"no-bom\": \"error\",\n        ...\n    },\n    \"parsers\": [...],\n    ...\n}\n```\n\n**Note**: The recommended way of running webhint is as a `devDependency` of\nyour project.\n\n## Further Reading\n\n* [Byte order mark (Wikipedia)][bom]\n* [The byte-order mark (BOM) in HTML][bom in html]\n\n<!-- Link labels: -->\n\n[bom]: https://en.wikipedia.org/wiki/Byte_order_mark\n[bom in html]: https://www.w3.org/International/questions/qa-byte-order-mark.en\n[bom problems]: https://www.w3.org/International/questions/qa-byte-order-mark.en#problems\n[hintrc]: https://webhint.io/docs/user-guide/configuring-webhint/summary/\n","publish_time":1533595344361,"_cnpm_publish_time":1533595344361,"dist-tags":{"latest":"4.2.27"}}