typescript-eslint 8.58.2-alpha.4 → 8.58.2-alpha.5
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/dist/config-helper.d.ts +4 -4
- package/dist/config-helper.js +2 -2
- package/package.json +5 -5
package/dist/config-helper.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface ConfigWithExtends extends TSESLint.FlatConfig.Config {
|
|
|
11
11
|
* export default tseslint.config({
|
|
12
12
|
* files: ['** /*.ts'],
|
|
13
13
|
* extends: [
|
|
14
|
-
*
|
|
14
|
+
* js.configs.recommended,
|
|
15
15
|
* tseslint.configs.recommended,
|
|
16
16
|
* ],
|
|
17
17
|
* rules: {
|
|
@@ -24,7 +24,7 @@ export interface ConfigWithExtends extends TSESLint.FlatConfig.Config {
|
|
|
24
24
|
*
|
|
25
25
|
* export default [
|
|
26
26
|
* {
|
|
27
|
-
* ...
|
|
27
|
+
* ...js.configs.recommended,
|
|
28
28
|
* files: ['** /*.ts'],
|
|
29
29
|
* },
|
|
30
30
|
* ...tseslint.configs.recommended.map(conf => ({
|
|
@@ -50,11 +50,11 @@ export type ConfigArray = TSESLint.FlatConfig.ConfigArray;
|
|
|
50
50
|
* ```js
|
|
51
51
|
* // @ts-check
|
|
52
52
|
*
|
|
53
|
-
* import
|
|
53
|
+
* import js from '@eslint/js';
|
|
54
54
|
* import tseslint from 'typescript-eslint';
|
|
55
55
|
*
|
|
56
56
|
* export default tseslint.config(
|
|
57
|
-
*
|
|
57
|
+
* js.configs.recommended,
|
|
58
58
|
* tseslint.configs.recommended,
|
|
59
59
|
* {
|
|
60
60
|
* rules: {
|
package/dist/config-helper.js
CHANGED
|
@@ -7,11 +7,11 @@ exports.config = config;
|
|
|
7
7
|
* ```js
|
|
8
8
|
* // @ts-check
|
|
9
9
|
*
|
|
10
|
-
* import
|
|
10
|
+
* import js from '@eslint/js';
|
|
11
11
|
* import tseslint from 'typescript-eslint';
|
|
12
12
|
*
|
|
13
13
|
* export default tseslint.config(
|
|
14
|
-
*
|
|
14
|
+
* js.configs.recommended,
|
|
15
15
|
* tseslint.configs.recommended,
|
|
16
16
|
* {
|
|
17
17
|
* rules: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typescript-eslint",
|
|
3
|
-
"version": "8.58.2-alpha.
|
|
3
|
+
"version": "8.58.2-alpha.5",
|
|
4
4
|
"description": "Tooling which enables you to use TypeScript with ESLint",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"eslint-plugin"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "8.58.2-alpha.
|
|
46
|
-
"@typescript-eslint/parser": "8.58.2-alpha.
|
|
47
|
-
"@typescript-eslint/
|
|
48
|
-
"@typescript-eslint/
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "8.58.2-alpha.5",
|
|
46
|
+
"@typescript-eslint/parser": "8.58.2-alpha.5",
|
|
47
|
+
"@typescript-eslint/utils": "8.58.2-alpha.5",
|
|
48
|
+
"@typescript-eslint/typescript-estree": "8.58.2-alpha.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|