{"name":"remark-preset-lint-consistent","version":"5.0.0","description":"remark preset to configure remark-lint with rules that enforce consistency","license":"MIT","keywords":["remark","remark-preset","preset","consistent","consistency"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-lint/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/mdast":"^3.0.0","remark-lint":"^9.0.0","remark-lint-blockquote-indentation":"^3.0.0","remark-lint-checkbox-character-style":"^4.0.0","remark-lint-code-block-style":"^3.0.0","remark-lint-emphasis-marker":"^3.0.0","remark-lint-fenced-code-marker":"^3.0.0","remark-lint-heading-style":"^3.0.0","remark-lint-link-title-style":"^3.0.0","remark-lint-list-item-content-indent":"^3.0.0","remark-lint-ordered-list-marker-style":"^3.0.0","remark-lint-rule-style":"^3.0.0","remark-lint-strong-marker":"^3.0.0","remark-lint-table-cell-padding":"^4.0.0","unified":"^10.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"homepage":"https://github.com/remarkjs/remark-lint/tree/main#readme","_id":"remark-preset-lint-consistent@5.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"integrity":"sha512-e58zMzB463x8nJzOjoYU6FM+xoczbSGcBu2um3ssc26zolzqVQM2nKMSQ+I/gUTwg75Q5y36MY2H4N+DB65/cw==","shasum":"ded34b6d39118d787ab4c8478d54db260640d973","tarball":"http://registry-npm.ywwl.com/remark-preset-lint-consistent/download/remark-preset-lint-consistent-5.0.0.tgz","fileCount":4,"unpackedSize":16731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFRP0CRA9TVsSAnZWagAAS7AP/1uaHlT8HHhc3Dtqzu9J\nz5qsshpdNINVanyrnHP0NMFQHU48ApsTybwTkD3Zty/yVr1BOpzLiIqtFCnr\nubTMPY4NtMm3vnvxr+c1JDOo6X115RvC8xHEmL3d9VjzXUeCf6YGOMrrr3ur\n1rPDsDrPbDVL/ySYFiXj2G1rYc2hY5Yor+p5Z2Cok5jyUJ6J8CriJounB+ql\niTE9k6bCLVmN3Ya04zfinINgTUuk7RuT6cjvs2SXyTUUnynwmuWdLcAAkt4a\nryrWOjDMcfj/Frp8rx2iFyZGIu+AYwqz7sTfmSfaAjPnhiCqz/J2YEAd3F1b\nMLG8S+LCGmEOvFZHm04rK1Aq0I0tM/VhKEFWqSzHGcu7HvbxgKdmQfUEHyD2\nP31RnGm4z/Rvm6DmcI3nokS4guptdyFV+uq8IlVm0ppNwfvXhQEIu4Yq8I12\nNXwwm25Y8PoOBQI2nBmoUyMJO+e/d/JCsqBHQv6StDEMwimiZd8X66cGsVfD\nD2K70UNLOcH6MX+JUP58+J6hBKddAjB67tC8I3GHw/o3ejfKxtVf1UEy5EqJ\nFJ3UelVOz//dCrLdLGpPN3A85/JNx8DxaYeke3nAnWXkNfCquz39ZNUR/eX6\nGDguplIQcmTTRcDHVKDFPYML2E5uyJr5HyJWcifeLvTbCJnH7VwFXJa3Artq\n0aFt\r\n=FruX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDNzBsyC7li9MwPA+Yt/NhKp8z2ZhZd9UlE5eoq4SbXRAiEAnIJE7ZV0O9OUgvamdTF7GFte36u5T+G0g3gb0sntrkg="}],"size":2770,"noattachment":false,"key":"/remark-preset-lint-consistent/-/remark-preset-lint-consistent-5.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-preset-lint-consistent_5.0.0_1628771316346_0.7281365007626615"},"_hasShrinkwrap":false,"readme":"<!--This file is generated-->\n\n# remark-preset-lint-consistent\n\n[![Build][badge-build-image]][badge-build-url]\n[![Coverage][badge-coverage-image]][badge-coverage-url]\n[![Downloads][badge-downloads-image]][badge-downloads-url]\n[![Size][badge-size-image]][badge-size-url]\n[![Sponsors][badge-funding-sponsors-image]][badge-funding-url]\n[![Backers][badge-funding-backers-image]][badge-funding-url]\n[![Chat][badge-chat-image]][badge-chat-url]\n\nPreset of [`remark-lint`][github-remark-lint] rules to warn for inconsistencies.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Plugins](#plugins)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`unified().use(remarkPresetLintConsistent)`](#unifieduseremarkpresetlintconsistent)\n* [Compatibility](#compatibility)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a preset containing `remark-lint` rules.\nLint rules check markdown code style.\n\n## When should I use this?\n\nYou can use this package to check that markdown is consistent.\n\n## Plugins\n\nThis preset includes the following plugins:\n\n| Plugin | Options |\n| - | - |\n| [`remark-lint`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint) | |\n| [`remark-lint-blockquote-indentation`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-blockquote-indentation) | `'consistent'` |\n| [`remark-lint-checkbox-character-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-checkbox-character-style) | `'consistent'` |\n| [`remark-lint-code-block-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style) | `'consistent'` |\n| [`remark-lint-emphasis-marker`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-emphasis-marker) | `'consistent'` |\n| [`remark-lint-fenced-code-marker`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-fenced-code-marker) | `'consistent'` |\n| [`remark-lint-heading-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-heading-style) | `'consistent'` |\n| [`remark-lint-link-title-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-link-title-style) | `'consistent'` |\n| [`remark-lint-list-item-content-indent`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-list-item-content-indent) | |\n| [`remark-lint-ordered-list-marker-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-style) | `'consistent'` |\n| [`remark-lint-ordered-list-marker-value`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-ordered-list-marker-value) | `'consistent'` |\n| [`remark-lint-rule-style`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-rule-style) | `'consistent'` |\n| [`remark-lint-strong-marker`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-strong-marker) | `'consistent'` |\n| [`remark-lint-table-cell-padding`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-table-cell-padding) | `'consistent'` |\n\n## Install\n\nThis package is [ESM only][github-gist-esm].\nIn Node.js (version 16+),\ninstall with [npm][npm-install]:\n\n```sh\nnpm install remark-preset-lint-consistent\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport remarkPresetLintConsistent from 'https://esm.sh/remark-preset-lint-consistent@6'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import remarkPresetLintConsistent from 'https://esm.sh/remark-preset-lint-consistent@6?bundle'\n</script>\n```\n\n## Use\n\nOn the API:\n\n```js\nimport remarkParse from 'remark-parse'\nimport remarkPresetLintConsistent from 'remark-preset-lint-consistent'\nimport remarkStringify from 'remark-stringify'\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\nimport {reporter} from 'vfile-reporter'\n\nconst file = await read('example.md')\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkPresetLintConsistent)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))\n```\n\nOn the CLI:\n\n```sh\nremark --frail --use remark-preset-lint-consistent .\n```\n\nOn the CLI in a config file (here a `package.json`):\n\n```diff\n …\n \"remarkConfig\": {\n   \"plugins\": [\n     …\n+    \"remark-preset-lint-consistent\",\n     …\n   ]\n }\n …\n```\n\n## API\n\nThis package exports no identifiers.\nIt exports no additional [TypeScript][typescript] types.\nThe default export is\n[`remarkPresetLintConsistent`][api-remark-preset-lint-consistent].\n\n### `unified().use(remarkPresetLintConsistent)`\n\nCheck that markdown is consistent.\n\nYou can reconfigure rules in the preset by using them afterwards with different\noptions.\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line,\n`remark-preset-lint-consistent@6`,\ncompatible with Node.js 16.\n\n## Contribute\n\nSee [`contributing.md`][github-dotfiles-contributing] in [`remarkjs/.github`][github-dotfiles-health] for ways\nto get started.\nSee [`support.md`][github-dotfiles-support] for ways to get help.\n\nThis project has a [code of conduct][github-dotfiles-coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][file-license] © [Titus Wormer][author]\n\n[api-remark-preset-lint-consistent]: #unifieduseremarkpresetlintconsistent\n\n[author]: https://wooorm.com\n\n[badge-build-image]: https://github.com/remarkjs/remark-lint/workflows/main/badge.svg\n\n[badge-build-url]: https://github.com/remarkjs/remark-lint/actions\n\n[badge-chat-image]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[badge-chat-url]: https://github.com/remarkjs/remark/discussions\n\n[badge-coverage-image]: https://img.shields.io/codecov/c/github/remarkjs/remark-lint.svg\n\n[badge-coverage-url]: https://codecov.io/github/remarkjs/remark-lint\n\n[badge-downloads-image]: https://img.shields.io/npm/dm/remark-preset-lint-consistent.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/remark-preset-lint-consistent\n\n[badge-funding-backers-image]: https://opencollective.com/unified/backers/badge.svg\n\n[badge-funding-sponsors-image]: https://opencollective.com/unified/sponsors/badge.svg\n\n[badge-funding-url]: https://opencollective.com/unified\n\n[badge-size-image]: https://img.shields.io/bundlejs/size/remark-preset-lint-consistent\n\n[badge-size-url]: https://bundlejs.com/?q=remark-preset-lint-consistent\n\n[esm-sh]: https://esm.sh\n\n[file-license]: https://github.com/remarkjs/remark-lint/blob/main/license\n\n[github-dotfiles-coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md\n\n[github-dotfiles-contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md\n\n[github-dotfiles-health]: https://github.com/remarkjs/.github\n\n[github-dotfiles-support]: https://github.com/remarkjs/.github/blob/main/support.md\n\n[github-gist-esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[github-remark-lint]: https://github.com/remarkjs/remark-lint\n\n[npm-install]: https://docs.npmjs.com/cli/install\n\n[typescript]: https://www.typescriptlang.org\n","publish_time":1628771316513,"_cnpm_publish_time":1628771316513,"dist-tags":{"latest":"6.0.1"}}