Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
Update prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathund committed Nov 10, 2024
1 parent 086d653 commit 94048d9
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/UpdateDocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
git checkout documentation
- name: Clear Old Documentation files
run: rm -rf assets/ classes/ functions/ interfaces/ modules/ types/ variables/ 404.html hierarchy.html index.html modules.html sitemap.xml .nojekyll
run:
rm -rf assets/ classes/ functions/ interfaces/ modules/ types/ variables/ 404.html hierarchy.html index.html
modules.html sitemap.xml .nojekyll

- name: Move new Documentation files into place
run: |
Expand Down
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
node_modules
coverage
dist
.env
.env.example
pnpm-lock.yaml
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
"scripts": {
"lint:check": "npx eslint src/",
"lint": "npx eslint src/ --fix",
"prettier:check": "npx prettier --check src/",
"prettier": "npx prettier --write src/",
"prettier:check": "npx prettier --check .",
"prettier": "npx prettier --write .",
"build": "npx tsc",
"test": "npx vitest run",
"test:coverage": "npx vitest run --coverage",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import CopsAndCrimsGamemode from './CopsAndCrimsGamemode.js';
import { expect, expectTypeOf, test } from 'vitest';

test('CopsAndCrimsGamemode', () => {
const data = new CopsAndCrimsGamemode({ stats: 'meow' }, "deathmatch");
const data = new CopsAndCrimsGamemode({ stats: 'meow' }, 'deathmatch');
expect(data).toBeInstanceOf(CopsAndCrimsGamemode);
expectTypeOf(data).toEqualTypeOf<CopsAndCrimsGamemode>();
expect(data.kills).toBeDefined();
Expand Down Expand Up @@ -35,5 +35,4 @@ test('CopsAndCrimsGamemode', () => {
expect(data.WLR).toBeDefined();
expect(data.WLR).toBeGreaterThanOrEqual(0);
expectTypeOf(data.WLR).toEqualTypeOf<number>();

});

0 comments on commit 94048d9

Please sign in to comment.