Commit bbddeb8c authored by Nikolay Gromov's avatar Nikolay Gromov

add LESS lint

parent 8ea6ac8b
{
"emptyRule": false,
"importantRule": false,
"propertyOrdering": false,
"singleLinePerSelector": "18f",
"hexLength": {
"style": "short"
},
"zeroUnit": {
"style": "no_unit"
},
"hexNotation": {
"style": "lowercase"
},
"stringQuotes": {
"style": "double"
},
"idSelector": {
"exclude": []
},
"qualifyingElement": {
"allowWithAttribute": true
},
"selectorNaming": {
"disallowUppercase": true,
"disallowUnderscore": true,
"disallowDash": true
},
"importPath": {
"filenameExtension": true,
"leadingUnderscore": false,
"exclude": []
}
}
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
"description": "", "description": "",
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "./node_modules/.bin/gulp" "start": "./node_modules/.bin/gulp",
"less-lint": "lesshint ./src/less/ ./src/blocks/",
"precommit": "npm run less-lint"
}, },
"author": "Nikolay Gromov", "author": "Nikolay Gromov",
"license": "MIT", "license": "MIT",
...@@ -37,6 +39,7 @@ ...@@ -37,6 +39,7 @@
"gulp-svgstore": "^5.0.5", "gulp-svgstore": "^5.0.5",
"gulp-uglify": "^1.5.2", "gulp-uglify": "^1.5.2",
"imagemin-pngquant": "^4.2.0", "imagemin-pngquant": "^4.2.0",
"lesshint": "^1.4.0",
"mkdirp": "^0.5.1" "mkdirp": "^0.5.1"
}, },
"config": { "config": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment