@taiga-ui/prettier-config 0.5.0 → 0.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/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.7.0](https://github.com/taiga-family/linters/compare/@taiga-ui/prettier-config@0.6.0...@taiga-ui/prettier-config@0.7.0) (2023-12-07)
7
+
8
+ ### Features
9
+
10
+ - add peer deps ([#188](https://github.com/taiga-family/linters/issues/188))
11
+ ([ff6d106](https://github.com/taiga-family/linters/commit/ff6d106aa19c33cfc12fd04de791f299ee1451d5))
12
+
13
+ # Change Log
14
+
15
+ All notable changes to this project will be documented in this file. See
16
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
17
+
18
+ # [0.6.0](https://github.com/taiga-family/linters/compare/@taiga-ui/prettier-config@0.5.0...@taiga-ui/prettier-config@0.6.0) (2023-11-15)
19
+
20
+ ### Features
21
+
22
+ - **eslint-plugin-experience:** upgrade some rules
23
+ ([f12c1b2](https://github.com/taiga-family/linters/commit/f12c1b2b5f1ed83d6f21f861a29c73804ef8740f))
24
+
25
+ # Change Log
26
+
27
+ All notable changes to this project will be documented in this file. See
28
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
29
+
6
30
  # 0.5.0 (2023-11-14)
7
31
 
8
32
  ### Features
package/index.js CHANGED
@@ -16,10 +16,19 @@ const attributeOptions = {
16
16
 
17
17
  module.exports = {
18
18
  $schema: 'https://json.schemastore.org/prettierrc',
19
+ plugins: [require.resolve('prettier-plugin-organize-attributes')],
19
20
  arrowParens: 'avoid',
20
21
  bracketSpacing: false,
21
22
  endOfLine: 'lf',
22
23
  htmlWhitespaceSensitivity: 'ignore',
24
+ printWidth: 120,
25
+ proseWrap: 'always',
26
+ semi: true,
27
+ singleAttributePerLine: true,
28
+ singleQuote: true,
29
+ tabWidth: 4,
30
+ trailingComma: 'all',
31
+ useTabs: false,
23
32
  overrides: [
24
33
  {
25
34
  files: ['*.json', '.prettierrc', '.stylelintrc'],
@@ -86,13 +95,4 @@ module.exports = {
86
95
  options: require(require('path').resolve(__dirname, 'options', 'svg.js')),
87
96
  },
88
97
  ],
89
- plugins: [require.resolve('prettier-plugin-organize-attributes')],
90
- printWidth: 120,
91
- proseWrap: 'always',
92
- semi: true,
93
- singleAttributePerLine: true,
94
- singleQuote: true,
95
- tabWidth: 4,
96
- trailingComma: 'all',
97
- useTabs: false,
98
98
  };
package/options/svg.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
- attributeGroups: ['^(id|name)$', '^x$', '^y$', '^xmlns$', '$DEFAULT'],
3
2
  parser: 'html',
4
3
  plugins: [require.resolve('prettier-plugin-organize-attributes')],
4
+ attributeGroups: ['^(id|name)$', '^x$', '^y$', '^xmlns$', '$DEFAULT'],
5
5
  printWidth: 120,
6
6
  singleAttributePerLine: false,
7
7
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/prettier-config",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Taiga-ui prettier config",
5
5
  "keywords": [
6
6
  "prettier",
@@ -19,7 +19,11 @@
19
19
  "sort-package-json": "2.6.0"
20
20
  },
21
21
  "peerDependencies": {
22
- "prettier": "*"
22
+ "@prettier/plugin-xml": "3.2.2",
23
+ "prettier": "*",
24
+ "prettier-package-json": "2.8.0",
25
+ "prettier-plugin-organize-attributes": "1.0.0",
26
+ "sort-package-json": "2.6.0"
23
27
  },
24
28
  "publishConfig": {
25
29
  "access": "public"