build: Use grunt-stylelint from npm

Add .stylelintrc as a symlink

Change-Id: I3c6d3f7f988f59b12655627e67ffb61fc7f882cd
This commit is contained in:
Ed Sanders 2016-05-17 15:05:59 +01:00
parent d2c995594a
commit 1dc780bcbd
3 changed files with 3 additions and 3 deletions

1
.stylelintrc Symbolic link
View file

@ -0,0 +1 @@
lib/ve/.stylelintrc

View file

@ -16,6 +16,7 @@ module.exports = function ( grunt ) {
grunt.loadNpmTasks( 'grunt-jsonlint' );
grunt.loadNpmTasks( 'grunt-banana-checker' );
grunt.loadNpmTasks( 'grunt-jscs' );
grunt.loadNpmTasks( 'grunt-stylelint' );
grunt.loadNpmTasks( 'grunt-tyops' );
grunt.loadTasks( 'lib/ve/build/tasks' );
grunt.loadTasks( 'build/tasks' );
@ -87,9 +88,6 @@ module.exports = function ( grunt ) {
}
},
stylelint: {
options: {
stylelintrc: 'lib/ve/.stylelintrc'
},
src: [
'**/*.css',
'!coverage/**',

View file

@ -18,6 +18,7 @@
"grunt-contrib-watch": "1.0.0",
"grunt-jscs": "2.8.0",
"grunt-jsonlint": "1.0.7",
"grunt-stylelint": "0.2.0",
"grunt-tyops": "0.1.0",
"stylelint": "6.3.3"
}