Showing 13 of 13 total issues
Similar blocks of code found in 4 locations. Consider refactoring. Open
constructor(saveFile?: SaveFileService, offset?: number) { if (saveFile !== undefined) this.load(saveFile as SaveFileService, offset as number); }
- Read upRead up
- Create a ticketCreate a ticket
Type string trivially inferred from a string literal, remove type annotation Open
public map: string = "";
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
" should be ' Open
const map = this.map.split("_");
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public stripWidth: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
" should be ' Open
public map: string = "";
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Missing radix parameter Open
it.setByte(parseInt(map[1]));
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public yAlign: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public viewPtr: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public stripSrc: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
" should be ' Open
this.map = `${mapPtr.toString(16).padStart(2, "0").toUpperCase()}_${width}`;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
if statements must be braced Open
if (saveFile !== undefined) this.load(saveFile as SaveFileService, offset as number);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public xAlign: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Type number trivially inferred from a number literal, remove type annotation Open
public stripDest: number = 0;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks