@diplodoc/yfmlint 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +1 -0
- package/build/index.js +11 -11
- package/build/index.js.map +2 -2
- package/build/typings.d.ts +7 -10
- package/package.json +2 -2
package/build/typings.d.ts
CHANGED
|
@@ -3,20 +3,17 @@ import type { LogLevels } from './utils';
|
|
|
3
3
|
export type RawLintConfig = {
|
|
4
4
|
default?: boolean;
|
|
5
5
|
} & {
|
|
6
|
-
[x: string]: LogLevels | boolean |
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
[x: string]: LogLevels | boolean | Partial<RuleConfig>;
|
|
7
|
+
};
|
|
8
|
+
export type RuleConfig = {
|
|
9
|
+
loglevel: LogLevels;
|
|
10
|
+
} & {
|
|
11
|
+
[x: string]: unknown;
|
|
11
12
|
};
|
|
12
13
|
export type LintConfig = {
|
|
13
14
|
default?: boolean;
|
|
14
15
|
} & {
|
|
15
|
-
[x: string]: false |
|
|
16
|
-
level: LogLevels;
|
|
17
|
-
} & {
|
|
18
|
-
[x: string]: unknown;
|
|
19
|
-
});
|
|
16
|
+
[x: string]: false | RuleConfig;
|
|
20
17
|
};
|
|
21
18
|
export interface Options {
|
|
22
19
|
plugins?: Function[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diplodoc/yfmlint",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "A simple transformer of text in YFM (Yandex Flavored Markdown) to HTML",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"esbuild": "^0.19.12",
|
|
54
54
|
"lodash": "^4.17.21",
|
|
55
55
|
"markdown-it-attrs": "^4.3.1",
|
|
56
|
-
"markdownlint": "
|
|
56
|
+
"markdownlint": "github:diplodoc-platform/markdownlint#no-parse-micromark",
|
|
57
57
|
"ts-dedent": "^2.2.0",
|
|
58
58
|
"typescript": "5.2.2",
|
|
59
59
|
"vite": "^6.2.1",
|