test: fix lint

This commit is contained in:
afc163 2022-01-24 11:26:26 +08:00
parent ab8fc12fa7
commit 578aaad7f2
10 changed files with 17 additions and 16 deletions

View File

@ -30,7 +30,7 @@
top: 100%; top: 100%;
width: 8px; width: 8px;
height: 8px; height: 8px;
color: currentColor; color: currentcolor;
border: 4px solid; border: 4px solid;
transform: scaleY(0.75); transform: scaleY(0.75);
transform-origin: top; transform-origin: top;
@ -66,7 +66,7 @@
border-bottom-right-radius: 0; border-bottom-right-radius: 0;
.@{ribbon-prefix-cls}-corner { .@{ribbon-prefix-cls}-corner {
right: 0; right: 0;
border-color: currentColor transparent transparent currentColor; border-color: currentcolor transparent transparent currentcolor;
} }
} }
@ -75,7 +75,7 @@
border-bottom-left-radius: 0; border-bottom-left-radius: 0;
.@{ribbon-prefix-cls}-corner { .@{ribbon-prefix-cls}-corner {
left: 0; left: 0;
border-color: currentColor currentColor transparent transparent; border-color: currentcolor currentcolor transparent transparent;
} }
} }
} }

View File

@ -42,10 +42,10 @@
.@{ribbon-prefix-cls}-corner { .@{ribbon-prefix-cls}-corner {
right: unset; right: unset;
left: 0; left: 0;
border-color: currentColor currentColor transparent transparent; border-color: currentcolor currentcolor transparent transparent;
&::after { &::after {
border-color: currentColor currentColor transparent transparent; border-color: currentcolor currentcolor transparent transparent;
} }
} }
} }
@ -57,10 +57,10 @@
.@{ribbon-prefix-cls}-corner { .@{ribbon-prefix-cls}-corner {
right: 0; right: 0;
left: unset; left: unset;
border-color: currentColor transparent transparent currentColor; border-color: currentcolor transparent transparent currentcolor;
&::after { &::after {
border-color: currentColor transparent transparent currentColor; border-color: currentcolor transparent transparent currentcolor;
} }
} }
} }

View File

@ -153,7 +153,7 @@
&.@{iconfont-css-prefix}-plus, &.@{iconfont-css-prefix}-plus,
&.@{iconfont-css-prefix}-minus { &.@{iconfont-css-prefix}-minus {
> svg { > svg {
shape-rendering: optimizeSpeed; shape-rendering: optimizespeed;
} }
} }
} }

View File

@ -19,7 +19,7 @@
} }
// http://stackoverflow.com/a/17253457 // http://stackoverflow.com/a/17253457
> a:only-child { > a:only-child {
color: currentColor; color: currentcolor;
&::after { &::after {
position: absolute; position: absolute;

View File

@ -101,7 +101,7 @@
display: inline-block; display: inline-block;
width: @picker-arrow-size; width: @picker-arrow-size;
height: @picker-arrow-size; height: @picker-arrow-size;
border: 0 solid currentColor; border: 0 solid currentcolor;
border-width: 1.5px 0 0 1.5px; border-width: 1.5px 0 0 1.5px;
content: ''; content: '';
} }
@ -116,7 +116,7 @@
display: inline-block; display: inline-block;
width: @picker-arrow-size; width: @picker-arrow-size;
height: @picker-arrow-size; height: @picker-arrow-size;
border: 0 solid currentColor; border: 0 solid currentcolor;
border-width: 1.5px 0 0 1.5px; border-width: 1.5px 0 0 1.5px;
content: ''; content: '';
} }

View File

@ -315,7 +315,7 @@
position: absolute; position: absolute;
width: 6px; width: 6px;
height: 1.5px; height: 1.5px;
background-color: currentColor; background-color: currentcolor;
border-radius: 2px; border-radius: 2px;
transition: background @animation-duration-slow @ease-in-out, transition: background @animation-duration-slow @ease-in-out,
transform @animation-duration-slow @ease-in-out, top @animation-duration-slow @ease-in-out, transform @animation-duration-slow @ease-in-out, top @animation-duration-slow @ease-in-out,

View File

@ -6,7 +6,7 @@
text-align: center; text-align: center;
text-transform: none; text-transform: none;
vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4 vertical-align: -0.125em; // for SVG icon, see https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
text-rendering: optimizeLegibility; text-rendering: optimizelegibility;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;

View File

@ -508,13 +508,13 @@
&:focus, &:focus,
&:hover, &:hover,
&:active { &:active {
border-color: currentColor; border-color: currentcolor;
} }
&::before, &::before,
&::after { &::after {
position: absolute; position: absolute;
background: currentColor; background: currentcolor;
transition: transform 0.3s ease-out; transition: transform 0.3s ease-out;
content: ''; content: '';
} }

View File

@ -171,7 +171,7 @@
&&-active &-btn { &&-active &-btn {
color: @tabs-highlight-color; color: @tabs-highlight-color;
text-shadow: 0 0 0.25px currentColor; text-shadow: 0 0 0.25px currentcolor;
} }
&&-disabled { &&-disabled {

View File

@ -1,3 +1,4 @@
/* eslint-disable no-console */
const fetch = require('isomorphic-fetch'); const fetch = require('isomorphic-fetch');
const semver = require('semver'); const semver = require('semver');
const moment = require('moment'); const moment = require('moment');