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