@cgzair/prettier-config-cgz 1.1.1 → 1.1.2

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.
Files changed (2) hide show
  1. package/index.js +1 -5
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -1,13 +1,10 @@
1
- // const organizeAttributes = require("prettier-plugin-organize-attributes");
2
1
  const styleOrder = require("prettier-plugin-two-style-order");
3
2
 
4
3
  module.exports = {
5
4
  trailingComma: "all",
6
5
  printWidth: 120,
7
6
  proseWrap: "never",
8
- attributeGroups: ["$CODE_GUIDE", "@trivago/prettier-plugin-sort-imports"],
9
- plugins: [styleOrder],
10
- // plugins: [organizeAttributes, styleOrder],
7
+ plugins: [styleOrder, "@trivago/prettier-plugin-sort-imports"],
11
8
  overrides: [
12
9
  {
13
10
  files: ".prettierrc",
@@ -17,7 +14,6 @@ module.exports = {
17
14
  },
18
15
  ],
19
16
  importOrder: [
20
- "<BUILTIN_MODULES>",
21
17
  // 1. react、vue 等框架
22
18
  "^(react|react-dom|vue)$",
23
19
  // 2. 框架配套(redux、router 等)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cgzair/prettier-config-cgz",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "Prettier shareable configuration for cgz frontend Guidelines",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -50,5 +50,5 @@
50
50
  "cobertura"
51
51
  ]
52
52
  },
53
- "gitHead": "3a4574921944b4fe24845b24ae0bfbfac622fbc7"
53
+ "gitHead": "52c76a5b3b1284b9334639b4b54b3ebbc67a1c7e"
54
54
  }