mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
add option for stylelint: config (#37948)
This commit is contained in:
parent
f346ea3bae
commit
db55146182
10
types/stylelint-webpack-plugin/index.d.ts
vendored
10
types/stylelint-webpack-plugin/index.d.ts
vendored
@ -23,7 +23,17 @@ declare namespace StylelintWebpackPlugin {
|
||||
|
||||
type Formatter = (messages: Message[], source: string) => string;
|
||||
|
||||
interface Config {
|
||||
rules?: object;
|
||||
extends?: string | string[];
|
||||
plugins?: string[];
|
||||
processors?: string[];
|
||||
ignoreFiles?: string | string[];
|
||||
defaultSeverity?: "warning" | "error";
|
||||
}
|
||||
|
||||
interface Options {
|
||||
config?: Config;
|
||||
configFile?: string;
|
||||
context?: string;
|
||||
emitErrors?: boolean;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user