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.
- package/index.js +6 -1
- 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: {
|
|
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
|