- npm install | - npm install | ||||
- ./node_modules/.bin/eslint -v | - ./node_modules/.bin/eslint -v | ||||
- ./node_modules/.bin/eslint ./ | - ./node_modules/.bin/eslint ./ | ||||
# Run stylelint checks | |||||
- ./node_modules/.bin/stylelint -v | |||||
- npm show stylelint-config-standard version | |||||
- ./node_modules/.bin/stylelint ./**/*.css ./**/*.html ./**/*.js | |||||
# Run checks on perl source using tidyall | # Run checks on perl source using tidyall | ||||
perl-tidyall: | perl-tidyall: |
{ | |||||
"extends": "stylelint-config-standard", | |||||
"ignoreFiles": [ | |||||
"**/*.min.css", | |||||
"**/*.min.js", | |||||
"interface/css/d3evolution.css", | |||||
"interface/css/nprogress.css" | |||||
], | |||||
"rules": { | |||||
"at-rule-empty-line-before": null, | |||||
"color-hex-length": null, | |||||
"comment-empty-line-before": null, | |||||
"indentation": 4, | |||||
"number-leading-zero": null, | |||||
"rule-empty-line-before": null | |||||
} | |||||
} |
background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | ||||
background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | ||||
background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%); | ||||
/* stylelint-disable-next-line function-name-case */ | |||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#eaeaea', GradientType=0); /* IE6-9 */ | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdfdfd', endColorstr='#eaeaea', GradientType=0); /* IE6-9 */ | ||||
border-bottom: 1px solid #cdcdcd; | border-bottom: 1px solid #cdcdcd; | ||||
height: 36px; | height: 36px; |
{ | { | ||||
"devDependencies": { | "devDependencies": { | ||||
"eslint": "*" | |||||
"eslint": "*", | |||||
"stylelint": "*", | |||||
"stylelint-config-standard": "*" | |||||
}, | }, | ||||
"eslintIgnore": [ | "eslintIgnore": [ | ||||
"*.min.js", | "*.min.js", |