remark-lint-maximum-line-length
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -11,4 +11,4 @@ export default remarkLintMaximumLineLength | ||
| boolean | ||
| import('unified-lint-rule').Label | ||
| import('unified-lint-rule').Severity | ||
| import('unified-lint-rule').Label | ||
), | ||
@@ -15,0 +15,0 @@ number | undefined |
14
index.js
@@ -127,6 +127,16 @@ /** | ||
node.type === 'html' || | ||
// @ts-expect-error: JSX is from MDX: <https://github.com/mdx-js/specification>. | ||
// @ts-expect-error: These are from MDX@1 and MDX@2: <https://github.com/mdx-js/specification>. | ||
node.type === 'jsx' || | ||
// @ts-expect-error: MDX | ||
node.type === 'mdxFlowExpression' || | ||
// @ts-expect-error: MDX | ||
node.type === 'mdxJsxFlowElement' || | ||
// @ts-expect-error: MDX | ||
node.type === 'mdxJsxTextElement' || | ||
// @ts-expect-error: MDX | ||
node.type === 'mdxTextExpression' || | ||
// @ts-expect-error: MDX | ||
node.type === 'mdxjsEsm' || | ||
node.type === 'yaml' || | ||
// @ts-expect-error: TOML is from frontmatter. | ||
// @ts-expect-error: YAML and TOML are from frontmatter. | ||
node.type === 'toml') && | ||
@@ -133,0 +143,0 @@ !generated(node) |
{ | ||
"name": "remark-lint-maximum-line-length", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "remark-lint rule to warn when lines are too long", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15471
217