@automattic/eslint-plugin-wpvip 0.5.2 → 0.5.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.
@@ -45,6 +45,15 @@ module.exports = {
45
45
 
46
46
  // Handled by TS itself.
47
47
  'no-unused-vars': 'off',
48
+
49
+ // Empty classes are allowed if they are accompanied by a decorator.
50
+ // This is common in frameworks such as Angular / nest.js.
51
+ '@typescript-eslint/no-extraneous-class': [
52
+ 'warn',
53
+ {
54
+ allowWithDecorator: true,
55
+ },
56
+ ],
48
57
  },
49
58
  },
50
59
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/eslint-plugin-wpvip",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "ESLint plugin for internal WordPress VIP projects",
5
5
  "main": "index.js",
6
6
  "scripts": {