eslint-config-angular-strict 22.6.2 → 22.6.3

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 (2) hide show
  1. package/index.js +6 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -350,7 +350,12 @@ export default [
350
350
  files: ['**/*.toml'],
351
351
  language: 'toml/toml',
352
352
  plugins: { toml: tomlPlugin, unicorn: unicornPlugin },
353
- rules: { ...presetRules(tomlPlugin.configs['flat/standard']), ...unicornPlugin.configs['recommended-toml'].rules },
353
+ rules: {
354
+ ...presetRules(tomlPlugin.configs['flat/standard']),
355
+ ...unicornPlugin.configs['recommended-toml'].rules,
356
+ 'toml/array-bracket-spacing': ['error', 'never'], // same as `@stylistic/array-bracket-spacing` on the TypeScript side
357
+ 'toml/array-element-newline': ['error', 'consistent'], // one element per line is not forced, only mixing both layouts is reported
358
+ },
354
359
  },
355
360
 
356
361
  // YAML files configuration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-angular-strict",
3
- "version": "22.6.2",
3
+ "version": "22.6.3",
4
4
  "description": "Modern ESLint configuration with strict rules for Angular development.",
5
5
  "keywords": [
6
6
  "angular",