turn on max empty line rule with default of max: 2. (#3176)

Run with fix.
This commit is contained in:
Arthur Cinader
2016-12-06 13:35:23 -08:00
committed by GitHub
parent fb36dfa26f
commit 8111c3338e
4 changed files with 2 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
"linebreak-style": ["error", "unix"], "linebreak-style": ["error", "unix"],
"no-trailing-spaces": 2, "no-trailing-spaces": 2,
"eol-last": 2, "eol-last": 2,
"space-in-parens": ["error", "never"] "space-in-parens": ["error", "never"],
"no-multiple-empty-lines": 1
} }
} }

View File

@@ -370,7 +370,6 @@ function mockFacebook() {
} }
// This is polluting, but, it makes it way easier to directly port old tests. // This is polluting, but, it makes it way easier to directly port old tests.
global.Parse = Parse; global.Parse = Parse;
global.TestObject = TestObject; global.TestObject = TestObject;

View File

@@ -83,7 +83,6 @@ function _mongoSchemaQueryFromNameQuery(name: string, query) {
} }
// Returns a type suitable for inserting into mongo _SCHEMA collection. // Returns a type suitable for inserting into mongo _SCHEMA collection.
// Does no validation. That is expected to be done in Parse Server. // Does no validation. That is expected to be done in Parse Server.
function parseFieldTypeToMongoFieldType({ type, targetClass }) { function parseFieldTypeToMongoFieldType({ type, targetClass }) {

View File

@@ -56,7 +56,6 @@ function getFileForProductIdentifier(productIdentifier, req) {
} }
export class IAPValidationRouter extends PromiseRouter { export class IAPValidationRouter extends PromiseRouter {
handleRequest(req) { handleRequest(req) {