@frontify/eslint-config-basic 1.0.0 → 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,6 +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 in yaml/yml files
305
+ 'yml/no-empty-mapping-value': 'off', // Breaks comments on GitHub Actions
304
306
  },
305
307
  },
306
308
  {
@@ -430,4 +432,10 @@ export default tseslint.config(
430
432
  ],
431
433
  },
432
434
  eslintPluginPrettierRecommended,
435
+ {
436
+ files: ['**/*.ts', '**/*.tsx', '**/*.mts', '**/*.cts'],
437
+ rules: {
438
+ curly: ['error', 'all'], // Override Prettier feelings about curly braces.
439
+ },
440
+ },
433
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.0",
4
+ "version": "1.0.2",
5
5
  "author": "Frontify Developers <developers@frontify.com>",
6
6
  "license": "MIT",
7
7
  "repository": {