{"ava":{"failFast":false,"files":["dist/tests/**/*.js","!dist/tests/**/fixtures/**/*.js"],"timeout":"1m"},"dependencies":{"@hint/utils":"^7.0.4","@hint/utils-debug":"^1.0.1","@hint/utils-i18n":"^1.0.3","@hint/utils-network":"^1.0.4","@hint/utils-types":"^1.0.1"},"description":"hint that that warns against using the BOM character at the beginning of a text file.","devDependencies":{"@hint/utils-create-server":"^3.4.4","@hint/utils-tests-helpers":"^6.1.2","@types/mock-require":"^2.0.0","@types/node":"^13.13.4","@typescript-eslint/eslint-plugin":"^1.13.0","@typescript-eslint/parser":"^1.12.0","ava":"^3.8.2","cpx":"^1.5.0","eslint":"^6.8.0","eslint-plugin-markdown":"^1.0.2","mock-require":"^3.0.3","npm-run-all":"^4.1.5","nyc":"^15.0.1","rimraf":"^3.0.2","typescript":"^3.8.3"},"homepage":"https://webhint.io/","keywords":["hint","no-bom","no-bom-hint","webhint","webhint-hint"],"license":"Apache-2.0","main":"dist/src/hint.js","name":"@hint/hint-no-bom","nyc":{"extends":"../../.nycrc"},"peerDependencies":{"hint":"^6.0.0"},"repository":{"directory":"packages/hint-no-bom","type":"git","url":"git+https://github.com/webhintio/hint.git"},"scripts":{"build":"npm run i18n && npm-run-all build:*","build-release":"npm run clean && npm run i18n && npm run build:assets && tsc --inlineSourceMap false --removeComments true","build:assets":"cpx \"./{src,tests}/**/{!(*.ts),.!(ts)}\" dist","build:ts":"tsc -b","clean":"rimraf dist","i18n":"node ../../scripts/create-i18n.js","lint":"npm-run-all lint:*","lint:js":"eslint . --cache --ext .js,.md,.ts --ignore-path ../../.eslintignore","lint:dependencies":"node ../../scripts/lint-dependencies.js","lint:md":"node ../../scripts/lint-markdown.js","test":"npm run i18n && npm run lint && npm run build && npm run test-only","test-only":"nyc ava","test-release":"npm run i18n && npm run lint && npm run build-release && 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":"4.2.4","bugs":{"url":"https://github.com/webhintio/hint/issues"},"_id":"@hint/hint-no-bom@4.2.4","_nodeVersion":"10.19.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-NtqH51E6vFccV+dMOFWqZM7UtBaRua1h8jFhyG7OxGkvxLo3oCzPoln0AXIH9FjxPxab3H/DwPV1QYW0tHi7yA==","shasum":"cc99e7568fa8f7f7cd06891d251f1e07b4d569a5","tarball":"http://registry-npm.ywwl.com/@hint/hint-no-bom/download/@hint/hint-no-bom-4.2.4.tgz","fileCount":14,"unpackedSize":43279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJewwk+CRA9TVsSAnZWagAAkCcP/R8ihzlLafx9sUZKG75L\nIZdJeQFJ6NA/nZKanz1oD95Pd7IoTiOY6NbS6VeKY6364afl814KaRVFvw7I\nI+ld2EXxYprVS2ye/zg8EhNybDNsm4pdUNx65RG22iF/cbRD60GeEWdIaJ6p\nd62VN8SCcZTTz/GKqzEMCvr2Rz1AtfAkbEFyP0zudL/ZNCFHmyzfvCrtQicP\n5VIWH/HfOWRwsAS9GIGoIKfWKFVyQOK5howxDnA98YfiHdJQAYayPkFFtZm2\nN4o88VKEPtWNo+Xx3ax4MCyg5+b9/DQHAskgoPZ9L/kKa/p3D6JSfn8V9XCY\nszx/+0kMIH3zqAHPBuic2MEl1p5wtpt1afCmjZ5Q7eUZgHEUDIxG4sMaq9Ck\nCx77V09b7vn6uKDblVWuqs6OPQ0w6jD20DiUIocIif55mgd2i+8ZrBbZ2n9H\nRx4XZxT707H72AyIaUDQ9LlSS109n1EA/OqxwGSGgz7d6j7FDhfKjmBjtYSJ\nH+x2yopO1tUsc4VdWGb16TrLLCrCBB3umMjgR9EStj7jppCWH/OGSnSolL7y\n3J93x1fsjbZZHA0Hha9nCsq55u7iR4YuF8zot5boiQwq31nqmseRuAqZa6o0\n87UkKK/diHBrOnxt42ctrrcjgm91jhyEb76t3stDkECkSwL4eY3WjW+PDRYL\nh18H\r\n=d1I2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjTpiiPi7kWxwTKpK/ngEIIscwXpLr1wrPlPijGbM2sgIgJo04KTP/SkqIDiDHKkKW/r4klzSL8E2hODgu5mzpCgI="}],"size":13228,"noattachment":false,"key":"/@hint/hint-no-bom/-/@hint/hint-no-bom-4.2.4.tgz"},"maintainers":[{"email":"antross@gmail.com","name":"antross"},{"email":"John.Emau@microsoft.com","name":"johnatms"},{"email":"amolleda@gmail.com","name":"molant"}],"_npmUser":{"name":"johnatms","email":"John.Emau@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/hint-no-bom_4.2.4_1589840190319_0.5987532848678208"},"_hasShrinkwrap":false,"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":1589840190466,"_cnpm_publish_time":1589840190466,"dist-tags":{"latest":"4.2.27"}}