Skip to content

Commit aec678d

Browse files
committed
Fix manually
1 parent aa6d282 commit aec678d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+141
-19
lines changed

.eslintrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
}],
99
// NOTE(bajtos) we should eventually remove this override
1010
// and fix all of those 100+ violations
11-
"one-var": "off"
11+
"one-var": "off",
12+
"no-unused-expressions": "off",
13+
"strict": ["warn", "global"]
1214
}
1315
}

examples/app-noschema.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var DataSource = require('../../loopback-datasource-juggler').DataSource;
79
var ModelBuilder = require('../../loopback-datasource-juggler').ModelBuilder;
810
var introspectType = require('../lib/introspection')(ModelBuilder);

examples/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var ModelBuilder = require('../../loopback-datasource-juggler').ModelBuilder;
79
var modelBuilder = new ModelBuilder();
810
// define models

examples/datasource-app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var DataSource = require('../../loopback-datasource-juggler').DataSource;
79
var ModelBuilder = require('../../loopback-datasource-juggler').ModelBuilder;
810
var ds = new DataSource('memory');

examples/inclusion.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var jdb = require('../index');
79

810
var User, Post, Passport, City, Street, Building;

examples/load-schemas.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var path = require('path'),
79
fs = require('fs'),
810
DataSource = require('../lib/datasource').DataSource;

examples/nesting-schema.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var ModelBuilder = require('../../loopback-datasource-juggler').ModelBuilder;
79
var modelBuilder = new ModelBuilder();
810

examples/relations.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
var DataSource = require('../index').DataSource;
79
var ds = new DataSource('memory');
810

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Node module: loopback-datasource-juggler
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
5+
'use strict';
56

67
var SG = require('strong-globalize');
78
SG.SetRootDir(__dirname);

lib/browser.depd.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// This file is licensed under the MIT License.
44
// License text available at https://opensource.org/licenses/MIT
55

6+
'use strict';
7+
68
// A lightweight alternative to "depd" that works in the browser
79
module.exports = function depd(namespace) {
810
var warned = {};

0 commit comments

Comments
 (0)