@yoo-digital/eslint-plugin-angular 2.0.3 → 2.0.4

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.
@@ -98,9 +98,11 @@ exports.requireBooleanAttributeTransformRule = {
98
98
  prop.value.type === 'Identifier' &&
99
99
  prop.value.name === 'booleanAttribute');
100
100
  // Both BooleanInput type and transform option are required
101
+ // Only skip if BOTH are present
101
102
  if (hasBooleanInput && hasTransformOption) {
102
103
  return; // Already correctly configured
103
104
  }
105
+ // If we reach here, at least one requirement is missing
104
106
  // Report the issue
105
107
  const propertyName = node.id.type === 'Identifier' ? node.id.name : 'unknown';
106
108
  context.report({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yoo-digital/eslint-plugin-angular",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "Yoo Digital custom Angular ESLint plugin for enforcing boolean attribute best practices.",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",