Skip to content

Commit

Permalink
Remove no-extra-semicolons stylelint rule
Browse files Browse the repository at this point in the history
- at this point it's creating more false positives with nested template literals than it is being helpful
  • Loading branch information
cee-chen committed Nov 12, 2024
1 parent 75bc8b5 commit 2a62528
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/eui/.stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ module.exports = {
ignoreKeywords: [camelCaseValueRegex],
},
],
// This is set to deprecate after stylelint v16, but in the meanwhile, is helpful
// for finding extraneous semicolons after utils that already output semicolons (e.g. logicalCSS())
'no-extra-semicolons': true,

// Emotion uses the `label` property to generate the output className string
'property-no-unknown': [true, { ignoreProperties: 'label' }],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ export const _dayCalendarStyles = (euiThemeContext: UseEuiTheme) => {
.react-datepicker__day-names,
.react-datepicker__week {
display: flex;
/* stylelint-disable no-extra-semicolons */
justify-content: space-between;
flex-grow: 1;
color: ${euiTheme.colors.subduedText};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const euiRangeSliderStyles = (euiThemeContext: UseEuiTheme) => {
block-size: ${range.thumbHeight}; /* the track has the same height as the thumb */
`,
hasRange: css`
/* stylelint-disable no-extra-semicolons */
${euiRangeTrackPerBrowser(`
background-color: transparent;
border-color: ${transparentize(range.trackBorderColor, 0.6)}
Expand Down

0 comments on commit 2a62528

Please sign in to comment.