Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
themrrobert committed Nov 18, 2024
1 parent 45ddf10 commit c9c22ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"files": {
"maxSize": 10000000,
"ignore": ["node_modules", "dist", "coverage", "profiling", "logs", "icon_cache", ".astro", ".yarn"],
"ignore": ["node_modules", "dist", "coverage", "profiling", "logs", "icon_cache", ".astro", ".yarn", ".rob"],
"include": ["**/*.ts", "**/*.mts", "**/*.json", "**/*.test.ts", "**/*.mdx", "**/*.md", "**/*.mjs", "**/*.cjs"]
},
"vcs": {
Expand Down
4 changes: 2 additions & 2 deletions src/lib/MUser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import { ChargeBank } from './structures/Bank';
import { Gear, defaultGear } from './structures/Gear';
import { GearBank } from './structures/GearBank';
import type { XPBank } from './structures/XPBank';
import {ItemBank, SkillRequirements, Skills} from './types';
import type { ItemBank, SkillRequirements, Skills } from './types';
import { addItemToBank, convertXPtoLVL, fullGearToBank, hasSkillReqsRaw, itemNameFromID } from './util';
import { determineRunes } from './util/determineRunes';
import { getKCByName } from './util/getKCByName';
Expand Down Expand Up @@ -175,7 +175,7 @@ export class MUserClass {
}

get skillsAsRequirements(): Required<SkillRequirements> {
return { ... this.skillsAsLevels, combat: this.combatLevel}
return { ...this.skillsAsLevels, combat: this.combatLevel };
}

favAlchs(duration: number, agility?: boolean) {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/util/smallUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import z from 'zod';

import { skillEmoji } from '../data/emojis';
import type { UserFullGearSetup } from '../gear/types';
import {SkillRequirements, Skills} from '../types';
import type { SkillRequirements, Skills } from '../types';

export function itemNameFromID(itemID: number | string) {
return Items.get(itemID)?.name;
Expand Down

0 comments on commit c9c22ff

Please sign in to comment.