Merge "Use json extension for .stylelintrc"

This commit is contained in:
jenkins-bot 2017-08-19 22:32:13 +00:00 committed by Gerrit Code Review
commit e4142790d7
2 changed files with 7 additions and 4 deletions

View file

@ -13,18 +13,20 @@ module.exports = function ( grunt ) {
jsonlint: {
all: [
'**/*.json',
'!node_modules/**'
'!node_modules/**',
'!vendor/**'
]
},
stylelint: {
all: [
'**/*.css',
'!node_modules/**'
'!node_modules/**',
'!vendor/**'
]
},
watch: {
files: [
'.{stylelintrc,.eslintrc.json}',
'.{stylelintrc,.eslintrc}.json',
'<%= eslint.all %>',
'<%= stylelint.all %>'
],
@ -34,7 +36,8 @@ module.exports = function ( grunt ) {
all: [
'*.js',
'modules/**/*.js',
'!**/node_modules/**'
'!**/node_modules/**',
'!vendor/**'
]
}
} );