Skip to content

Commit 4a1d249

Browse files
committed
update gulp-eslint and de-lint fsg
1 parent 47eea8e commit 4a1d249

File tree

26 files changed

+85
-66
lines changed

26 files changed

+85
-66
lines changed

generated/.eslintrc.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
{
33
"extends": "fullstack", // from the `eslint-config-fullstack` npm module
44
"rules": {
5-
// add rules here to override the fullstack config
5+
"global-require": 0, // 0 = off, 1 = warn (yellow), 2 = error (red)
6+
"camelcase": 0
7+
// add more rules here to override the fullstack config
68
}
79
}

generated/browser/js/about/about.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app _ */
12
app.config(function ($stateProvider) {
23

34
// Register our *about* state.
@@ -14,4 +15,4 @@ app.controller('AboutController', function ($scope, FullstackPics) {
1415
// Images of beautiful Fullstack people.
1516
$scope.images = _.shuffle(FullstackPics);
1617

17-
});
18+
});

generated/browser/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
'use strict';
23
window.app = angular.module('FullstackGeneratedApp', ['fsaPreBuilt', 'ui.router', 'ui.bootstrap', 'ngAnimate']);
34

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
/* global app */
12
app.directive('fullstackLogo', function () {
23
return {
34
restrict: 'E',
45
templateUrl: 'js/common/directives/fullstack-logo/fullstack-logo.html'
56
};
6-
});
7+
});

generated/browser/js/common/directives/navbar/navbar.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
app.directive('navbar', function ($rootScope, AuthService, AUTH_EVENTS, $state) {
23

34
return {

generated/browser/js/common/directives/rando-greeting/rando-greeting.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
app.directive('randoGreeting', function (RandomGreetings) {
23

34
return {
@@ -8,4 +9,4 @@ app.directive('randoGreeting', function (RandomGreetings) {
89
}
910
};
1011

11-
});
12+
});

generated/browser/js/common/factories/FullstackPics.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
app.factory('FullstackPics', function () {
23
return [
34
'https://pbs.twimg.com/media/B7gBXulCAAAXQcE.jpg:large',

generated/browser/js/common/factories/RandomGreetings.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
app.factory('RandomGreetings', function () {
23

34
var getRandomFromArray = function (arr) {

generated/browser/js/docs/docs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* global app */
12
app.config(function ($stateProvider) {
23
$stateProvider.state('docs', {
34
url: '/docs',

generated/browser/js/fsa/fsa-pre-built.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,4 @@
127127

128128
});
129129

130-
})();
130+
}());

0 commit comments

Comments
 (0)