Skip to content

Commit a770c97

Browse files
committed
update comments
1 parent 0df90e8 commit a770c97

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

src/@types/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ export interface ValidationOptions {
5050
export interface MinifyOptions {
5151

5252
minify?: boolean;
53+
parseColor?: boolean;
54+
convertColor?: boolean;
5355
nestingRules?: boolean;
5456
expandNestingRules?: boolean;
5557
removeDuplicateDeclarations?: boolean;
@@ -69,7 +71,6 @@ export declare interface ParserOptions extends MinifyOptions, MinifyFeatureOptio
6971
resolveUrls?: boolean;
7072
resolveImport?: boolean;
7173
cwd?: string;
72-
parseColor?: boolean;
7374
removePrefix?: boolean;
7475
load?: (url: string, currentUrl: string) => Promise<string>;
7576
dirname?: (path: string) => string;

src/lib/ast/features/values.ts

Whitespace-only changes.

src/lib/ast/types.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,17 @@ export enum SyntaxValidationResult {
1010
*/
1111
export enum ValidationLevel {
1212

13+
/**
14+
* disable validation
15+
*/
1316
None,
17+
/**
18+
* validate selectors and at-rules
19+
*/
1420
Default, // selectors + at-rules
21+
/**
22+
* validate selectors, at-rules and declarations
23+
*/
1524
All // selectors + at-rules + declarations
1625
}
1726

src/lib/ast/utils/index.ts

Whitespace-only changes.

src/lib/ast/utils/utils.ts

Whitespace-only changes.

0 commit comments

Comments
 (0)