Actually only test json files in jsonlint, rename stylelintrc for clarity

This commit is contained in:
rejas 2019-06-05 20:33:53 +02:00
parent f600c163ca
commit 62cb3a610e
2 changed files with 4 additions and 4 deletions

View File

@ -26,7 +26,7 @@ module.exports = function(grunt) {
stylelint: {
simple: {
options: {
configFile: ".stylelintrc"
configFile: ".stylelintrc.json"
},
src: [
"css/main.css",
@ -42,11 +42,11 @@ module.exports = function(grunt) {
src: [
"package.json",
".eslintrc.json",
".stylelintrc",
".stylelintrc.json",
"installers/pm2_MagicMirror.json",
"translations/*.json",
"modules/default/*/translations/*.json",
"installers/pm2_MagicMirror.json",
"vendor/package.js"
"vendor/package.json"
],
options: {
reporter: "jshint"