Added lesshint and exempted everything which is currently being violated
This commit is contained in:
@@ -11,15 +11,16 @@
|
||||
"ws": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"flow-bin": "^0.59.0",
|
||||
"jshint": "~2.9.1",
|
||||
"selenium-webdriver": "^2.53.1",
|
||||
"less": "2.7.1",
|
||||
"flow-bin": "^0.59.0"
|
||||
"lesshint": "^4.5.0",
|
||||
"selenium-webdriver": "^2.53.1"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node server.js",
|
||||
"dev": "DEV=1 node server.js",
|
||||
"lint": "jshint --config .jshintrc --exclude-path .jshintignore .",
|
||||
"lint": "jshint --config .jshintrc --exclude-path .jshintignore . && ./node_modules/lesshint/bin/lesshint -c ./.lesshintrc ./customize.dist/src/less2/",
|
||||
"flow": "./node_modules/.bin/flow",
|
||||
"test": "node TestSelenium.js",
|
||||
"template": "cd customize.dist/src && for page in ../index.html ../privacy.html ../terms.html ../about.html ../contact.html ../what-is-cryptpad.html ../../www/login/index.html ../../www/register/index.html ../../www/settings/index.html ../../www/user/index.html;do echo $page; cp template.html $page; done;"
|
||||
|
||||
Reference in New Issue
Block a user