Fix lesshint

This commit is contained in:
afc163 2016-07-18 22:24:53 +08:00
parent 872fc824c1
commit e2cc2838fd
6 changed files with 12 additions and 12 deletions

View File

@ -38,7 +38,7 @@
position: absolute;
top: 0;
color: #999;
font-family: Arial,"Hiragino Sans GB","Microsoft Yahei","Microsoft Sans Serif",sans-serif;
font-family: Arial, "Hiragino Sans GB", "Microsoft Yahei", "Microsoft Sans Serif", sans-serif;
padding: 0 5px;
font-size: 16px;
display: inline-block;

View File

@ -86,7 +86,7 @@
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline: 5px auto -webkit-focus-ring-color; // lesshint spaceAroundOperator: false
outline-offset: -2px;
}

View File

@ -161,7 +161,7 @@
// Reset Select's style in addon
.ant-select {
margin: -(@input-padding-vertical-base + 1) (-@input-padding-horizontal);
margin: -(@input-padding-vertical-base + 1) (-@input-padding-horizontal); // lesshint spaceAroundOperator: false
.ant-select-selection {
background-color: inherit;

View File

@ -4,22 +4,22 @@
@popover-prefix-cls: ant-popover;
//** Popover body background color
@popover-bg: #fff;
@popover-bg: #fff;
//** Popover maximum width
@popover-min-width: 177px;
@popover-min-width: 177px;
//** Popover border color
@popover-border-color: @border-color-base;
@popover-border-color: @border-color-base;
//** Popover arrow width
@popover-arrow-width: 4px;
@popover-arrow-width: 4px;
//** Popover arrow color
@popover-arrow-color: @popover-bg;
@popover-arrow-color: @popover-bg;
//** Popover outer arrow width
@popover-arrow-outer-width: (@popover-arrow-width + 1);
@popover-arrow-outer-width: (@popover-arrow-width + 1);
//** Popover outer arrow color
@popover-arrow-outer-color: fadein(@popover-border-color, 5%);
@popover-arrow-outer-color: fadein(@popover-border-color, 5%);
.@{popover-prefix-cls} {
position: absolute;

View File

@ -101,7 +101,7 @@
"jsonml-to-react-component": "~0.2.0",
"jsonml.js": "^0.1.0",
"jsonp": "^0.2.0",
"lesshint": "^1.2.1",
"lesshint": "^2.0.0",
"lodash.debounce": "^4.0.6",
"nunjucks": "^2.4.2",
"pre-commit": "1.x",

View File

@ -1,5 +1,5 @@
/* eslint-disable */
var originReport = require('lesshint/lib/reporters/stylish').report;
var originReport = require('lesshint/lib/reporters/default').report;
module.exports = {
report: function (errors) {