eslint-config-angular-strict 22.1.8 → 22.1.10
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/file-conventions.js +2 -2
- package/package.json +1 -1
package/file-conventions.js
CHANGED
|
@@ -61,8 +61,8 @@ const helpersFileRestrictions = [
|
|
|
61
61
|
message: 'Only imports and the class allowed in *.helpers.ts — use static properties for constants and static methods for logic',
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
selector: 'PropertyDefinition >
|
|
65
|
-
message: '
|
|
64
|
+
selector: 'PropertyDefinition > FunctionExpression',
|
|
65
|
+
message: 'Use a static method or an arrow property in *.helpers.ts, not a function expression',
|
|
66
66
|
},
|
|
67
67
|
];
|
|
68
68
|
|