@taiga-ui/prettier-config 0.448.0 → 0.450.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/prettier-config",
3
- "version": "0.448.0",
3
+ "version": "0.450.0",
4
4
  "description": "Taiga-ui prettier config",
5
5
  "keywords": [
6
6
  "prettier",
@@ -206,6 +206,7 @@ if (originalEstreeJsonPrinter) {
206
206
  const node = /** @type {{type: string; elements: unknown[]}} */ path.node;
207
207
 
208
208
  if (
209
+ !/(?:^|\/)package\.json$/.test(options.filepath ?? '') &&
209
210
  node.type === 'ArrayExpression' &&
210
211
  node.elements.length >= 1 &&
211
212
  node.elements.length <= 2 &&