@glorious-cinema-mc/core 1.0.3 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/prettier.config.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glorious-cinema-mc/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "Core utilities and shared setup",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Glorious99"
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"@trivago/prettier-plugin-sort-imports": "^5.2.2"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
|
-
"prettier": "./src/prettier.config.mjs"
|
|
20
|
+
"./prettier": "./src/prettier.config.mjs"
|
|
21
21
|
}
|
|
22
22
|
}
|
package/src/prettier.config.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const config = {
|
|
|
11
11
|
semi: false, // не ставим точку с запятой в конце строк
|
|
12
12
|
singleQuote: true, //использовать одинарные ковычки
|
|
13
13
|
jsxSingleQuote: true, // в jsx использовать одинарные ковычки
|
|
14
|
-
|
|
14
|
+
arrowParens: 'avoid', // не доавлять ковычки вокруг единственного аргумента стрелочной функции
|
|
15
15
|
importOrderSeparation: true, // добавлять пустую строку между группами импортов
|
|
16
16
|
importOrderSortSpecifiers: true, // сортируем части внутри одного импорта
|
|
17
17
|
importOrderCaseInsensitive: true, // игнорируем регистр при сортировке импортов
|