From a64d63ef8ba6ea52ac4756fe92ca4236de8d1aa4 Mon Sep 17 00:00:00 2001 From: canisminor1990 Date: Tue, 2 Jul 2024 00:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20Fix=20stylelint?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stylelint/index.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/stylelint/index.ts b/src/stylelint/index.ts index bbc83ca..adcecd4 100644 --- a/src/stylelint/index.ts +++ b/src/stylelint/index.ts @@ -11,9 +11,9 @@ export default { files: ['*.less', '*.css'], plugins: ['stylelint-less'], rules: { - 'at-rule-no-unknown': 'never', + 'at-rule-no-unknown': false, 'color-no-invalid-hex': true, - 'function-no-unknown': 'never', + 'function-no-unknown': false, 'less/color-no-invalid-hex': true, }, }, @@ -21,9 +21,9 @@ export default { customSyntax: 'postcss-styled-syntax', files: ['*.js', '*.jsx', '*.ts', '*.tsx'], rules: { - 'no-empty-source': 'never', - 'no-invalid-double-slash-comments': 'never', - 'no-missing-end-of-source-newline': 'never', + 'no-empty-source': false, + 'no-invalid-double-slash-comments': false, + 'no-missing-end-of-source-newline': false, 'property-no-vendor-prefix': true, 'value-no-vendor-prefix': [true, { ignoreValues: ['box'] }], },