remark-preset-lint-recommended
Advanced tools
Comparing version
export default remarkPresetLintRecommended; | ||
export type Preset = import('unified').Preset; | ||
/** @type {Preset} */ | ||
declare const remarkPresetLintRecommended: Preset; | ||
import type { Preset } from 'unified'; | ||
//# sourceMappingURL=index.d.ts.map |
11
index.js
@@ -26,3 +26,3 @@ /** | ||
/** | ||
* @typedef {import('unified').Preset} Preset | ||
* @import {Preset} from 'unified' | ||
*/ | ||
@@ -45,2 +45,10 @@ | ||
// To do: next major: | ||
// * add `remark-lint-fenced-code-flag` w/ GH check | ||
// * add `remark-lint-mdx-jsx-self-close` | ||
// * add `remark-lint-mdx-jsx-unique-attribute-name`. | ||
// * add `remark-lint-correct-media-syntax` | ||
// * add `remark-lint-no-hidden-table-cell` | ||
// * add `remark-lint-directive-unique-attribute-name` | ||
/** @type {Preset} */ | ||
@@ -59,2 +67,3 @@ const remarkPresetLintRecommended = { | ||
// Mistakes. | ||
// To do: next major: change to `allowSpaces: false`. | ||
remarkLintHardBreakSpaces, | ||
@@ -61,0 +70,0 @@ remarkLintNoDuplicateDefinitions, |
{ | ||
"name": "remark-preset-lint-recommended", | ||
"version": "7.0.0", | ||
"description": "remark preset to configure remark-lint with rules that prevent mistakes or stuff that fails across vendors.", | ||
"license": "MIT", | ||
"keywords": [ | ||
"preset", | ||
"recommended", | ||
"remark", | ||
"remark-lint", | ||
"remark-preset" | ||
], | ||
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-recommended", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"bugs": "https://github.com/remarkjs/remark-lint/issues", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com>" | ||
], | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": "./index.js", | ||
"files": [ | ||
"index.d.ts", | ||
"index.d.ts.map", | ||
"index.js" | ||
], | ||
"dependencies": { | ||
@@ -48,9 +24,31 @@ "remark-lint": "^10.0.0", | ||
}, | ||
"description": "remark preset to configure remark-lint with rules that prevent mistakes or stuff that fails across vendors.", | ||
"exports": "./index.js", | ||
"files": [ | ||
"index.d.ts", | ||
"index.d.ts.map", | ||
"index.js" | ||
], | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/unified" | ||
}, | ||
"keywords": [ | ||
"preset", | ||
"recommended", | ||
"remark", | ||
"remark-lint", | ||
"remark-preset" | ||
], | ||
"license": "MIT", | ||
"name": "remark-preset-lint-recommended", | ||
"repository": "https://github.com/remarkjs/remark-lint/tree/main/packages/remark-preset-lint-recommended", | ||
"scripts": {}, | ||
"sideEffects": false, | ||
"typeCoverage": { | ||
"atLeast": 100, | ||
"detail": true, | ||
"ignoreCatch": true, | ||
"strict": true | ||
}, | ||
"type": "module", | ||
"version": "7.0.1", | ||
"xo": { | ||
@@ -57,0 +55,0 @@ "prettier": true, |
Sorry, the diff of this file is not supported yet
12236
2.45%75
11.94%