Skip to content

Commit 298d8b4

Browse files
committed
Perform linting
1 parent c2c0dc3 commit 298d8b4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

packages/main/src/Slider.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const metadata = {
5151
* The most common usecase is to select values on a continuous numerical scale (e.g. temperature, volume, etc. ).
5252
*
5353
* <h3>Responsive Behavior</h3>
54-
* The <code>ui5-slider</code> component adjusts to the size of its parent container by recalculating and
54+
* The <code>ui5-slider</code> component adjusts to the size of its parent container by recalculating and
5555
* resizing the width of the control. You can move the slider handle in several different ways:
5656
* <ul>
5757
* <li>Drag and drop to the desired value</li>

packages/main/src/SliderBase.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -623,17 +623,17 @@ class SliderBase extends UI5Element {
623623
*/
624624
_setStep(step) {
625625
if (step === 0) {
626-
console.warn("The 'step' property must be a positive float number");
626+
console.warn("The 'step' property must be a positive float number"); // eslint-disable-line
627627
return;
628628
}
629629

630630
if (step < 0) {
631-
console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent");
631+
console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"); // eslint-disable-line
632632
step = Math.abs(step);
633633
}
634634

635635
if (typeof step !== "number" || Number.isNaN(step)) {
636-
console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1");
636+
console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1"); // eslint-disable-line
637637
step = 1;
638638
}
639639

packages/main/test/specs/Slider.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,4 +196,4 @@ describe("Testing resize handling and RTL support", () => {
196196
assert.strictEqual(slider.getProperty("_labelsOverlapping"), true, "state should reflect if any of the labels is overlapping with another");
197197
assert.strictEqual(slider.getProperty("_hiddenTickmarks"), true, "state should reflect if the tickmarks has less than 8px space between each of them");
198198
});
199-
});
199+
});

0 commit comments

Comments
 (0)