Skip to content

Commit b651b30

Browse files
committed
chore: lint and format files
1 parent 63236bd commit b651b30

File tree

10 files changed

+65
-31
lines changed

10 files changed

+65
-31
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ infrastructure.
1818
This problem is not new: it looks a whole lot like the state of Symfony in PHP
1919
before Symfony Flex. We need a Symfony Flex equivalent for JavaScript: a tool to
2020
build amazing User Experiences as quickly as we can now setup
21-
[an HTTP client](https://symfony.com/doc/current/http_client.html),
22-
[a Mailer](https://symfony.com/doc/current/mailer.html) or
21+
[an HTTP client](https://symfony.com/doc/current/http_client.html),
22+
[a Mailer](https://symfony.com/doc/current/mailer.html) or
2323
[an administration panel](https://symfony.com/doc/current/bundles/EasyAdminBundle/index.html).
2424

2525
**That's Symfony UX.**
@@ -28,24 +28,24 @@ build amazing User Experiences as quickly as we can now setup
2828

2929
# Packages
3030

31-
* [UX Chart.js](https://github.com/symfony/ux-chartjs):
32-
[Chart.js](https://www.chartjs.org/) chart library integration for Symfony
33-
* [UX Cropper.js](https://github.com/symfony/ux-cropperjs):
34-
[Cropper.js](https://fengyuanchen.github.io/cropperjs/) image cropper library integration for Symfony
35-
* [UX Dropzone](https://github.com/symfony/ux-dropzone):
36-
File input drag-and-drop zones for Symfony Forms
37-
* [UX LazyImage](https://github.com/symfony/ux-lazy-image):
38-
Improve image loading performances through lazy-loading and data-uri thumbnails
39-
* [UX Swup](https://github.com/symfony/ux-swup):
40-
[Swup](https://swup.js.org/) page transition library integration for Symfony
31+
- [UX Chart.js](https://github.com/symfony/ux-chartjs):
32+
[Chart.js](https://www.chartjs.org/) chart library integration for Symfony
33+
- [UX Cropper.js](https://github.com/symfony/ux-cropperjs):
34+
[Cropper.js](https://fengyuanchen.github.io/cropperjs/) image cropper library integration for Symfony
35+
- [UX Dropzone](https://github.com/symfony/ux-dropzone):
36+
File input drag-and-drop zones for Symfony Forms
37+
- [UX LazyImage](https://github.com/symfony/ux-lazy-image):
38+
Improve image loading performances through lazy-loading and data-uri thumbnails
39+
- [UX Swup](https://github.com/symfony/ux-swup):
40+
[Swup](https://swup.js.org/) page transition library integration for Symfony
4141

4242
# Let's build an amazing ecosystem together
4343

4444
Symfony UX is an **initiative**: its aim is to build an ecosystem. To achieve this,
45-
we need your help: what other packages could we create in Symfony UX? What about a
46-
library that automatically adds an [input mask](https://imask.js.org/) to the text
45+
we need your help: what other packages could we create in Symfony UX? What about a
46+
library that automatically adds an [input mask](https://imask.js.org/) to the text
4747
fields of your Symfony forms? Or the ability to make the `EntityType` render with
48-
[AJAX auto-completion](https://tarekraafat.github.io/autoComplete.js)? Anything you
48+
[AJAX auto-completion](https://tarekraafat.github.io/autoComplete.js)? Anything you
4949
do in JavaScript could be done streamlined as a UX package.
5050

5151
We have some ideas and we will release more packages in the coming days. The rest

package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"private": true,
3-
"workspaces": ["src/*/Resources/assets"],
3+
"workspaces": [
4+
"src/*/Resources/assets"
5+
],
46
"scripts": {
57
"build": "yarn workspaces run build",
68
"test": "yarn workspaces run test",
@@ -28,8 +30,12 @@
2830
},
2931
"overrides": [
3032
{
31-
"files": ["src/*/Resources/assets/test/*.js"],
32-
"extends": ["plugin:jest/recommended"]
33+
"files": [
34+
"src/*/Resources/assets/test/*.js"
35+
],
36+
"extends": [
37+
"plugin:jest/recommended"
38+
]
3339
}
3440
]
3541
},

src/Chartjs/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,12 @@ export default class extends Controller {
9292
console.log(event.detail.chart); // You can access the chart instance using the event details
9393

9494
// For instance you can listen to additional events
95-
event.detail.chart.options.onHover = (mouseEvent) => { /* ... */ };
96-
event.detail.chart.options.onClick = (mouseEvent) => { /* ... */ };
95+
event.detail.chart.options.onHover = (mouseEvent) => {
96+
/* ... */
97+
};
98+
event.detail.chart.options.onClick = (mouseEvent) => {
99+
/* ... */
100+
};
97101
}
98102
}
99103
```

src/Chartjs/composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"name": "symfony/ux-chartjs",
33
"type": "symfony-bundle",
44
"description": "Chart.js integration for Symfony",
5-
"keywords": ["symfony", "ux", "chart", "chart.js", "chartjs"],
5+
"keywords": [
6+
"symfony",
7+
"ux",
8+
"chart",
9+
"chart.js",
10+
"chartjs"
11+
],
612
"homepage": "https://symfony.com",
713
"license": "MIT",
814
"authors": [

src/Cropperjs/composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,13 @@
22
"name": "symfony/ux-cropperjs",
33
"type": "symfony-bundle",
44
"description": "Cropper.js integration for Symfony",
5-
"keywords": ["symfony", "ux", "cropper", "cropper.js", "cropperjs"],
5+
"keywords": [
6+
"symfony",
7+
"ux",
8+
"cropper",
9+
"cropper.js",
10+
"cropperjs"
11+
],
612
"homepage": "https://symfony.com",
713
"license": "MIT",
814
"authors": [

src/Dropzone/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ the `@symfony/ux-dropzone/src/style.css` autoimport to `false`:
6969
}
7070
```
7171

72-
> *Note*: you should put the value to `false` and not remove the line so that Symfony Flex
72+
> _Note_: you should put the value to `false` and not remove the line so that Symfony Flex
7373
> won't try to add the line again in the future.
7474
7575
Once done, the default stylesheet won't be used anymore and you can implement your own CSS on

src/Dropzone/composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "symfony/ux-dropzone",
33
"type": "symfony-bundle",
44
"description": "File input dropzones for Symfony Forms",
5-
"keywords": ["symfony", "ux", "dropzone"],
5+
"keywords": [
6+
"symfony",
7+
"ux",
8+
"dropzone"
9+
],
610
"homepage": "https://symfony.com",
711
"license": "MIT",
812
"authors": [

src/LazyImage/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ image loading performance. It is part of [the Symfony UX initiative](https://sym
55

66
It provides two key features:
77

8-
* a Stimulus controller to load lazily heavy images, with a placeholder
9-
* a [BlurHash implementation](https://blurha.sh/) to create data-uri thumbnails for images
8+
- a Stimulus controller to load lazily heavy images, with a placeholder
9+
- a [BlurHash implementation](https://blurha.sh/) to create data-uri thumbnails for images
1010

1111
## Installation
1212

@@ -57,9 +57,9 @@ the BlurHash algorithm to create a light, blurred, data-uri thumbnail of the ima
5757

5858
The `data_uri_thumbnail` function receives 3 arguments:
5959

60-
* the server path to the image to generate the data-uri thumbnail for ;
61-
* the width of the BlurHash to generate
62-
* the height of the BlurHash to generate
60+
- the server path to the image to generate the data-uri thumbnail for ;
61+
- the width of the BlurHash to generate
62+
- the height of the BlurHash to generate
6363

6464
You should try to generate small BlurHash images as generating the image can be CPU-intensive.
6565
Instead, you can rely on the browser scaling abilities by generating a small image and using the

src/LazyImage/composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "symfony/ux-lazy-image",
33
"type": "symfony-bundle",
44
"description": "Lazy image loader and utilities for Symfony",
5-
"keywords": ["symfony", "ux", "dropzone"],
5+
"keywords": [
6+
"symfony",
7+
"ux",
8+
"dropzone"
9+
],
610
"homepage": "https://symfony.com",
711
"license": "MIT",
812
"authors": [

src/Swup/composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
"name": "symfony/ux-swup",
33
"type": "symfony-bundle",
44
"description": "Swup integration for Symfony",
5-
"keywords": ["symfony", "ux", "swup"],
5+
"keywords": [
6+
"symfony",
7+
"ux",
8+
"swup"
9+
],
610
"homepage": "https://symfony.com",
711
"license": "MIT",
812
"authors": [

0 commit comments

Comments
 (0)