@markuplint/ml-config
Advanced tools
Comparing version 1.3.0 to 2.0.0-alpha.0.36
@@ -1,58 +0,3 @@ | ||
export interface Config { | ||
$schema?: string; | ||
parser?: ParserConfig; | ||
parserOptions?: ParserOptions; | ||
extends?: string | string[]; | ||
specs?: string | string[]; | ||
rules?: Rules; | ||
nodeRules?: NodeRule[]; | ||
childNodeRules?: ChildNodeRule[]; | ||
excludeFiles?: string[]; | ||
} | ||
export interface ParserConfig { | ||
[extensionPattern: string]: string; | ||
} | ||
export declare type ParserOptions = { | ||
ignoreFrontMatter?: boolean; | ||
}; | ||
export declare type Rule = RuleConfig<RuleConfigValue, unknown> | RuleConfigValue; | ||
export interface Rules { | ||
[ruleName: string]: Rule; | ||
} | ||
export declare type RuleConfig<T extends RuleConfigValue, O = void> = { | ||
severity?: Severity; | ||
value?: T; | ||
option?: O; | ||
}; | ||
export declare type Severity = 'error' | 'warning' | 'info'; | ||
export declare type RuleConfigValue = string | number | boolean | any[] | null; | ||
export interface NodeRule { | ||
tagName?: string; | ||
selector?: string; | ||
categories?: string[]; | ||
roles?: string[]; | ||
obsolete?: boolean; | ||
rules?: Rules; | ||
} | ||
export interface ChildNodeRule { | ||
tagName?: string; | ||
selector?: string; | ||
inheritance?: boolean; | ||
rules?: Rules; | ||
} | ||
export interface Result { | ||
severity: Severity; | ||
message: string; | ||
line: number; | ||
col: number; | ||
raw: string; | ||
} | ||
export interface VerifiedResult extends Result { | ||
ruleId: string; | ||
} | ||
export interface RuleInfo<T extends RuleConfigValue, O = null> { | ||
disabled: boolean; | ||
severity: Severity; | ||
value: T; | ||
option: O; | ||
} | ||
export * from './merge-config'; | ||
export * from './utils'; | ||
export * from './types'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./merge-config"), exports); | ||
(0, tslib_1.__exportStar)(require("./utils"), exports); | ||
(0, tslib_1.__exportStar)(require("./types"), exports); |
{ | ||
"name": "@markuplint/ml-config", | ||
"version": "1.3.0", | ||
"version": "2.0.0-alpha.0.36+6a10aede", | ||
"description": "JSON Schema and TypeScript types of markuplint configure JSON", | ||
@@ -18,3 +18,11 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "94955520e9fad6a45e8831c47f6b8b342b77efdc" | ||
"devDependencies": { | ||
"@types/mustache": "^4.1.2" | ||
}, | ||
"dependencies": { | ||
"deepmerge": "^4.2.2", | ||
"is-plain-object": "^5.0.0", | ||
"mustache": "^4.2.0" | ||
}, | ||
"gitHead": "6a10aede7385e2e97d0ba2c272a2e8c08e5429fd" | ||
} |
{ | ||
"extends": "../../../tsconfig.json", | ||
"compilerOptions": { | ||
"composite": true | ||
}, | ||
"include": ["./src/**/*"], | ||
"exclude": ["node_modules"] | ||
"extends": "../../../tsconfig.json" | ||
} |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
52676
14
462
3
1
2
2
+ Addeddeepmerge@^4.2.2
+ Addedis-plain-object@^5.0.0
+ Addedmustache@^4.2.0
+ Addeddeepmerge@4.3.1(transitive)
+ Addedis-plain-object@5.0.0(transitive)
+ Addedmustache@4.2.0(transitive)