Skip to content

Commit f2ea701

Browse files
committed
Fix eslintignore for vendor/vendor.js and fix the eslint validation
1 parent 1d4aa27 commit f2ea701

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

Diff for: .eslintignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
vendor/
1+
vendor/*
22
!/vendor/vendor.js
33
!/modules/default/**
44
!/modules/node_helper
55
!/modules/node_helper/**
6-
!/modules/default/defaultmodules.js
6+
!/modules/default/defaultmodules.js

Diff for: Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module.exports = function(grunt) {
1010
"serveronly/*.js", "*.js", "tests/*/*.js", "!modules/default/alert/notificationFx.js",
1111
"!modules/default/alert/modernizr.custom.js", "!modules/default/alert/classie.js",
1212
"config/*",
13-
"translations/translations.js"
13+
"translations/translations.js", "vendor/vendor.js"
1414

1515
]
1616
},

Diff for: vendor/vendor.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
*/
99

1010
var vendor = {
11-
'moment.js' : 'node_modules/moment/min/moment-with-locales.js',
12-
'moment-timezone.js' : 'node_modules/moment-timezone/moment-timezone.js',
13-
'weather-icons.css': 'node_modules/weathericons/css/weather-icons.css',
14-
'weather-icons-wind.css': 'node_modules/weathericons/css/weather-icons-wind.css',
15-
'font-awesome.css': 'node_modules/font-awesome/css/font-awesome.min.css'
11+
"moment.js" : "node_modules/moment/min/moment-with-locales.js",
12+
"moment-timezone.js" : "node_modules/moment-timezone/moment-timezone.js",
13+
"weather-icons.css": "node_modules/weathericons/css/weather-icons.css",
14+
"weather-icons-wind.css": "node_modules/weathericons/css/weather-icons-wind.css",
15+
"font-awesome.css": "node_modules/font-awesome/css/font-awesome.min.css"
1616
};

0 commit comments

Comments
 (0)