From c12b8cb2b9a57e8dbd2696dd7ac2f78e72b829a4 Mon Sep 17 00:00:00 2001 From: Marc G Date: Sun, 21 Aug 2022 07:26:34 +0200 Subject: [PATCH] Add SVG opacity properties as exceptions to alpha-value-notation (#258) --- index.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 7d35905..6836d2f 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,13 @@ module.exports = { 'alpha-value-notation': [ 'percentage', { - exceptProperties: ['opacity'], + exceptProperties: [ + 'opacity', + 'fill-opacity', + 'flood-opacity', + 'stop-opacity', + 'stroke-opacity', + ], }, ], 'at-rule-empty-line-before': [