Skip to content

Commit

Permalink
fix: liter and prettier errors/warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
markkovari committed Aug 16, 2024
1 parent 1b9a84c commit 60c6b24
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
14 changes: 12 additions & 2 deletions frontend/biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@
"rules": {
"all": true
},
"ignore": ["**/node_modules/**", "**/dist/**", "**/coverage/**"]
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/coverage/**",
"tsconfig.*.json"
]
},
"formatter": {
"indentWidth": 2,
"indentStyle": "space",
"enabled": true,
"ignore": ["**/node_modules/**", "**/dist/**", "**/coverage/**"]
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/coverage/**",
"tsconfig.*.json"
]
},
"overrides": [
{
Expand Down
1 change: 0 additions & 1 deletion frontend/src/state.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ describe("state", () => {
});
expect(state.result.current.auth.token).toBeNull();
const exampleValidToken =
// biome-ignore lint
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c" as const;
act(() => {
state.result.current.setAuth(exampleValidToken);
Expand Down
2 changes: 1 addition & 1 deletion frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"node_modules",
"src/tests/setup.ts",
"src/**/*.test.ts",
"src/**/*.test.tsx",
"src/**/*.test.tsx"
],
"references": [{ "path": "./tsconfig.node.json" }]
}

0 comments on commit 60c6b24

Please sign in to comment.