mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 03:39:55 +00:00
Fix eslintignore for vendor/vendor.js and fix the eslint validation
This commit is contained in:
parent
1d4aa27f1c
commit
f2ea701d34
@ -1,6 +1,6 @@
|
||||
vendor/
|
||||
vendor/*
|
||||
!/vendor/vendor.js
|
||||
!/modules/default/**
|
||||
!/modules/node_helper
|
||||
!/modules/node_helper/**
|
||||
!/modules/default/defaultmodules.js
|
||||
!/modules/default/defaultmodules.js
|
||||
|
@ -10,7 +10,7 @@ module.exports = function(grunt) {
|
||||
"serveronly/*.js", "*.js", "tests/*/*.js", "!modules/default/alert/notificationFx.js",
|
||||
"!modules/default/alert/modernizr.custom.js", "!modules/default/alert/classie.js",
|
||||
"config/*",
|
||||
"translations/translations.js"
|
||||
"translations/translations.js", "vendor/vendor.js"
|
||||
|
||||
]
|
||||
},
|
||||
|
10
vendor/vendor.js
vendored
10
vendor/vendor.js
vendored
@ -8,9 +8,9 @@
|
||||
*/
|
||||
|
||||
var vendor = {
|
||||
'moment.js' : 'node_modules/moment/min/moment-with-locales.js',
|
||||
'moment-timezone.js' : 'node_modules/moment-timezone/moment-timezone.js',
|
||||
'weather-icons.css': 'node_modules/weathericons/css/weather-icons.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'
|
||||
"moment.js" : "node_modules/moment/min/moment-with-locales.js",
|
||||
"moment-timezone.js" : "node_modules/moment-timezone/moment-timezone.js",
|
||||
"weather-icons.css": "node_modules/weathericons/css/weather-icons.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"
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user