Use json extension for .stylelintrc

Bug: T173516
Change-Id: I79efadb3c75b3c14f81d7bd7848beafef71e2dd9
This commit is contained in:
Umherirrender 2017-08-19 09:58:39 +02:00
parent fc2d573028
commit 239c7dff62
2 changed files with 7 additions and 4 deletions

View File

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