Fix eslintignore for vendor/vendor.js and fix the eslint validation

This commit is contained in:
Rodrigo Ramírez Norambuena 2017-03-14 22:53:37 -03:00
parent 1d4aa27f1c
commit f2ea701d34
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
vendor/ vendor/*
!/vendor/vendor.js !/vendor/vendor.js
!/modules/default/** !/modules/default/**
!/modules/node_helper !/modules/node_helper

View File

@ -10,7 +10,7 @@ module.exports = function(grunt) {
"serveronly/*.js", "*.js", "tests/*/*.js", "!modules/default/alert/notificationFx.js", "serveronly/*.js", "*.js", "tests/*/*.js", "!modules/default/alert/notificationFx.js",
"!modules/default/alert/modernizr.custom.js", "!modules/default/alert/classie.js", "!modules/default/alert/modernizr.custom.js", "!modules/default/alert/classie.js",
"config/*", "config/*",
"translations/translations.js" "translations/translations.js", "vendor/vendor.js"
] ]
}, },

10
vendor/vendor.js vendored
View File

@ -8,9 +8,9 @@
*/ */
var vendor = { var vendor = {
'moment.js' : 'node_modules/moment/min/moment-with-locales.js', "moment.js" : "node_modules/moment/min/moment-with-locales.js",
'moment-timezone.js' : 'node_modules/moment-timezone/moment-timezone.js', "moment-timezone.js" : "node_modules/moment-timezone/moment-timezone.js",
'weather-icons.css': 'node_modules/weathericons/css/weather-icons.css', "weather-icons.css": "node_modules/weathericons/css/weather-icons.css",
'weather-icons-wind.css': 'node_modules/weathericons/css/weather-icons-wind.css', "weather-icons-wind.css": "node_modules/weathericons/css/weather-icons-wind.css",
'font-awesome.css': 'node_modules/font-awesome/css/font-awesome.min.css' "font-awesome.css": "node_modules/font-awesome/css/font-awesome.min.css"
}; };