@tpluscode/eslint-config 1.0.1 → 1.1.0
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/.changeset/config.json +1 -1
- package/CHANGELOG.md +16 -0
- package/index.js +16 -0
- package/js.js +6 -0
- package/package.json +6 -2
package/.changeset/config.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
### Minor Changes
|
|
5
|
+
|
|
6
|
+
- 36b6982: Ignore `import/no-extraneous-dependencies` in eslint config files
|
|
7
|
+
|
|
8
|
+
### Patch Changes
|
|
9
|
+
|
|
10
|
+
- a9621ad: Added proper exports to `package.json`
|
|
11
|
+
|
|
12
|
+
## 1.0.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 16f885a: TypeScript: allow single base interface with rule `@typescript-eslint/no-empty-object-type`
|
|
17
|
+
- 16f885a: TypeScript: disable `@typescript-eslint/no-unused-expressions` in test files
|
|
18
|
+
|
|
3
19
|
## 1.0.1
|
|
4
20
|
|
|
5
21
|
### 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/js.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tpluscode/eslint-config",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"test": "eslint .",
|
|
9
9
|
"release": "changeset publish"
|
|
10
10
|
},
|
|
11
|
+
"exports": {
|
|
12
|
+
"./js": "./js.js",
|
|
13
|
+
".": "./index.js"
|
|
14
|
+
},
|
|
11
15
|
"engines": {
|
|
12
16
|
"node": ">=18.18"
|
|
13
17
|
},
|
|
@@ -31,7 +35,7 @@
|
|
|
31
35
|
"eslint-import-resolver-typescript": "^3.0.0"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
|
-
"@changesets/cli": "^
|
|
38
|
+
"@changesets/cli": "^3.0.0-next.5",
|
|
35
39
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
36
40
|
"@typescript-eslint/parser": "^8.0.0",
|
|
37
41
|
"eslint": "^9",
|