Skip to content

Commit 42781d6

Browse files
committed
Reformat code with prettier
1 parent f7c0eb5 commit 42781d6

40 files changed

+86
-293
lines changed

.github/workflows/ebrains.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Mirror to EBRAINS
22

33
on:
44
push:
5-
branches: [ master, staging ]
5+
branches: [master, staging]
66

77
jobs:
88
to_ebrains:

.gitlab-ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
stages:
32
- build
43

@@ -15,7 +14,6 @@ build_image_production:
1514
tags:
1615
- shell-runner
1716

18-
1917
build_image_staging:
2018
stage: build
2119
only:

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Ignore artifacts:
2+
build
3+
coverage
4+
node_modules
5+
*.ipynb

.prettierrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"printWidth": 100,
3+
"tabWidth": 2
4+
}

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
1414

1515
The page will reload if you make edits.
1616

17-
1817
## Acknowledgments
1918

2019
The current version of the application was developed as part of the EBRAINS research infrastructure,
@@ -26,12 +25,10 @@ funded from the European Union’s Horizon 2020 Framework Programme for Research
2625
under Specific Grant Agreements No. 720270, No. 785907 and No. 945539
2726
(Human Brain Project SGA1, SGA2 and SGA3).
2827

29-
30-
3128
## Dev notes
3229

3330
- This reimplementation is based on React Router v6.
3431
- The goals are:
35-
- more consistent behaviour when navigating between internal pages
36-
- replace OIDC Implicit flow with Authorization Code flow
37-
- upgrade MUI to v5
32+
- more consistent behaviour when navigating between internal pages
33+
- replace OIDC Implicit flow with Authorization Code flow
34+
- upgrade MUI to v5

__tests__/auth.test.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { describe, expect, test, vi } from "vitest";
2-
import {
3-
render,
4-
screen,
5-
getByRole,
6-
fireEvent,
7-
waitFor,
8-
} from "@testing-library/react";
2+
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
93

104
import { checkAuth } from "../src/auth";
115

__tests__/components/CodePanel.test.jsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { describe, expect, test, vi } from "vitest";
2-
import {
3-
render,
4-
screen,
5-
getByRole,
6-
fireEvent,
7-
waitFor,
8-
} from "@testing-library/react";
2+
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
93

104
import CodePanel from "../../src/components/CodePanel";
115

__tests__/components/CodeWidget.test.jsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { describe, expect, test, vi } from "vitest";
2-
import {
3-
render,
4-
screen,
5-
getByRole,
6-
fireEvent,
7-
waitFor,
8-
} from "@testing-library/react";
2+
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
93

104
import CodeWidget from "../../src/components/CodeWidget";
115

__tests__/components/CommentsPanel.test.jsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { describe, expect, test, vi } from "vitest";
2-
import {
3-
render,
4-
screen,
5-
getByRole,
6-
fireEvent,
7-
waitFor,
8-
} from "@testing-library/react";
2+
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
93

104
import CommentsPanel from "../../src/components/CommentsPanel";
115

__tests__/components/CreateJobDialog.test.jsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import { describe, expect, test, vi } from "vitest";
2-
import {
3-
render,
4-
screen,
5-
getByRole,
6-
fireEvent,
7-
waitFor,
8-
} from "@testing-library/react";
2+
import { render, screen, getByRole, fireEvent, waitFor } from "@testing-library/react";
93

104
import CreateJobDialog from "../../src/components/CreateJobDialog";
115

0 commit comments

Comments
 (0)