From 70b174f92d10127fe9358b0063887f2c6a67bc71 Mon Sep 17 00:00:00 2001 From: splincode Date: Wed, 4 Sep 2024 17:04:04 +0300 Subject: [PATCH] feat: ignore opacity --- projects/stylelint-config/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/stylelint-config/index.js b/projects/stylelint-config/index.js index 11b41b88..cdf170b8 100644 --- a/projects/stylelint-config/index.js +++ b/projects/stylelint-config/index.js @@ -12,7 +12,12 @@ module.exports = { `${process.cwd()}/**/tests-report/**`, ], rules: { - 'alpha-value-notation': 'percentage', + 'alpha-value-notation': [ + 'percentage', + { + exceptProperties: ['opacity'], + }, + ], 'annotation-no-unknown': [ true, {