{"_id":"remark-lint-code-block-style","_rev":"4176855","name":"remark-lint-code-block-style","description":"remark-lint rule to warn when code blocks do not adhere to a given style","dist-tags":{"latest":"4.0.1"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2026-03-01T21:36:09.000Z","created":"2017-02-23T17:22:55.145Z","4.0.1":"2025-01-27T12:30:14.038Z","4.0.0":"2024-04-09T16:57:36.851Z","3.1.2":"2023-05-16T14:06:06.747Z","3.1.0":"2021-09-18T11:11:07.966Z","3.0.1":"2021-08-17T13:49:39.621Z","3.0.0":"2021-08-12T12:24:49.297Z","2.0.1":"2020-07-02T10:42:01.792Z","2.0.0":"2020-03-30T12:57:32.759Z","1.0.4":"2020-03-24T13:57:42.303Z","1.0.3":"2019-06-20T09:58:18.161Z","1.0.2":"2018-06-04T13:56:50.433Z","1.0.1":"2017-08-17T11:56:28.006Z","1.0.0":"2017-02-23T17:22:55.145Z"},"users":{},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git#main"},"versions":{"4.0.1":{"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/remarkjs/remark-lint/issues"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"dependencies":{"@types/mdast":"^4.0.0","mdast-util-phrasing":"^4.0.0","unified-lint-rule":"^3.0.0","unist-util-position":"^5.0.0","unist-util-visit-parents":"^6.0.0","vfile-message":"^4.0.0"},"description":"remark-lint rule to warn when code blocks do not adhere to a given style","exports":"./index.js","funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["block","code","lint","remark","remark-lint","remark-lint-rule","rule"],"license":"MIT","name":"remark-lint-code-block-style","repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git#main"},"scripts":{},"sideEffects":false,"typeCoverage":{"atLeast":100,"strict":true},"type":"module","version":"4.0.1","xo":{"prettier":true,"rules":{"capitalized-comments":"off","unicorn/prefer-default-parameters":"off"}},"_id":"remark-lint-code-block-style@4.0.1","gitHead":"46ccbcd49deaada0172ad10425a2cd6b5f21a2c2","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-lint/tree/main#readme","_nodeVersion":"23.1.0","_npmVersion":"11.0.0","dist":{"shasum":"28cdab3e687b68e5e2cc500e225ed4b75e088e0e","size":4700,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-4.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/remark-lint-code-block-style_4.0.1_1737981013845_0.7666926866584052"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-27T12:30:14.038Z","publish_time":1737981014038,"_source_registry_name":"default","_cnpm_publish_time":1737981014038},"4.0.0":{"name":"remark-lint-code-block-style","version":"4.0.0","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["block","code","lint","remark","remark-lint","remark-lint-rule","rule"],"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"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/mdast":"^4.0.0","mdast-util-phrasing":"^4.0.0","unified-lint-rule":"^3.0.0","unist-util-position":"^5.0.0","unist-util-visit-parents":"^6.0.0","vfile-message":"^4.0.0"},"scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"capitalized-comments":"off","unicorn/prefer-default-parameters":"off"}},"_id":"remark-lint-code-block-style@4.0.0","gitHead":"6b6ea9caad1b6ebab719d6d57d08729ad6d91fb4","types":"./index.d.ts","homepage":"https://github.com/remarkjs/remark-lint/tree/main#readme","_nodeVersion":"21.7.1","_npmVersion":"10.5.0","dist":{"shasum":"cd85582e11a5182fcbca59a1591e39c6867d2bcc","size":4850,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_4.0.0_1712681856670_0.10017855982413515"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-09T16:57:36.851Z","publish_time":1712681856851,"_source_registry_name":"default","_cnpm_publish_time":1712681856851},"3.1.2":{"name":"remark-lint-code-block-style","version":"3.1.2","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git","directory":"packages/remark-lint-code-block-style"},"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","unified":"^10.0.0","unified-lint-rule":"^2.0.0","unist-util-generated":"^2.0.0","unist-util-position":"^4.0.0","unist-util-visit":"^4.0.0"},"scripts":{},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"639271aed95fa579623f385bade4939a9c70e959","homepage":"https://github.com/remarkjs/remark-lint#readme","_id":"remark-lint-code-block-style@3.1.2","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"shasum":"5f2ba66240a1c890ebe7a5f84496029a67cff929","size":4118,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-3.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-3.1.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_3.1.2_1684245966576_0.44603216934193024"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-16T14:06:06.747Z","publish_time":1684245966747,"_source_registry_name":"default","_cnpm_publish_time":1684245966747},"3.1.0":{"name":"remark-lint-code-block-style","version":"3.1.0","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git","directory":"packages/remark-lint-code-block-style"},"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","unified":"^10.0.0","unified-lint-rule":"^2.0.0","unist-util-generated":"^2.0.0","unist-util-position":"^4.0.0","unist-util-visit":"^4.0.0"},"scripts":{"build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"201e9950440ab3abce83e755af180f6b2016affc","homepage":"https://github.com/remarkjs/remark-lint#readme","_id":"remark-lint-code-block-style@3.1.0","_nodeVersion":"16.9.0","_npmVersion":"7.23.0","dist":{"shasum":"5a2d122d01f9175e762f81a144fc18e1a91a104c","size":3302,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-3.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_3.1.0_1631963467834_0.00522902103116496"},"_hasShrinkwrap":false,"publish_time":1631963467966,"_cnpm_publish_time":1631963467966,"_cnpmcore_publish_time":"2021-12-16T23:44:33.996Z"},"3.0.1":{"name":"remark-lint-code-block-style","version":"3.0.1","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-lint.git","directory":"packages/remark-lint-code-block-style"},"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","unified":"^10.0.0","unified-lint-rule":"^2.0.0","unist-util-generated":"^2.0.0","unist-util-position":"^4.0.0","unist-util-visit":"^4.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#readme","_id":"remark-lint-code-block-style@3.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.6","dist":{"shasum":"be4434e3e8007bd3324227da876d3c59e2e960d6","size":3273,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-3.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_3.0.1_1629208179508_0.6378351955397339"},"_hasShrinkwrap":false,"publish_time":1629208179621,"_cnpm_publish_time":1629208179621,"_cnpmcore_publish_time":"2021-12-16T23:44:34.220Z"},"3.0.0":{"name":"remark-lint-code-block-style","version":"3.0.0","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"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","unified":"^10.0.0","unified-lint-rule":"^2.0.0","unist-util-generated":"^2.0.0","unist-util-position":"^4.0.0","unist-util-visit":"^4.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-lint-code-block-style@3.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"bc425b594c2aae06b011f615c13c023a78d999f3","size":3267,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-3.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_3.0.0_1628771089124_0.32666105201309104"},"_hasShrinkwrap":false,"publish_time":1628771089297,"_cnpm_publish_time":1628771089297,"_cnpmcore_publish_time":"2021-12-16T23:44:34.456Z"},"2.0.1":{"name":"remark-lint-code-block-style","version":"2.0.1","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-code-block-style"},"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"}],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^2.0.0"},"xo":false,"_id":"remark-lint-code-block-style@2.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"448b0f2660acfcdfff2138d125ff5b1c1279c0cb","size":2833,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-2.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_2.0.1_1593686521686_0.9078448497757403"},"_hasShrinkwrap":false,"publish_time":1593686521792,"_cnpm_publish_time":1593686521792,"_cnpmcore_publish_time":"2021-12-16T23:44:34.687Z"},"2.0.0":{"name":"remark-lint-code-block-style","version":"2.0.0","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-code-block-style"},"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"}],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^2.0.0"},"xo":false,"_id":"remark-lint-code-block-style@2.0.0","_nodeVersion":"13.10.1","_npmVersion":"6.14.4","dist":{"shasum":"8d33bbbfc5e25c8b85be221a376fe64bf32c094e","size":2820,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-2.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_2.0.0_1585573052632_0.6922244252672589"},"_hasShrinkwrap":false,"publish_time":1585573052759,"_cnpm_publish_time":1585573052759,"_cnpmcore_publish_time":"2021-12-16T23:44:34.915Z"},"1.0.4":{"name":"remark-lint-code-block-style","version":"1.0.4","description":"remark-lint rule to warn when code blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","remark-lint-rule","code","block"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-code-block-style"},"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"}],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^1.1.1"},"xo":false,"_id":"remark-lint-code-block-style@1.0.4","_nodeVersion":"13.10.1","_npmVersion":"6.14.3","dist":{"shasum":"c7d2fc493e4212e6c18a46b3396dae052bd223ad","size":2821,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-1.0.4.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_1.0.4_1585058262199_0.302851556486728"},"_hasShrinkwrap":false,"publish_time":1585058262303,"_cnpm_publish_time":1585058262303,"_cnpmcore_publish_time":"2021-12-16T23:44:35.121Z"},"1.0.3":{"name":"remark-lint-code-block-style","version":"1.0.3","description":"remark-lint rule to warn when code-blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","code","block"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-code-block-style"},"bugs":{"url":"https://github.com/remarkjs/remark-lint/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^1.1.1"},"xo":false,"_id":"remark-lint-code-block-style@1.0.3","_nodeVersion":"12.2.0","_npmVersion":"6.9.0","dist":{"shasum":"236d8a5558041decf2b275e9d9eb5868950375ec","size":2796,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-1.0.3.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_1.0.3_1561024698034_0.27167797218083"},"_hasShrinkwrap":false,"publish_time":1561024698161,"_cnpm_publish_time":1561024698161,"_cnpmcore_publish_time":"2021-12-16T23:44:35.363Z"},"1.0.2":{"name":"remark-lint-code-block-style","version":"1.0.2","description":"remark-lint rule to warn when code-blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","code","block"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-lint/tree/master/packages/remark-lint-code-block-style"},"bugs":{"url":"https://github.com/remarkjs/remark-lint/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^1.1.1"},"xo":false,"_id":"remark-lint-code-block-style@1.0.2","_npmVersion":"6.0.1","_nodeVersion":"10.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"f24ef71767d5933ed83de93a54a85faf9e02c197","size":2223,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-1.0.2.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style_1.0.2_1528120610097_0.042639999932004846"},"_hasShrinkwrap":false,"publish_time":1528120610433,"_cnpm_publish_time":1528120610433,"_cnpmcore_publish_time":"2021-12-16T23:44:35.578Z"},"1.0.1":{"name":"remark-lint-code-block-style","version":"1.0.1","description":"remark-lint rule to warn when code-blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","code","block"],"repository":{"type":"git","url":"https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-code-block-style"},"bugs":{"url":"https://github.com/wooorm/remark-lint/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^1.1.1"},"xo":false,"_id":"remark-lint-code-block-style@1.0.1","_npmVersion":"5.1.0","_nodeVersion":"8.1.2","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"412e9e778a148c80330707b4679e33e0c06608f5","size":2058,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-1.0.1.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/remark-lint-code-block-style-1.0.1.tgz_1502970986950_0.5967743170913309"},"directories":{},"publish_time":1502970988006,"_hasShrinkwrap":false,"_cnpm_publish_time":1502970988006,"_cnpmcore_publish_time":"2021-12-16T23:44:35.861Z"},"1.0.0":{"name":"remark-lint-code-block-style","version":"1.0.0","description":"remark-lint rule to warn when code-blocks do not adhere to a given style","license":"MIT","keywords":["remark","lint","rule","code","block"],"repository":{"type":"git","url":"https://github.com/wooorm/remark-lint/tree/master/packages/remark-lint-code-block-style"},"bugs":{"url":"https://github.com/wooorm/remark-lint/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"files":["index.js"],"dependencies":{"unified-lint-rule":"^1.0.0","unist-util-generated":"^1.1.0","unist-util-position":"^3.0.0","unist-util-visit":"^1.1.1"},"xo":false,"_id":"remark-lint-code-block-style@1.0.0","scripts":{},"_shasum":"156965948e881486d2cc540e2863a619dc9d9659","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"156965948e881486d2cc540e2863a619dc9d9659","size":1808,"noattachment":false,"key":"/remark-lint-code-block-style/-/remark-lint-code-block-style-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/remark-lint-code-block-style/download/remark-lint-code-block-style-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/remark-lint-code-block-style-1.0.0.tgz_1487870573112_0.5061040888540447"},"directories":{},"publish_time":1487870575145,"_hasShrinkwrap":false,"_cnpm_publish_time":1487870575145,"_cnpmcore_publish_time":"2021-12-16T23:44:36.071Z"}},"readme":"<!--This file is generated-->\n\n# remark-lint-code-block-style\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\n[`remark-lint`][github-remark-lint] rule to warn when code blocks violate a given style.\n\n## Contents\n\n* [What is this?](#what-is-this)\n* [When should I use this?](#when-should-i-use-this)\n* [Presets](#presets)\n* [Install](#install)\n* [Use](#use)\n* [API](#api)\n  * [`unified().use(remarkLintCodeBlockStyle[, options])`](#unifieduseremarklintcodeblockstyle-options)\n  * [`Options`](#options)\n  * [`Style`](#style)\n* [Recommendation](#recommendation)\n* [Fix](#fix)\n* [Examples](#examples)\n* [Compatibility](#compatibility)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package checks the style of code blocks.\n\n## When should I use this?\n\nYou can use this package to check that the style of code blocks is\nconsistent.\n\n## Presets\n\nThis plugin is included in the following presets:\n\n| Preset | Options |\n| - | - |\n| [`remark-preset-lint-consistent`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-consistent) | `'consistent'` |\n| [`remark-preset-lint-markdown-style-guide`](https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-markdown-style-guide) | `'fenced'` |\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-lint-code-block-style\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport remarkLintCodeBlockStyle from 'https://esm.sh/remark-lint-code-block-style@4'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import remarkLintCodeBlockStyle from 'https://esm.sh/remark-lint-code-block-style@4?bundle'\n</script>\n```\n\n## Use\n\nOn the API:\n\n```js\nimport remarkLint from 'remark-lint'\nimport remarkLintCodeBlockStyle from 'remark-lint-code-block-style'\nimport remarkParse from 'remark-parse'\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(remarkLint)\n  .use(remarkLintCodeBlockStyle)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))\n```\n\nOn the CLI:\n\n```sh\nremark --frail --use remark-lint --use remark-lint-code-block-style .\n```\n\nOn the CLI in a config file (here a `package.json`):\n\n```diff\n …\n \"remarkConfig\": {\n   \"plugins\": [\n     …\n     \"remark-lint\",\n+    \"remark-lint-code-block-style\",\n     …\n   ]\n }\n …\n```\n\n## API\n\nThis package exports no identifiers.\nIt exports the [TypeScript][typescript] types\n[`Options`][api-options] and\n[`Style`][api-style].\nThe default export is\n[`remarkLintCodeBlockStyle`][api-remark-lint-code-block-style].\n\n### `unified().use(remarkLintCodeBlockStyle[, options])`\n\nWarn when code blocks violate a given style.\n\n###### Parameters\n\n* `options` ([`Options`][api-options], default: `'consistent'`)\n  — preferred style or whether to detect the first style and warn for\n  further differences\n\n###### Returns\n\nTransform ([`Transformer` from `unified`][github-unified-transformer]).\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Type\n\n```ts\ntype Options = Style | 'consistent'\n```\n\n### `Style`\n\nStyle (TypeScript type).\n\n###### Type\n\n```ts\ntype Style = 'indented' | 'fenced'\n```\n\n## Recommendation\n\nIndentation in markdown is complex as lists and indented code interfere in\nunexpected ways.\nFenced code has more features than indented code: it can specify a\nprogramming language.\nSince CommonMark took the idea of fenced code from GFM,\nfenced code became widely supported.\nDue to this, it’s recommended to configure this rule with `'fenced'`.\n\n## Fix\n\n[`remark-stringify`][github-remark-stringify] always formats code blocks as\nfenced.\nPass `fences: false` to only use fenced code blocks when they have a\nlanguage and as indented code otherwise.\n\n## Examples\n\n##### `ok-indented.md`\n\nWhen configured with `'indented'`.\n\n###### In\n\n```markdown\n    venus()\n\nMercury.\n\n    earth()\n```\n\n###### Out\n\nNo messages.\n\n##### `ok-fenced.md`\n\nWhen configured with `'fenced'`.\n\n###### In\n\n````markdown\n```\nvenus()\n```\n\nMercury.\n\n```\nearth()\n```\n````\n\n###### Out\n\nNo messages.\n\n##### `not-ok-consistent.md`\n\n###### In\n\n````markdown\n    venus()\n\nMercury.\n\n```\nearth()\n```\n````\n\n###### Out\n\n```text\n5:1-7:4: Unexpected fenced code block, expected indented code blocks\n```\n\n##### `not-ok-indented.md`\n\nWhen configured with `'indented'`.\n\n###### In\n\n````markdown\n```\nvenus()\n```\n\nMercury.\n\n```\nearth()\n```\n````\n\n###### Out\n\n```text\n1:1-3:4: Unexpected fenced code block, expected indented code blocks\n7:1-9:4: Unexpected fenced code block, expected indented code blocks\n```\n\n##### `not-ok-fenced.md`\n\nWhen configured with `'fenced'`.\n\n###### In\n\n```markdown\n    venus()\n\nMercury.\n\n    earth()\n```\n\n###### Out\n\n```text\n1:1-1:12: Unexpected indented code block, expected fenced code blocks\n5:1-5:12: Unexpected indented code block, expected fenced code blocks\n```\n\n##### `not-ok-options.md`\n\nWhen configured with `'????'`.\n\n###### Out\n\n```text\n1:1: Unexpected value `????` for `options`, expected `'fenced'`, `'indented'`, or `'consistent'`\n```\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-lint-code-block-style@4`,\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-options]: #options\n\n[api-remark-lint-code-block-style]: #unifieduseremarklintcodeblockstyle-options\n\n[api-style]: #style\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-lint-code-block-style.svg\n\n[badge-downloads-url]: https://www.npmjs.com/package/remark-lint-code-block-style\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-lint-code-block-style\n\n[badge-size-url]: https://bundlejs.com/?q=remark-lint-code-block-style\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[github-remark-stringify]: https://github.com/remarkjs/remark/tree/main/packages/remark-stringify\n\n[github-unified-transformer]: https://github.com/unifiedjs/unified#transformer\n\n[npm-install]: https://docs.npmjs.com/cli/install\n\n[typescript]: https://www.typescriptlang.org\n","_attachments":{},"homepage":"https://github.com/remarkjs/remark-lint/tree/main#readme","bugs":{"url":"https://github.com/remarkjs/remark-lint/issues"},"license":"MIT"}