@tpluscode/eslint-config 1.0.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
10
+ ## 1.0.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 0e02d92: Ignore `n/no-unpublished-import` and `n/no-unpublished-require` in test sources
15
+
3
16
  ## 1.0.0
4
17
 
5
18
  ### Major 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/js.js CHANGED
@@ -118,6 +118,8 @@ export default [
118
118
  'no-unused-expressions': 'off',
119
119
  'func-names': 'off',
120
120
  'prefer-arrow-callback': 'off',
121
+ 'n/no-unpublished-import': 'off',
122
+ 'n/no-unpublished-require': 'off',
121
123
  },
122
124
  },
123
125
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tpluscode/eslint-config",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "scripts": {