Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tonybaloney committed Mar 26, 2023
1 parent 046a4dc commit a7cdd11
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 44 deletions.
85 changes: 41 additions & 44 deletions src/panel/pets/turtle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import { States } from '../states';

export class Turtle extends BasePetType {
label = 'turtle';
static possibleColors = [
PetColor.green,
PetColor.orange
];
static possibleColors = [PetColor.green, PetColor.orange];
sequence = {
startingState: States.sitIdle,
sequenceStates: [
Expand Down Expand Up @@ -65,7 +62,7 @@ export class Turtle extends BasePetType {
],
};
get emoji(): string {
return '🐢' ;
return '🐢';
}
get hello(): string {
return ` Slow and steady wins the race!`;
Expand All @@ -74,43 +71,43 @@ export class Turtle extends BasePetType {

export const TURTLE_NAMES: ReadonlyArray<string> = [
'Shelldon',
"Shelly",
"Shelley",
"Sheldon",
"Tortuga",
"Tortellini",
"Charlie",
"Ross",
"Squirt",
"Crush",
"Squirtle",
"Koopa",
"Bowser",
"Bowsette",
"Franklin",
"Koopa Troopa",
"Blastoise",
"Cecil",
"Wartortle",
"Donatello",
"Michaelangelo",
"Leonardo",
"Leo",
"Donny",
"Mikey",
"Raphael",
"Chelone",
"Emily",
"Joseph",
"Anne",
"Zagreus",
"Kratos",
"Atreus",
"Loki",
"Freya",
"Brevity",
"Arthur",
"Doyle",
"Sherlock",
"Charli"
'Shelly',
'Shelley',
'Sheldon',
'Tortuga',
'Tortellini',
'Charlie',
'Ross',
'Squirt',
'Crush',
'Squirtle',
'Koopa',
'Bowser',
'Bowsette',
'Franklin',
'Koopa Troopa',
'Blastoise',
'Cecil',
'Wartortle',
'Donatello',
'Michaelangelo',
'Leonardo',
'Leo',
'Donny',
'Mikey',
'Raphael',
'Chelone',
'Emily',
'Joseph',
'Anne',
'Zagreus',
'Kratos',
'Atreus',
'Loki',
'Freya',
'Brevity',
'Arthur',
'Doyle',
'Sherlock',
'Charli',
];
1 change: 1 addition & 0 deletions src/test/gifs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const pets: { [key: string]: { colors: string[]; states: string[] } } = {
colors: ['gray'],
states: ['idle', 'run', 'swipe', 'walk', 'walk_fast'],
},
// eslint-disable-next-line @typescript-eslint/naming-convention
'rubber-duck': {
colors: ['yellow'],
states: ['idle', 'run', 'swipe', 'walk', 'walk_fast', 'with_ball'],
Expand Down

0 comments on commit a7cdd11

Please sign in to comment.