@types/stylelint
Advanced tools
Comparing version 9.10.0 to 9.10.1
@@ -6,2 +6,3 @@ // Type definitions for stylelint 9.10 | ||
// James Garbutt <https://github.com/43081j> | ||
// Bob Matcuk <https://github.com/bmatcuk> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -12,3 +13,9 @@ // TypeScript Version: 2.2 | ||
export type FormatterType = "json" | "string" | "verbose" | "compact" | "unix"; | ||
export type FormatterType = | ||
| "json" | ||
| "string" | ||
| "verbose" | ||
| "compact" | ||
| "unix" | ||
| ((results: LintResult[]) => string); | ||
@@ -23,2 +30,4 @@ export type SyntaxType = "css-in-js" | ||
export type Severity = "warning" | "error"; | ||
export interface Configuration { | ||
@@ -30,3 +39,3 @@ rules: Record<string, any>; | ||
ignoreFiles: string|string[]; | ||
defaultSeverity: "warning"|"error"; | ||
defaultSeverity: Severity; | ||
} | ||
@@ -61,2 +70,10 @@ | ||
export interface Warning { | ||
line: number; | ||
column: number; | ||
rule: string; | ||
severity: Severity; | ||
text: string; | ||
} | ||
export interface LintResult { | ||
@@ -66,3 +83,3 @@ source: string; | ||
ignored: boolean | undefined; | ||
warnings: string[]; | ||
warnings: Warning[]; | ||
deprecations: string[]; | ||
@@ -69,0 +86,0 @@ invalidOptionWarnings: any[]; |
{ | ||
"name": "@types/stylelint", | ||
"version": "9.10.0", | ||
"version": "9.10.1", | ||
"description": "TypeScript definitions for stylelint", | ||
@@ -21,2 +21,7 @@ "license": "MIT", | ||
"githubUsername": "43081j" | ||
}, | ||
{ | ||
"name": "Bob Matcuk", | ||
"url": "https://github.com/bmatcuk", | ||
"githubUsername": "bmatcuk" | ||
} | ||
@@ -35,4 +40,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "dd6e8f2e5fb0778d54a23d3c69b8acf590d81be09cd6234f60347f7419bbab8d", | ||
"typesPublisherContentHash": "152c8144ecf699b56c4835a0d3a1d42a6744213610501b2bc22109243ed9c0c1", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for stylelint ( https://github.com/stylelint/stylelint ). | ||
This package contains type definitions for stylelint (https://github.com/stylelint/stylelint). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 20 Mar 2019 22:47:14 GMT | ||
* Last updated: Mon, 29 Jul 2019 18:37:34 GMT | ||
* Dependencies: @types/postcss | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Alan Agius <https://github.com/alan-agius4>, Filips Alpe <https://github.com/filipsalpe>, James Garbutt <https://github.com/43081j>. | ||
These definitions were written by Alan Agius <https://github.com/alan-agius4>, Filips Alpe <https://github.com/filipsalpe>, James Garbutt <https://github.com/43081j>, and Bob Matcuk <https://github.com/bmatcuk>. |
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
7337
148