@meteorlxy/prettier-config 1.1.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 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 JSX element at the end of the last line instead of being alone on the next line (does not apply to self closing elements)
35
- jsxBracketSameLine: false,
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,28 +1,25 @@
1
1
  {
2
2
  "name": "@meteorlxy/prettier-config",
3
- "version": "1.1.0",
3
+ "version": "2.7.0",
4
4
  "description": "meteorlxy prettier config",
5
5
  "keywords": [
6
6
  "config",
7
7
  "prettier",
8
8
  "meteorlxy"
9
9
  ],
10
- "homepage": "https://git.code.oa.com/javascript/rules",
10
+ "homepage": "https://github.com/meteorlxy/configs",
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "http://git.code.oa.com/javascript/rules.git"
13
+ "url": "https://github.com/meteorlxy/configs.git"
14
14
  },
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": "ccb5d604a98a342dd3f24de30c18eaf4298b43cd"
24
+ "gitHead": "52ce6274f0b80167459f618878c4c9b88665c9d1"
28
25
  }
package/CHANGELOG.md DELETED
@@ -1,22 +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
- # [1.1.0](http://git.code.oa.com/javascript/rules/compare/@meteorlxy/prettier-config@1.0.1...@meteorlxy/prettier-config@1.1.0) (2020-08-22)
7
-
8
- ### Features
9
-
10
- - **prettier-config:** require all trailing comma ([a352d9f](http://git.code.oa.com/javascript/rules/commits/a352d9f5fc414fa77976a6c8c3344c0c3c8259a8))
11
-
12
- ## [1.0.1](http://git.code.oa.com/javascript/rules/compare/@meteorlxy/prettier-config@1.0.0...@meteorlxy/prettier-config@1.0.1) (2020-05-28)
13
-
14
- **Note:** Version bump only for package @meteorlxy/prettier-config
15
-
16
- # 1.0.0 (2020-05-28)
17
-
18
- **Note:** Version bump only for package @meteorlxy/prettier-config
19
-
20
- # 1.0.0 (2020-05-28)
21
-
22
- **Note:** Version bump only for package @meteorlxy/prettier-config