turn on max empty line rule with default of max: 2. (#3176)
Run with fix.
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 }) {
|
||||
|
||||
@@ -56,7 +56,6 @@ function getFileForProductIdentifier(productIdentifier, req) {
|
||||
}
|
||||
|
||||
|
||||
|
||||
export class IAPValidationRouter extends PromiseRouter {
|
||||
|
||||
handleRequest(req) {
|
||||
|
||||
Reference in New Issue
Block a user