Skip to content

Commit 28f1786

Browse files
committed
Remove no-extra-semicolons stylelint rule
- at this point it's creating more false positives with nested template literals than it is being helpful
1 parent 591e7f9 commit 28f1786

3 files changed

Lines changed: 0 additions & 5 deletions

File tree

packages/eui/.stylelintrc.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ module.exports = {
151151
ignoreKeywords: [camelCaseValueRegex],
152152
},
153153
],
154-
// This is set to deprecate after stylelint v16, but in the meanwhile, is helpful
155-
// for finding extraneous semicolons after utils that already output semicolons (e.g. logicalCSS())
156-
'no-extra-semicolons': true,
157154

158155
// Emotion uses the `label` property to generate the output className string
159156
'property-no-unknown': [true, { ignoreProperties: 'label' }],

packages/eui/src/components/date_picker/react_date_picker.styles.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,6 @@ export const _dayCalendarStyles = (euiThemeContext: UseEuiTheme) => {
249249
.react-datepicker__day-names,
250250
.react-datepicker__week {
251251
display: flex;
252-
/* stylelint-disable no-extra-semicolons */
253252
justify-content: space-between;
254253
flex-grow: 1;
255254
color: ${euiTheme.colors.subduedText};

packages/eui/src/components/form/range/range_slider.styles.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export const euiRangeSliderStyles = (euiThemeContext: UseEuiTheme) => {
6565
block-size: ${range.thumbHeight}; /* the track has the same height as the thumb */
6666
`,
6767
hasRange: css`
68-
/* stylelint-disable no-extra-semicolons */
6968
${euiRangeTrackPerBrowser(`
7069
background-color: transparent;
7170
border-color: ${transparentize(range.trackBorderColor, 0.6)}

0 commit comments

Comments
 (0)