@meteorlxy/prettier-config 2.0.0 → 2.11.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/README.md +2 -4
- package/lib/index.js +8 -2
- package/package.json +2 -5
- package/CHANGELOG.md +0 -28
package/README.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -31,8 +31,8 @@ module.exports = {
|
|
|
31
31
|
// Print spaces between brackets in object literals.
|
|
32
32
|
bracketSpacing: true,
|
|
33
33
|
|
|
34
|
-
// Put the `>` of a multi-line
|
|
35
|
-
|
|
34
|
+
// Put the `>` of a multi-line HTML element at the end of the last line instead of being alone on the next line (does not apply to self closing elements)
|
|
35
|
+
bracketSameLine: false,
|
|
36
36
|
|
|
37
37
|
// Include parentheses around a sole arrow function parameter
|
|
38
38
|
arrowParens: 'always',
|
|
@@ -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.11.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": "f5cb476a66acf2856eb5c303bd6c7dacd71c60f1"
|
|
28
25
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
-
|
|
6
|
-
# 2.0.0 (2021-03-02)
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
- **prettier-config:** require all trailing comma ([a352d9f](https://github.com/meteorlxy/configs/commit/a352d9f5fc414fa77976a6c8c3344c0c3c8259a8))
|
|
11
|
-
|
|
12
|
-
# [1.1.0](https://github.com/meteorlxy/configs/compare/@meteorlxy/prettier-config@1.0.1...@meteorlxy/prettier-config@1.1.0) (2020-08-22)
|
|
13
|
-
|
|
14
|
-
### Features
|
|
15
|
-
|
|
16
|
-
- **prettier-config:** require all trailing comma ([a352d9f](https://github.com/meteorlxy/configs/commits/a352d9f5fc414fa77976a6c8c3344c0c3c8259a8))
|
|
17
|
-
|
|
18
|
-
## [1.0.1](https://github.com/meteorlxy/configs/compare/@meteorlxy/prettier-config@1.0.0...@meteorlxy/prettier-config@1.0.1) (2020-05-28)
|
|
19
|
-
|
|
20
|
-
**Note:** Version bump only for package @meteorlxy/prettier-config
|
|
21
|
-
|
|
22
|
-
# 1.0.0 (2020-05-28)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @meteorlxy/prettier-config
|
|
25
|
-
|
|
26
|
-
# 1.0.0 (2020-05-28)
|
|
27
|
-
|
|
28
|
-
**Note:** Version bump only for package @meteorlxy/prettier-config
|