Skip to content

Commit

Permalink
Tweak No Redundant Longhand Properties Rule (#6)
Browse files Browse the repository at this point in the history
* Tweak

* Extend codeowners
  • Loading branch information
PauloMFJ authored Feb 15, 2023
1 parent 143d427 commit 97885ac
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @paulomfj @maikelvdzande
* @paulomfj @maikelvdzande @brunotomedev
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <development@buildinamsterdam.com> (https://www.buildinamsterdam.com/)",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions stylelint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97885ac

Please sign in to comment.