@tpluscode/eslint-config 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/index.js +16 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 16f885a: TypeScript: allow single base interface with rule `@typescript-eslint/no-empty-object-type`
8
+ - 16f885a: TypeScript: disable `@typescript-eslint/no-unused-expressions` in test files
9
+
3
10
  ## 1.0.1
4
11
 
5
12
  ### Patch Changes
package/index.js CHANGED
@@ -43,6 +43,22 @@ export default [
43
43
  'no-useless-constructor': 'off',
44
44
  '@typescript-eslint/no-useless-constructor': 'error',
45
45
  'no-undef': 'off',
46
+ '@typescript-eslint/no-empty-object-type': ['error', {
47
+ allowInterfaces: 'with-single-extends',
48
+ }],
49
+ },
50
+ },
51
+ {
52
+ files: [
53
+ '**/*.test.js',
54
+ '**/*.spec.js',
55
+ '**/*.test.mjs',
56
+ '**/*.spec.mjs',
57
+ '**/*.test.ts',
58
+ '**/*.spec.ts',
59
+ ],
60
+ rules: {
61
+ '@typescript-eslint/no-unused-expressions': 'off',
46
62
  },
47
63
  },
48
64
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpluscode/eslint-config",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "scripts": {