Commit d380516
authored
Migrate to biome and add lint, typecheck to CI (#25)
Closes #24
This pull request migrates the project from ESLint and Prettier to Biome
for linting and formatting, updates the continuous integration workflow
to use Biome and TypeScript type checking, and standardizes TypeScript
types and dependencies across packages. It also improves import ordering
and code style consistency in several files.
Migration to Biome (Linting & Formatting):
* Added `biome.json` configuration file and Biome as a dev dependency in
`package.json`, specifying formatting, linting, and ignore rules.
* Replaced ESLint and Prettier scripts with Biome equivalents in
`package.json` and `.lintstagedrc.json`, removing related config and
ignore files (`.eslintrc.js`, `.eslintignore`, `.prettierrc.json`,
`.prettierignore`).
* Updated import ordering and code style in multiple files for
consistency with Biome formatting.
Continuous Integration Workflow Updates:
* Updated `.github/workflows/ci.yml` to run Biome linting and TypeScript
type checking before tests and build.
* Revised `.github/CI.md` to document the new CI steps and local
development commands, replacing ESLint/Prettier references with Biome
and typecheck steps.
TypeScript and Dependency Standardization:
* Standardized `@types/react` and `@types/react-dom` to version
`^18.2.0` in both root and `experience-editor` package dependencies.
These changes modernize the project's code quality tooling, improve
developer experience, and ensure consistent formatting and type safety
across the codebase.1 parent 3cc95c3 commit d380516
File tree
65 files changed
+507
-481
lines changed- .github
- workflows
- .storybook
- packages
- experience-editor
- src
- components
- form
- __tests__
- data
- fields
- utility
- __tests__
- recommendation-block
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
65 files changed
+507
-481
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
16 | | - | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
32 | 39 | | |
33 | 40 | | |
34 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 2 | + | |
9 | 3 | | |
10 | 4 | | |
11 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
0 commit comments