mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 22:13:34 +00:00
build: Use grunt-stylelint from npm
Add .stylelintrc as a symlink Change-Id: I3c6d3f7f988f59b12655627e67ffb61fc7f882cd
This commit is contained in:
parent
d2c995594a
commit
1dc780bcbd
1
.stylelintrc
Symbolic link
1
.stylelintrc
Symbolic link
|
@ -0,0 +1 @@
|
|||
lib/ve/.stylelintrc
|
|
@ -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/**',
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue