Skip to content

Commit 3f58368

Browse files
committed
using hierarchical eslintrc
1 parent 0c151f0 commit 3f58368

File tree

12 files changed

+8
-11
lines changed

12 files changed

+8
-11
lines changed

generated/browser/js/.eslintrc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"env": {
3+
"node": false
4+
},
5+
"globals": {
6+
"app": true
7+
}
8+
}

generated/browser/js/about/about.js

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

43
// Register our *about* state.

generated/browser/js/app.js

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

generated/browser/js/common/directives/fullstack-logo/fullstack-logo.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global app */
21
app.directive('fullstackLogo', function () {
32
return {
43
restrict: 'E',

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

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

43
return {

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

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

43
return {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global app */
21
app.factory('FullstackPics', function () {
32
return [
43
'https://pbs.twimg.com/media/B7gBXulCAAAXQcE.jpg:large',

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global app */
21
app.factory('RandomGreetings', function () {
32

43
var getRandomFromArray = function (arr) {

generated/browser/js/docs/docs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global app */
21
app.config(function ($stateProvider) {
32
$stateProvider.state('docs', {
43
url: '/docs',

generated/browser/js/home/home.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* global app */
21
app.config(function ($stateProvider) {
32
$stateProvider.state('home', {
43
url: '/',

0 commit comments

Comments
 (0)