Skip to content

Commit ee63e88

Browse files
authored
fix(eslint): added rules for signal input, output and view child (#978)
## Purpose Define strict rules for using signals to simplify PR reviews and ensure consistency with the codebase. ## Summary of Changes 1. Added eslint rules signals
1 parent bc570a6 commit ee63e88

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

eslint.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ module.exports = defineConfig(
4141
style: 'kebab-case',
4242
},
4343
],
44+
'@angular-eslint/prefer-signals': [
45+
'error',
46+
{
47+
preferQuerySignals: true,
48+
preferReadonlySignalProperties: false,
49+
},
50+
],
51+
'@angular-eslint/prefer-output-emitter-ref': 'error',
4452
'no-duplicate-imports': 'error',
4553
'simple-import-sort/imports': [
4654
'error',

0 commit comments

Comments
 (0)