Update eslint + config to latest
This commit is contained in:
parent
9f18837ec6
commit
a695cb22e1
16
lib/sql.js
16
lib/sql.js
|
@ -1784,8 +1784,8 @@ SQLConnector.prototype.discoverDatabaseSchemas = function(options, cb) {
|
|||
* @param options {all: for all owners, owner: for a given owner}
|
||||
* @returns {string} The sql statement
|
||||
*/
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
SQLConnector.prototype.buildQueryTables = function(options) {
|
||||
throw new Error(g.f('{{buildQueryTables}} must be implemented by the connector'));
|
||||
};
|
||||
|
@ -1795,8 +1795,8 @@ SQLConnector.prototype.buildQueryTables = function(options) {
|
|||
* @param options {all: for all owners, owner: for a given owner}
|
||||
* @returns {string} The sql statement
|
||||
*/
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
SQLConnector.prototype.buildQueryViews = function(options) {
|
||||
throw new Error(g.f('{{buildQueryViews}} must be implemented by the connector'));
|
||||
};
|
||||
|
@ -1946,8 +1946,8 @@ SQLConnector.prototype.discoverPrimaryKeys = function(table, options, cb) {
|
|||
* @param table
|
||||
* @returns {string}
|
||||
*/
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
SQLConnector.prototype.buildQueryForeignKeys = function(schema, table) {
|
||||
throw new Error(g.f('{{buildQueryForeignKeys}} must be implemented by the connector'));
|
||||
};
|
||||
|
@ -1982,8 +1982,8 @@ SQLConnector.prototype.discoverForeignKeys = function(table, options, cb) {
|
|||
* @param table
|
||||
* @returns {string}
|
||||
*/
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
// Due to the different implementation structure of information_schema across
|
||||
// connectors, each connector will have to generate its own query
|
||||
SQLConnector.prototype.buildQueryExportedForeignKeys = function(schema, table) {
|
||||
throw new Error(g.f('{{buildQueryExportedForeignKeys}} must be implemented by' +
|
||||
'the connector'));
|
||||
|
|
|
@ -31,8 +31,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"chai": "~3.5.0",
|
||||
"eslint": "^3.17.1",
|
||||
"eslint-config-loopback": "^8.0.0",
|
||||
"eslint": "^4.19.1",
|
||||
"eslint-config-loopback": "^10.0.0",
|
||||
"loopback-datasource-juggler": "^3.12.0",
|
||||
"mocha": "^3.2.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue