Skip to content

Commit

Permalink
fix(stylelint): add spacing rules (#2591)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven authored Jan 23, 2025
1 parent f3a2cd2 commit 9c3171a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .stylelintrc.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ export default {
'custom-property-no-missing-var-function': true,
'rule-empty-line-before': ['always', { ignore: ['after-comment', 'first-nested'] }],
'@stylistic/block-opening-brace-space-before': 'always',
'@stylistic/declaration-colon-space-after': 'always',
'@stylistic/media-feature-colon-space-after': 'always',
'selector-pseudo-class-no-unknown': [true, { ignorePseudoClasses: ['deep', 'slotted'] }],
// Disable the following rules
'no-descending-specificity': null,
Expand Down
3 changes: 1 addition & 2 deletions src/styles/mixins/_input-radio-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
margin: 0;
margin-right: var(--kui-space-40, $kui-space-40);
outline: none;
transition:
box-shadow $kongponentsTransitionDurTimingFunc,
transition: box-shadow $kongponentsTransitionDurTimingFunc,
background-color $kongponentsTransitionDurTimingFunc;
width: var(--kui-icon-size-30, $kui-icon-size-30);
}
Expand Down

0 comments on commit 9c3171a

Please sign in to comment.