@frontify/eslint-config-basic 1.0.1 → 1.0.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.
package/eslint.config.mjs CHANGED
@@ -301,7 +301,8 @@ export default tseslint.config(
301
301
  'yml/quotes': ['error', { prefer: 'single', avoidEscape: false }],
302
302
  'yml/no-empty-document': 'off',
303
303
  'yml/indent': ['error', 4, { indicatorValueIndent: 2 }],
304
- '@stylistic/spaced-comment': 'off', // False positive
304
+ '@stylistic/spaced-comment': 'off', // False positive in yaml/yml files
305
+ 'yml/no-empty-mapping-value': 'off', // Breaks comments on GitHub Actions
305
306
  },
306
307
  },
307
308
  {
@@ -431,4 +432,10 @@ export default tseslint.config(
431
432
  ],
432
433
  },
433
434
  eslintPluginPrettierRecommended,
435
+ {
436
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
437
+ rules: {
438
+ curly: ['error', 'all'], // Override Prettier feelings about curly braces.
439
+ },
440
+ },
434
441
  );
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@frontify/eslint-config-basic",
3
3
  "type": "module",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "author": "Frontify Developers <developers@frontify.com>",
6
6
  "license": "MIT",
7
7
  "repository": {