Please see https://github.com/gabroberge/eslint-plugin-angular-immutability for full usage instructions and guidance.
Install with pnpm
pnpm add @gabroberge/eslint-plugin-angular-immutabilityInstall with yarn
yarn add @gabroberge/eslint-plugin-angular-immutabilityInstall with npm
npm install --save @gabroberge/eslint-plugin-angular-immutabilityKey
- ✅ = recommended
- 🔧 = fixable
- 💡 = has suggestions
| Rule | Description | ✅ | 🔧 | 💡 |
|---|---|---|---|---|
prefer-immutable-resource |
Use readonly resource types for immutability | ✅ | 🔧 | 💡 |
prefer-protected-outputs |
Enforce protected accessibility for @Output properties and OutputEmitterRef types |
✅ | 💡 |