@spscommerce/eslint-config-typescript 0.0.14 → 0.0.15

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/README.md CHANGED
@@ -1590,8 +1590,6 @@ foo.init();
1590
1590
 
1591
1591
  <img src="../prettier.svg" height="18" align="center"/> **Enforced by Prettier**
1592
1592
 
1593
- <img src="../eslint.svg" height="18" align="center"/> [`object-curly-newline`](https://eslint.org/docs/rules/object-curly-newline)
1594
-
1595
1593
  > Why? The curly braces follow the same indentation rules as every other curly brace block in the style guide, as do the trailing commas.
1596
1594
 
1597
1595
  ```typescript
@@ -1609,6 +1607,8 @@ import {
1609
1607
  } from 'path';
1610
1608
  ```
1611
1609
 
1610
+ Note: formerly we used [`object-curly-newline`](https://eslint.org/docs/rules/object-curly-newline) but have turned it off due to conflicts with how Prettier handles this.
1611
+
1612
1612
  ---
1613
1613
 
1614
1614
  <a name="modules--no-webpack-loader-syntax"></a>
@@ -361,14 +361,7 @@ exports.stylisticIssues = {
361
361
  * enforce line breaks between braces 🔧
362
362
  * https://eslint.org/docs/rules/object-curly-newline
363
363
  */
364
- "object-curly-newline": [
365
- "error",
366
- {
367
- minProperties: 4,
368
- multiline: true,
369
- consistent: true,
370
- },
371
- ],
364
+ "object-curly-newline": "off",
372
365
  /**
373
366
  * require padding inside curly braces 🔧
374
367
  * https://eslint.style/rules/ts/object-curly-spacing#ts-object-curly-spacing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spscommerce/eslint-config-typescript",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "SPS official linter configuration for TypeScript.",
5
5
  "main": "lib/index.js",
6
6
  "repository": {