@taiga-ui/prettier-config 0.11.0 → 0.11.1

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 (3) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/index.js +12 -12
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,18 @@
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.11.1](https://github.com/taiga-family/linters/compare/@taiga-ui/prettier-config@0.11.0...@taiga-ui/prettier-config@0.11.1) (2024-04-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **prettier-config:** ignore warnings
11
+ ([934157c](https://github.com/taiga-family/linters/commit/934157c1e0c4c80da9a09a1c10ce9ed0a14ea8e4))
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
+
6
18
  # [0.11.0](https://github.com/taiga-family/linters/compare/@taiga-ui/prettier-config@0.10.0...@taiga-ui/prettier-config@0.11.0) (2024-04-09)
7
19
 
8
20
  ### Features
package/index.js CHANGED
@@ -21,7 +21,6 @@ module.exports = {
21
21
  require.resolve('prettier-plugin-multiline-arrays'),
22
22
  ],
23
23
  arrowParens: 'avoid',
24
- multilineArraysWrapThreshold: 1,
25
24
  bracketSpacing: false,
26
25
  endOfLine: 'lf',
27
26
  htmlWhitespaceSensitivity: 'ignore',
@@ -37,10 +36,11 @@ module.exports = {
37
36
  {
38
37
  files: [
39
38
  '*.json',
40
- '.prettierrc',
41
- '.stylelintrc',
42
39
  ],
43
- options: {parser: 'json'},
40
+ options: {
41
+ multilineArraysWrapThreshold: 1,
42
+ parser: 'json',
43
+ },
44
44
  },
45
45
  {
46
46
  files: [
@@ -57,6 +57,7 @@ module.exports = {
57
57
  'prettier-plugin-sort-package.js',
58
58
  ),
59
59
  ),
60
+ require.resolve('prettier-plugin-multiline-arrays'),
60
61
  ],
61
62
  },
62
63
  },
@@ -86,13 +87,6 @@ module.exports = {
86
87
  files: ['*.md'],
87
88
  options: {parser: 'markdown', tabWidth: 2},
88
89
  },
89
- {
90
- files: [
91
- '*.js',
92
- '*.ts',
93
- ],
94
- options: {parser: 'typescript', printWidth: 90},
95
- },
96
90
  {
97
91
  files: ['*.html'],
98
92
  options: {
@@ -102,9 +96,15 @@ module.exports = {
102
96
  },
103
97
  },
104
98
  {
105
- files: ['*.ts'],
99
+ files: [
100
+ '*.js',
101
+ '*.ts',
102
+ ],
106
103
  options: {
107
104
  ...attributeOptions,
105
+ parser: 'typescript',
106
+ printWidth: 90,
107
+ multilineArraysWrapThreshold: 1,
108
108
  },
109
109
  },
110
110
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/prettier-config",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Taiga-ui prettier config",
5
5
  "keywords": [
6
6
  "prettier",