Basic linting for *.less files

Change-Id: I1ca3b1c643ac12bc1fc986b41f56456bce5d36af
This commit is contained in:
Vitaly Kramskikh 2014-09-22 10:41:28 -07:00
parent 0d62f379bc
commit 22944d7d97
3 changed files with 3538 additions and 3529 deletions

2
.gitignore vendored
View File

@ -24,8 +24,6 @@ lock
node_modules
nailgun/static/js/libs/bower
nailgun/static/css/styles.css
*.egg
.testrepository
.tox

View File

@ -52,6 +52,19 @@ module.exports = function(grunt) {
}
},
lintspaces: {
styles: {
options: {
newline: true,
indentation: 'spaces',
spaces: 2,
newlineMaximum: 2,
trailingspaces: true,
ignores: ['js-comments']
},
src: [
'static/**/*.less'
]
},
javascript: {
options: {
newline: true,

File diff suppressed because it is too large Load Diff