@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 +13 -0
- package/index.js +16 -0
- package/js.js +2 -0
- package/package.json +1 -1
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