Skip to content

Commit

Permalink
eslint: Require trailing newline.
Browse files Browse the repository at this point in the history
For compliance with the UNIX philosophy.
  • Loading branch information
adityaruplaha committed Apr 18, 2021
1 parent 6ba22a7 commit 88d9da1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@typescript-eslint/no-unused-vars": "error",
"complexity": "off",
"comma-dangle": ["error", "never"],
"eol-last": ["error", "always"],
"indent": ["error", 2],
"no-trailing-spaces": "error",
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
Expand Down
2 changes: 1 addition & 1 deletion electron/game_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,4 +244,4 @@ class GameConfigV0_1 extends GameConfigV0 {

export {
GameConfig
}
}
2 changes: 1 addition & 1 deletion electron/games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,4 +347,4 @@ class LegendaryGame implements Game {

export {
LegendaryGame
}
}
2 changes: 1 addition & 1 deletion electron/legendary_utils/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export class User {
}
return { account_id: '', displayName: null }
}
}
}
2 changes: 1 addition & 1 deletion electron/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ export async function handleProtocol(window : BrowserWindow, url : string) {
return await game.install(path)
}
}
}
}

0 comments on commit 88d9da1

Please sign in to comment.