@meteorlxy/prettier-config 2.3.0 → 2.7.0
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/lib/index.js +6 -0
- package/package.json +2 -5
package/lib/index.js
CHANGED
|
@@ -64,4 +64,10 @@ module.exports = {
|
|
|
64
64
|
|
|
65
65
|
// End of line
|
|
66
66
|
endOfLine: 'lf',
|
|
67
|
+
|
|
68
|
+
// Control whether Prettier formats quoted code embedded in the file
|
|
69
|
+
embeddedLanguageFormatting: 'auto',
|
|
70
|
+
|
|
71
|
+
// Enforce single attribute per line in HTML, Vue and JSX
|
|
72
|
+
singleAttributePerLine: false,
|
|
67
73
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meteorlxy/prettier-config",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "meteorlxy prettier config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -15,14 +15,11 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": "meteorlxy <meteor.lxy@foxmail.com>",
|
|
17
17
|
"main": "lib/index.js",
|
|
18
|
-
"directories": {
|
|
19
|
-
"lib": "lib"
|
|
20
|
-
},
|
|
21
18
|
"files": [
|
|
22
19
|
"lib"
|
|
23
20
|
],
|
|
24
21
|
"publishConfig": {
|
|
25
22
|
"access": "public"
|
|
26
23
|
},
|
|
27
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "52ce6274f0b80167459f618878c4c9b88665c9d1"
|
|
28
25
|
}
|