@virmator/lint 13.3.11 → 13.3.13
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/lint.d.ts +36 -35
- package/dist/lint.js +38 -37
- package/package.json +7 -5
package/dist/lint.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RuntimeEnv } from '@augment-vir/common';
|
|
2
|
+
import { NpmDepType, PackageType } from '@virmator/core';
|
|
2
3
|
/** A virmator plugin for running ESLint. */
|
|
3
4
|
export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
4
5
|
name: string;
|
|
@@ -24,14 +25,14 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
24
25
|
readonly eslintTsconfig: {
|
|
25
26
|
readonly copyFromPath: string;
|
|
26
27
|
readonly copyToPath: string;
|
|
27
|
-
readonly env: [
|
|
28
|
+
readonly env: [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
28
29
|
readonly packageType: [PackageType.MonoRoot];
|
|
29
30
|
readonly required: true;
|
|
30
31
|
};
|
|
31
32
|
readonly eslint: {
|
|
32
33
|
readonly copyFromPath: string;
|
|
33
34
|
readonly copyToPath: string;
|
|
34
|
-
readonly env: [
|
|
35
|
+
readonly env: [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
35
36
|
readonly packageType: [PackageType.MonoRoot, PackageType.TopPackage];
|
|
36
37
|
readonly required: true;
|
|
37
38
|
readonly configFlags: ["-c", "--config"];
|
|
@@ -40,77 +41,77 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
40
41
|
readonly npmDeps: {
|
|
41
42
|
readonly eslint: {
|
|
42
43
|
readonly type: NpmDepType.Dev;
|
|
43
|
-
readonly env: readonly [
|
|
44
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
44
45
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
45
46
|
};
|
|
46
47
|
readonly 'eslint-plugin-require-extensions': {
|
|
47
48
|
readonly type: NpmDepType.Dev;
|
|
48
|
-
readonly env: readonly [
|
|
49
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
49
50
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
50
51
|
};
|
|
51
52
|
readonly 'eslint-plugin-unicorn': {
|
|
52
53
|
readonly type: NpmDepType.Dev;
|
|
53
|
-
readonly env: readonly [
|
|
54
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
54
55
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
55
56
|
};
|
|
56
57
|
readonly '@eslint/js': {
|
|
57
58
|
readonly type: NpmDepType.Dev;
|
|
58
|
-
readonly env: readonly [
|
|
59
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
59
60
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
60
61
|
};
|
|
61
62
|
readonly '@eslint/eslintrc': {
|
|
62
63
|
readonly type: NpmDepType.Dev;
|
|
63
|
-
readonly env: readonly [
|
|
64
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
64
65
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
65
66
|
};
|
|
66
67
|
readonly '@stylistic/eslint-plugin': {
|
|
67
68
|
readonly type: NpmDepType.Dev;
|
|
68
|
-
readonly env: readonly [
|
|
69
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
69
70
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
70
71
|
};
|
|
71
72
|
readonly 'eslint-plugin-monorepo-cop': {
|
|
72
73
|
readonly type: NpmDepType.Dev;
|
|
73
|
-
readonly env: readonly [
|
|
74
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
74
75
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
75
76
|
};
|
|
76
77
|
readonly '@stylistic/eslint-plugin-ts': {
|
|
77
78
|
readonly type: NpmDepType.Dev;
|
|
78
|
-
readonly env: readonly [
|
|
79
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
79
80
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
80
81
|
};
|
|
81
82
|
readonly '@typescript-eslint/eslint-plugin': {
|
|
82
83
|
readonly type: NpmDepType.Dev;
|
|
83
|
-
readonly env: readonly [
|
|
84
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
84
85
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
85
86
|
};
|
|
86
87
|
readonly 'eslint-config-prettier': {
|
|
87
88
|
readonly type: NpmDepType.Dev;
|
|
88
|
-
readonly env: readonly [
|
|
89
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
89
90
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
90
91
|
};
|
|
91
92
|
readonly 'eslint-plugin-jsdoc': {
|
|
92
93
|
readonly type: NpmDepType.Dev;
|
|
93
|
-
readonly env: readonly [
|
|
94
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
94
95
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
95
96
|
};
|
|
96
97
|
readonly 'eslint-plugin-playwright': {
|
|
97
98
|
readonly type: NpmDepType.Dev;
|
|
98
|
-
readonly env: readonly [
|
|
99
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
99
100
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
100
101
|
};
|
|
101
102
|
readonly 'eslint-plugin-prettier': {
|
|
102
103
|
readonly type: NpmDepType.Dev;
|
|
103
|
-
readonly env: readonly [
|
|
104
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
104
105
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
105
106
|
};
|
|
106
107
|
readonly 'eslint-plugin-sonarjs': {
|
|
107
108
|
readonly type: NpmDepType.Dev;
|
|
108
|
-
readonly env: readonly [
|
|
109
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
109
110
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
110
111
|
};
|
|
111
112
|
readonly 'typescript-eslint': {
|
|
112
113
|
readonly type: NpmDepType.Dev;
|
|
113
|
-
readonly env: readonly [
|
|
114
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
114
115
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
115
116
|
};
|
|
116
117
|
};
|
|
@@ -140,14 +141,14 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
140
141
|
readonly eslintTsconfig: {
|
|
141
142
|
readonly copyFromPath: string;
|
|
142
143
|
readonly copyToPath: string;
|
|
143
|
-
readonly env: [
|
|
144
|
+
readonly env: [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
144
145
|
readonly packageType: [PackageType.MonoRoot];
|
|
145
146
|
readonly required: true;
|
|
146
147
|
};
|
|
147
148
|
readonly eslint: {
|
|
148
149
|
readonly copyFromPath: string;
|
|
149
150
|
readonly copyToPath: string;
|
|
150
|
-
readonly env: [
|
|
151
|
+
readonly env: [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
151
152
|
readonly packageType: [PackageType.MonoRoot, PackageType.TopPackage];
|
|
152
153
|
readonly required: true;
|
|
153
154
|
readonly configFlags: ["-c", "--config"];
|
|
@@ -156,77 +157,77 @@ export declare const virmatorLintPlugin: Readonly<Readonly<{
|
|
|
156
157
|
readonly npmDeps: {
|
|
157
158
|
readonly eslint: {
|
|
158
159
|
readonly type: NpmDepType.Dev;
|
|
159
|
-
readonly env: readonly [
|
|
160
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
160
161
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
161
162
|
};
|
|
162
163
|
readonly 'eslint-plugin-require-extensions': {
|
|
163
164
|
readonly type: NpmDepType.Dev;
|
|
164
|
-
readonly env: readonly [
|
|
165
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
165
166
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
166
167
|
};
|
|
167
168
|
readonly 'eslint-plugin-unicorn': {
|
|
168
169
|
readonly type: NpmDepType.Dev;
|
|
169
|
-
readonly env: readonly [
|
|
170
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
170
171
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
171
172
|
};
|
|
172
173
|
readonly '@eslint/js': {
|
|
173
174
|
readonly type: NpmDepType.Dev;
|
|
174
|
-
readonly env: readonly [
|
|
175
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
175
176
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
176
177
|
};
|
|
177
178
|
readonly '@eslint/eslintrc': {
|
|
178
179
|
readonly type: NpmDepType.Dev;
|
|
179
|
-
readonly env: readonly [
|
|
180
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
180
181
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
181
182
|
};
|
|
182
183
|
readonly '@stylistic/eslint-plugin': {
|
|
183
184
|
readonly type: NpmDepType.Dev;
|
|
184
|
-
readonly env: readonly [
|
|
185
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
185
186
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
186
187
|
};
|
|
187
188
|
readonly 'eslint-plugin-monorepo-cop': {
|
|
188
189
|
readonly type: NpmDepType.Dev;
|
|
189
|
-
readonly env: readonly [
|
|
190
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
190
191
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
191
192
|
};
|
|
192
193
|
readonly '@stylistic/eslint-plugin-ts': {
|
|
193
194
|
readonly type: NpmDepType.Dev;
|
|
194
|
-
readonly env: readonly [
|
|
195
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
195
196
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
196
197
|
};
|
|
197
198
|
readonly '@typescript-eslint/eslint-plugin': {
|
|
198
199
|
readonly type: NpmDepType.Dev;
|
|
199
|
-
readonly env: readonly [
|
|
200
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
200
201
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
201
202
|
};
|
|
202
203
|
readonly 'eslint-config-prettier': {
|
|
203
204
|
readonly type: NpmDepType.Dev;
|
|
204
|
-
readonly env: readonly [
|
|
205
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
205
206
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
206
207
|
};
|
|
207
208
|
readonly 'eslint-plugin-jsdoc': {
|
|
208
209
|
readonly type: NpmDepType.Dev;
|
|
209
|
-
readonly env: readonly [
|
|
210
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
210
211
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
211
212
|
};
|
|
212
213
|
readonly 'eslint-plugin-playwright': {
|
|
213
214
|
readonly type: NpmDepType.Dev;
|
|
214
|
-
readonly env: readonly [
|
|
215
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
215
216
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
216
217
|
};
|
|
217
218
|
readonly 'eslint-plugin-prettier': {
|
|
218
219
|
readonly type: NpmDepType.Dev;
|
|
219
|
-
readonly env: readonly [
|
|
220
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
220
221
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
221
222
|
};
|
|
222
223
|
readonly 'eslint-plugin-sonarjs': {
|
|
223
224
|
readonly type: NpmDepType.Dev;
|
|
224
|
-
readonly env: readonly [
|
|
225
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
225
226
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
226
227
|
};
|
|
227
228
|
readonly 'typescript-eslint': {
|
|
228
229
|
readonly type: NpmDepType.Dev;
|
|
229
|
-
readonly env: readonly [
|
|
230
|
+
readonly env: readonly [RuntimeEnv.Node, RuntimeEnv.Web];
|
|
230
231
|
readonly packageType: readonly [PackageType.TopPackage, PackageType.MonoRoot];
|
|
231
232
|
};
|
|
232
233
|
};
|
package/dist/lint.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { check } from '@augment-vir/assert';
|
|
2
|
+
import { RuntimeEnv } from '@augment-vir/common';
|
|
3
|
+
import { defineVirmatorPlugin, NpmDepType, PackageType } from '@virmator/core';
|
|
3
4
|
import mri from 'mri';
|
|
4
5
|
import { join } from 'node:path';
|
|
5
6
|
/** A virmator plugin for running ESLint. */
|
|
@@ -40,8 +41,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
40
41
|
copyFromPath: join('configs', 'tsconfig.eslint.json'),
|
|
41
42
|
copyToPath: join('configs', 'tsconfig.eslint.json'),
|
|
42
43
|
env: [
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
RuntimeEnv.Node,
|
|
45
|
+
RuntimeEnv.Web,
|
|
45
46
|
],
|
|
46
47
|
packageType: [
|
|
47
48
|
PackageType.MonoRoot,
|
|
@@ -52,8 +53,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
52
53
|
copyFromPath: join('configs', 'eslint.config.share.mjs'),
|
|
53
54
|
copyToPath: join('eslint.config.mjs'),
|
|
54
55
|
env: [
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
RuntimeEnv.Node,
|
|
57
|
+
RuntimeEnv.Web,
|
|
57
58
|
],
|
|
58
59
|
packageType: [
|
|
59
60
|
PackageType.MonoRoot,
|
|
@@ -70,8 +71,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
70
71
|
eslint: {
|
|
71
72
|
type: NpmDepType.Dev,
|
|
72
73
|
env: [
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
RuntimeEnv.Node,
|
|
75
|
+
RuntimeEnv.Web,
|
|
75
76
|
],
|
|
76
77
|
packageType: [
|
|
77
78
|
PackageType.TopPackage,
|
|
@@ -81,8 +82,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
81
82
|
'eslint-plugin-require-extensions': {
|
|
82
83
|
type: NpmDepType.Dev,
|
|
83
84
|
env: [
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
RuntimeEnv.Node,
|
|
86
|
+
RuntimeEnv.Web,
|
|
86
87
|
],
|
|
87
88
|
packageType: [
|
|
88
89
|
PackageType.TopPackage,
|
|
@@ -92,8 +93,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
92
93
|
'eslint-plugin-unicorn': {
|
|
93
94
|
type: NpmDepType.Dev,
|
|
94
95
|
env: [
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
RuntimeEnv.Node,
|
|
97
|
+
RuntimeEnv.Web,
|
|
97
98
|
],
|
|
98
99
|
packageType: [
|
|
99
100
|
PackageType.TopPackage,
|
|
@@ -103,8 +104,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
103
104
|
'@eslint/js': {
|
|
104
105
|
type: NpmDepType.Dev,
|
|
105
106
|
env: [
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
RuntimeEnv.Node,
|
|
108
|
+
RuntimeEnv.Web,
|
|
108
109
|
],
|
|
109
110
|
packageType: [
|
|
110
111
|
PackageType.TopPackage,
|
|
@@ -114,8 +115,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
114
115
|
'@eslint/eslintrc': {
|
|
115
116
|
type: NpmDepType.Dev,
|
|
116
117
|
env: [
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
RuntimeEnv.Node,
|
|
119
|
+
RuntimeEnv.Web,
|
|
119
120
|
],
|
|
120
121
|
packageType: [
|
|
121
122
|
PackageType.TopPackage,
|
|
@@ -125,8 +126,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
125
126
|
'@stylistic/eslint-plugin': {
|
|
126
127
|
type: NpmDepType.Dev,
|
|
127
128
|
env: [
|
|
128
|
-
|
|
129
|
-
|
|
129
|
+
RuntimeEnv.Node,
|
|
130
|
+
RuntimeEnv.Web,
|
|
130
131
|
],
|
|
131
132
|
packageType: [
|
|
132
133
|
PackageType.TopPackage,
|
|
@@ -136,8 +137,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
136
137
|
'eslint-plugin-monorepo-cop': {
|
|
137
138
|
type: NpmDepType.Dev,
|
|
138
139
|
env: [
|
|
139
|
-
|
|
140
|
-
|
|
140
|
+
RuntimeEnv.Node,
|
|
141
|
+
RuntimeEnv.Web,
|
|
141
142
|
],
|
|
142
143
|
packageType: [
|
|
143
144
|
PackageType.TopPackage,
|
|
@@ -147,8 +148,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
147
148
|
'@stylistic/eslint-plugin-ts': {
|
|
148
149
|
type: NpmDepType.Dev,
|
|
149
150
|
env: [
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
RuntimeEnv.Node,
|
|
152
|
+
RuntimeEnv.Web,
|
|
152
153
|
],
|
|
153
154
|
packageType: [
|
|
154
155
|
PackageType.TopPackage,
|
|
@@ -158,8 +159,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
158
159
|
'@typescript-eslint/eslint-plugin': {
|
|
159
160
|
type: NpmDepType.Dev,
|
|
160
161
|
env: [
|
|
161
|
-
|
|
162
|
-
|
|
162
|
+
RuntimeEnv.Node,
|
|
163
|
+
RuntimeEnv.Web,
|
|
163
164
|
],
|
|
164
165
|
packageType: [
|
|
165
166
|
PackageType.TopPackage,
|
|
@@ -169,8 +170,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
169
170
|
'eslint-config-prettier': {
|
|
170
171
|
type: NpmDepType.Dev,
|
|
171
172
|
env: [
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
RuntimeEnv.Node,
|
|
174
|
+
RuntimeEnv.Web,
|
|
174
175
|
],
|
|
175
176
|
packageType: [
|
|
176
177
|
PackageType.TopPackage,
|
|
@@ -180,8 +181,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
180
181
|
'eslint-plugin-jsdoc': {
|
|
181
182
|
type: NpmDepType.Dev,
|
|
182
183
|
env: [
|
|
183
|
-
|
|
184
|
-
|
|
184
|
+
RuntimeEnv.Node,
|
|
185
|
+
RuntimeEnv.Web,
|
|
185
186
|
],
|
|
186
187
|
packageType: [
|
|
187
188
|
PackageType.TopPackage,
|
|
@@ -191,8 +192,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
191
192
|
'eslint-plugin-playwright': {
|
|
192
193
|
type: NpmDepType.Dev,
|
|
193
194
|
env: [
|
|
194
|
-
|
|
195
|
-
|
|
195
|
+
RuntimeEnv.Node,
|
|
196
|
+
RuntimeEnv.Web,
|
|
196
197
|
],
|
|
197
198
|
packageType: [
|
|
198
199
|
PackageType.TopPackage,
|
|
@@ -202,8 +203,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
202
203
|
'eslint-plugin-prettier': {
|
|
203
204
|
type: NpmDepType.Dev,
|
|
204
205
|
env: [
|
|
205
|
-
|
|
206
|
-
|
|
206
|
+
RuntimeEnv.Node,
|
|
207
|
+
RuntimeEnv.Web,
|
|
207
208
|
],
|
|
208
209
|
packageType: [
|
|
209
210
|
PackageType.TopPackage,
|
|
@@ -213,8 +214,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
213
214
|
'eslint-plugin-sonarjs': {
|
|
214
215
|
type: NpmDepType.Dev,
|
|
215
216
|
env: [
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
RuntimeEnv.Node,
|
|
218
|
+
RuntimeEnv.Web,
|
|
218
219
|
],
|
|
219
220
|
packageType: [
|
|
220
221
|
PackageType.TopPackage,
|
|
@@ -224,8 +225,8 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
224
225
|
'typescript-eslint': {
|
|
225
226
|
type: NpmDepType.Dev,
|
|
226
227
|
env: [
|
|
227
|
-
|
|
228
|
-
|
|
228
|
+
RuntimeEnv.Node,
|
|
229
|
+
RuntimeEnv.Web,
|
|
229
230
|
],
|
|
230
231
|
packageType: [
|
|
231
232
|
PackageType.TopPackage,
|
|
@@ -245,7 +246,7 @@ export const virmatorLintPlugin = defineVirmatorPlugin(import.meta.dirname, {
|
|
|
245
246
|
dirPath,
|
|
246
247
|
...filteredArgs,
|
|
247
248
|
]
|
|
248
|
-
.filter(isTruthy)
|
|
249
|
+
.filter(check.isTruthy)
|
|
249
250
|
.join(' ');
|
|
250
251
|
await runShellCommand(eslintCommand, { cwd: monoRepoRootPath });
|
|
251
252
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@virmator/lint",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.13",
|
|
4
4
|
"description": "Default ESLint linting plugin for virmator.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"virmator",
|
|
@@ -31,21 +31,23 @@
|
|
|
31
31
|
"test:update": "npm test update"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@augment-vir/
|
|
35
|
-
"@
|
|
34
|
+
"@augment-vir/assert": "^30.0.4",
|
|
35
|
+
"@augment-vir/common": "^30.0.4",
|
|
36
|
+
"@virmator/core": "^13.3.13",
|
|
36
37
|
"mri": "^1.2.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
40
|
+
"@augment-vir/test": "^30.0.4",
|
|
39
41
|
"@eslint/eslintrc": "^3.1.0",
|
|
40
42
|
"@eslint/js": "^9.10.0",
|
|
41
43
|
"@stylistic/eslint-plugin": "^2.8.0",
|
|
42
44
|
"@stylistic/eslint-plugin-ts": "^2.8.0",
|
|
43
|
-
"@types/node": "^22.5.
|
|
45
|
+
"@types/node": "^22.5.5",
|
|
44
46
|
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
45
47
|
"c8": "^10.1.2",
|
|
46
48
|
"eslint": "^9.10.0",
|
|
47
49
|
"eslint-config-prettier": "^9.1.0",
|
|
48
|
-
"eslint-plugin-jsdoc": "^50.2.
|
|
50
|
+
"eslint-plugin-jsdoc": "^50.2.3",
|
|
49
51
|
"eslint-plugin-monorepo-cop": "^1.0.2",
|
|
50
52
|
"eslint-plugin-playwright": "^1.6.2",
|
|
51
53
|
"eslint-plugin-prettier": "^5.2.1",
|