Skip to content

Commit 924fe4b

Browse files
committed
Cleanup
1 parent e4d4351 commit 924fe4b

File tree

21 files changed

+25
-62
lines changed

21 files changed

+25
-62
lines changed

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"categories": {},
55
"rules": {},
66
"env": {
7-
"builtin": true
7+
"builtin": true,
8+
"es2021": true
89
},
910
"globals": {},
1011
"ignorePatterns": [

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,17 +106,17 @@ To help you with assets, you can run the following commands in a specific packag
106106
- `pnpm run test:unit`: run the unit tests from the package
107107
- `pnpm run test:browser`: run the browser tests from the package in a headless browser
108108
- `pnpm run test:browser:ui`: run the browser tests from the package in interactive mode, allowing you to see the tests running in a browser window and debug them if needed
109-
- `pnpm run check`: run the formatter, linter, and sort imports, and fail if any modifications are needed
110-
- `pnpm run check --write`: run the formatter, linter, and import sorting, and write modifications
111109

112110
Thanks to [PNPM Workspaces](https://pnpm.io/workspaces), you can also run these commands from the root directory of the project:
113111

114112
- `pnpm run build`: build (compile) assets from **all** packages
115113
- `pnpm run test`: run the tests from **all** packages
116114
- `pnpm run test:unit`: run the unit tests from **all** packages
117115
- `pnpm run test:browser`: run the browser tests from **all** packages in a headless browser
118-
- `pnpm run check`: run the formatter, linter, and sort imports for **all** packages, and fail if any modifications are needed
119-
- `pnpm run check --write`: run the formatter, linter, and import sorting for **all** packages, and write modifications
116+
- `pnpm run fmt:check`: run the code formatter for **all** packages, and **fail** if any modifications are needed
117+
- `pnpm run fmt`: run the code formatter for **all** packages, and **write** modifications
118+
- `pnpm run lint`: run the linter for **all** packages
119+
- `pnpm run lint:fix`: run the linter for **all** packages, and **fix** any fixable issues
120120

121121
> [!IMPORTANT]
122122
> Always run `pnpm run build` before committing your changes to ensure assets are properly compiled.

src/Autocomplete/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"test": "pnpm run test:unit && pnpm run test:browser",
2121
"test:unit": "../../../bin/unit_test_package.sh .",
2222
"test:browser": "playwright test",
23-
"test:browser:ui": "playwright test --ui",
24-
"check": "biome check",
25-
"ci": "biome ci"
23+
"test:browser:ui": "playwright test --ui"
2624
},
2725
"symfony": {
2826
"controllers": {

src/Chartjs/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"test": "pnpm run test:unit && pnpm run test:browser",
2121
"test:unit": "../../../bin/unit_test_package.sh .",
2222
"test:browser": "playwright test",
23-
"test:browser:ui": "playwright test --ui",
24-
"check": "biome check",
25-
"ci": "biome ci"
23+
"test:browser:ui": "playwright test --ui"
2624
},
2725
"symfony": {
2826
"controllers": {

src/Cropperjs/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
"test": "pnpm run test:unit && pnpm run test:browser",
2424
"test:unit": "../../../bin/unit_test_package.sh .",
2525
"test:browser": "playwright test",
26-
"test:browser:ui": "playwright test --ui",
27-
"check": "biome check",
28-
"ci": "biome ci"
26+
"test:browser:ui": "playwright test --ui"
2927
},
3028
"symfony": {
3129
"controllers": {

src/Dropzone/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
"test": "pnpm run test:unit && pnpm run test:browser",
2424
"test:unit": "../../../bin/unit_test_package.sh .",
2525
"test:browser": "playwright test",
26-
"test:browser:ui": "playwright test --ui",
27-
"check": "biome check",
28-
"ci": "biome ci"
26+
"test:browser:ui": "playwright test --ui"
2927
},
3028
"symfony": {
3129
"controllers": {

src/LazyImage/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818
"build": "tsx ../../../bin/build_package.ts .",
1919
"watch": "tsx ../../../bin/build_package.ts . --watch",
2020
"test": "pnpm run test:unit",
21-
"test:unit": "../../../bin/unit_test_package.sh .",
22-
"check": "biome check",
23-
"ci": "biome ci"
21+
"test:unit": "../../../bin/unit_test_package.sh ."
2422
},
2523
"symfony": {
2624
"controllers": {

src/LiveComponent/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"test": "pnpm run test:unit && pnpm run test:browser",
2626
"test:unit": "../../../bin/unit_test_package.sh .",
2727
"test:browser": "playwright test",
28-
"test:browser:ui": "playwright test --ui",
29-
"check": "biome check",
30-
"ci": "biome ci"
28+
"test:browser:ui": "playwright test --ui"
3129
},
3230
"symfony": {
3331
"controllers": {

src/Map/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@
2222
"build": "tsx ../../../bin/build_package.ts .",
2323
"watch": "tsx ../../../bin/build_package.ts . --watch",
2424
"test": "pnpm run test:unit",
25-
"test:unit": "../../../bin/unit_test_package.sh .",
26-
"check": "biome check",
27-
"ci": "biome ci"
25+
"test:unit": "../../../bin/unit_test_package.sh ."
2826
},
2927
"symfony": {
3028
"needsPackageAsADependency": false,

src/Map/src/Bridge/Google/assets/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
"watch": "tsx ../../../../../../bin/build_package.ts . --watch",
2222
"test": "pnpm run test:browser",
2323
"test:browser": "playwright test",
24-
"test:browser:ui": "playwright test --ui",
25-
"check": "biome check",
26-
"ci": "biome ci"
24+
"test:browser:ui": "playwright test --ui"
2725
},
2826
"symfony": {
2927
"controllers": {

0 commit comments

Comments
 (0)