From 97885accc500cf5c30085cad822f333cb6b93f44 Mon Sep 17 00:00:00 2001 From: Paulo Date: Wed, 15 Feb 2023 15:37:45 +0000 Subject: [PATCH] Tweak No Redundant Longhand Properties Rule (#6) * Tweak * Extend codeowners --- .github/CODEOWNERS | 2 +- package-lock.json | 4 ++-- package.json | 2 +- stylelint/index.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 1fe950e..3ec95cf 100755 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1 @@ -* @paulomfj @maikelvdzande \ No newline at end of file +* @paulomfj @maikelvdzande @brunotomedev \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index e9519f0..d2d31a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@buildinams/lint", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@buildinams/lint", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "dependencies": { "@babel/eslint-parser": "^7.19.1", diff --git a/package.json b/package.json index 4215ead..33923e6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@buildinams/lint", "description": "BiA's base lint config(s).", - "version": "0.1.0", + "version": "0.1.1", "license": "MIT", "author": "Build in Amsterdam (https://www.buildinamsterdam.com/)", "exports": { diff --git a/stylelint/index.js b/stylelint/index.js index 9756191..0628f18 100644 --- a/stylelint/index.js +++ b/stylelint/index.js @@ -19,10 +19,10 @@ module.exports = { // Enable plugin "plugin/declaration-block-no-ignored-properties": true, - // Don't include flex properties in the redundant longhand properties rule + // Ignore select properties in the redundant longhand properties rule "declaration-block-no-redundant-longhand-properties": [ true, - { ignoreShorthands: ["/flex/"] }, + { ignoreShorthands: ["/flex/", "/grid/"] }, ], // Prevent redundant nesting selectors