diff --git a/.eslintrc.json b/.eslintrc.json index dbcdcf3a..65dcb7db 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -18,6 +18,7 @@ "linebreak-style": ["error", "unix"], "no-trailing-spaces": 2, "eol-last": 2, - "space-in-parens": ["error", "never"] + "space-in-parens": ["error", "never"], + "no-multiple-empty-lines": 1 } } diff --git a/spec/helper.js b/spec/helper.js index 7ff6a8bf..20880c6e 100644 --- a/spec/helper.js +++ b/spec/helper.js @@ -370,7 +370,6 @@ function mockFacebook() { } - // This is polluting, but, it makes it way easier to directly port old tests. global.Parse = Parse; global.TestObject = TestObject; diff --git a/src/Adapters/Storage/Mongo/MongoSchemaCollection.js b/src/Adapters/Storage/Mongo/MongoSchemaCollection.js index 8672b080..1a6f0288 100644 --- a/src/Adapters/Storage/Mongo/MongoSchemaCollection.js +++ b/src/Adapters/Storage/Mongo/MongoSchemaCollection.js @@ -83,7 +83,6 @@ function _mongoSchemaQueryFromNameQuery(name: string, query) { } - // Returns a type suitable for inserting into mongo _SCHEMA collection. // Does no validation. That is expected to be done in Parse Server. function parseFieldTypeToMongoFieldType({ type, targetClass }) { diff --git a/src/Routers/IAPValidationRouter.js b/src/Routers/IAPValidationRouter.js index 4f7f0a34..24b3c997 100644 --- a/src/Routers/IAPValidationRouter.js +++ b/src/Routers/IAPValidationRouter.js @@ -56,7 +56,6 @@ function getFileForProductIdentifier(productIdentifier, req) { } - export class IAPValidationRouter extends PromiseRouter { handleRequest(req) {