Skip to content

Commit

Permalink
chore: Remove prettierignore exceptions (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibgreen authored Aug 5, 2024
1 parent 5aeef45 commit 2c2d21a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
**/dist*

modules/core/src/classes/base/math-array.ts
modules/types/src/bounds-types.ts
2 changes: 1 addition & 1 deletion modules/core/src/classes/base/math-array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export abstract class MathArray extends Array<number> {
return Array.isArray(arrayOrObject)
? this.copy(arrayOrObject)
: // @ts-ignore
this.fromObject(arrayOrObject);
this.fromObject(arrayOrObject);
}

to<T extends NumericArray | Record<string, unknown>>(arrayOrObject: T): T {
Expand Down
6 changes: 3 additions & 3 deletions modules/types/src/bounds-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function getBounds2D(bounds: Bounds): Bounds2D {
return isBounds2D(bounds)
? bounds
: [
[bounds[0][0], bounds[0][1]],
[bounds[1][0], bounds[1][1]]
];
[bounds[0][0], bounds[0][1]],
[bounds[1][0], bounds[1][1]]
];
}

0 comments on commit 2c2d21a

Please sign in to comment.