Skip to content

Commit 8111c33

Browse files
author
Arthur Cinader
authored
turn on max empty line rule with default of max: 2. (#3176)
Run with fix.
1 parent fb36dfa commit 8111c33

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"linebreak-style": ["error", "unix"],
1919
"no-trailing-spaces": 2,
2020
"eol-last": 2,
21-
"space-in-parens": ["error", "never"]
21+
"space-in-parens": ["error", "never"],
22+
"no-multiple-empty-lines": 1
2223
}
2324
}

spec/helper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,6 @@ function mockFacebook() {
370370
}
371371

372372

373-
374373
// This is polluting, but, it makes it way easier to directly port old tests.
375374
global.Parse = Parse;
376375
global.TestObject = TestObject;

src/Adapters/Storage/Mongo/MongoSchemaCollection.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function _mongoSchemaQueryFromNameQuery(name: string, query) {
8383
}
8484

8585

86-
8786
// Returns a type suitable for inserting into mongo _SCHEMA collection.
8887
// Does no validation. That is expected to be done in Parse Server.
8988
function parseFieldTypeToMongoFieldType({ type, targetClass }) {

src/Routers/IAPValidationRouter.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ function getFileForProductIdentifier(productIdentifier, req) {
5656
}
5757

5858

59-
6059
export class IAPValidationRouter extends PromiseRouter {
6160

6261
handleRequest(req) {

0 commit comments

Comments
 (0)