Skip to content

Commit

Permalink
fix: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Jan 3, 2021
1 parent ee94cd2 commit 4d809bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export type IgnoreValueList = Array<IgnoreValue>;
/**
* A hash of CSS properties with ignored values.
* - `''` key applies to all configured CSS properties.
* - key can also be Regular Expression string.
* - key can also be a Regular Expression string.
*/
export interface IgnoreValueHash {
'': IgnoreValue | IgnoreValueList;
Expand Down
6 changes: 3 additions & 3 deletions src/lib/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ function validBooleanHash(
* @internal
* @param actual - The actual config to validate.
*
* @returns Returns `true` if secondary options are valied, else `false`.
* @returns Returns `true` if secondary options are valid, else `false`.
*/
export function validOptions(actual: SecondaryOptions): boolean {
if (typeof actual !== 'object') return false;
Expand Down Expand Up @@ -351,10 +351,10 @@ export function getIgnoredValues(
}

/**
* Get the auto-fix function either by a function directly or from source file.
* Get the auto-fix function either by a function directly or from a source file.
*
* @internal
* @param autoFixFunc - A JavaScript function or a module path to resolve it, also from cwd.
* @param autoFixFunc - A JavaScript function or a module path to resolve it, also from `cwd`.
*
* @returns Returns the auto-fix function if found, else `null`.
*/
Expand Down

0 comments on commit 4d809bd

Please sign in to comment.