We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
alpha-value-notation
1 parent ffca7ce commit a1d5f5aCopy full SHA for a1d5f5a
src/rules/stylelint/alpha-value-notation.d.ts
@@ -1,5 +1,6 @@
1
import type { RuleConfig } from '../rule-config'
2
import type { CSSPropertiesMap } from '../../types'
3
+import type { RegExpLike } from '../../utils'
4
5
export type AlphaValueNotationPrimaryOptions = 'number' | 'percentage'
6
@@ -8,7 +9,7 @@ export interface AlphaValueNotationSecondaryOptions {
8
9
* Reverse the primary option for matching properties.
10
* @see [optional secondary options](https://stylelint.io/user-guide/rules/alpha-value-notation#optional-secondary-options)
11
*/
- exceptProperties?: (CSSPropertiesMap | RegExp | `/${string}/`)[]
12
+ exceptProperties?: (CSSPropertiesMap | RegExpLike)[]
13
14
message?: string | ((unfixed: string, fixed: string) => string)
15
}
0 commit comments