@nrwl/linter 16.0.0-beta.0 → 16.0.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/executors.json +5 -5
- package/generators.json +2 -28
- package/index.d.ts +1 -5
- package/index.js +1 -13
- package/index.js.map +1 -1
- package/package.json +7 -20
- package/README.md +0 -61
- package/migrations.json +0 -226
- package/src/executors/eslint/compat.d.ts +0 -2
- package/src/executors/eslint/compat.js +0 -6
- package/src/executors/eslint/compat.js.map +0 -1
- package/src/executors/eslint/hasher.d.ts +0 -7
- package/src/executors/eslint/hasher.js +0 -47
- package/src/executors/eslint/hasher.js.map +0 -1
- package/src/executors/eslint/lint.impl.d.ts +0 -5
- package/src/executors/eslint/lint.impl.js +0 -116
- package/src/executors/eslint/lint.impl.js.map +0 -1
- package/src/executors/eslint/schema.d.ts +0 -38
- package/src/executors/eslint/schema.json +0 -139
- package/src/executors/eslint/utility/eslint-utils.d.ts +0 -4
- package/src/executors/eslint/utility/eslint-utils.js +0 -52
- package/src/executors/eslint/utility/eslint-utils.js.map +0 -1
- package/src/generators/init/global-eslint-config.d.ts +0 -36
- package/src/generators/init/global-eslint-config.js +0 -77
- package/src/generators/init/global-eslint-config.js.map +0 -1
- package/src/generators/init/init-migration.d.ts +0 -3
- package/src/generators/init/init-migration.js +0 -68
- package/src/generators/init/init-migration.js.map +0 -1
- package/src/generators/init/init.d.ts +0 -9
- package/src/generators/init/init.js +0 -63
- package/src/generators/init/init.js.map +0 -1
- package/src/generators/lint-project/lint-project.d.ts +0 -16
- package/src/generators/lint-project/lint-project.js +0 -137
- package/src/generators/lint-project/lint-project.js.map +0 -1
- package/src/generators/utils/eslint-file.d.ts +0 -4
- package/src/generators/utils/eslint-file.js +0 -27
- package/src/generators/utils/eslint-file.js.map +0 -1
- package/src/generators/utils/eslint-targets.d.ts +0 -2
- package/src/generators/utils/eslint-targets.js +0 -13
- package/src/generators/utils/eslint-targets.js.map +0 -1
- package/src/generators/utils/linter.d.ts +0 -4
- package/src/generators/utils/linter.js +0 -9
- package/src/generators/utils/linter.js.map +0 -1
- package/src/generators/workspace-rule/files/__name__.spec.ts__tmpl__ +0 -11
- package/src/generators/workspace-rule/files/__name__.ts__tmpl__ +0 -37
- package/src/generators/workspace-rule/schema.json +0 -26
- package/src/generators/workspace-rule/workspace-rule.d.ts +0 -7
- package/src/generators/workspace-rule/workspace-rule.js +0 -79
- package/src/generators/workspace-rule/workspace-rule.js.map +0 -1
- package/src/generators/workspace-rules-project/files/index.ts__tmpl__ +0 -27
- package/src/generators/workspace-rules-project/files/tsconfig.json__tmpl__ +0 -13
- package/src/generators/workspace-rules-project/files/tsconfig.lint.json__tmpl__ +0 -9
- package/src/generators/workspace-rules-project/schema.json +0 -23
- package/src/generators/workspace-rules-project/workspace-rules-project.d.ts +0 -8
- package/src/generators/workspace-rules-project/workspace-rules-project.js +0 -86
- package/src/generators/workspace-rules-project/workspace-rules-project.js.map +0 -1
- package/src/migrations/update-12-4-0/remove-eslint-project-config-if-no-type-checking-rules.d.ts +0 -2
- package/src/migrations/update-12-4-0/remove-eslint-project-config-if-no-type-checking-rules.js +0 -32
- package/src/migrations/update-12-4-0/remove-eslint-project-config-if-no-type-checking-rules.js.map +0 -1
- package/src/migrations/update-12-9-0/add-outputs.d.ts +0 -2
- package/src/migrations/update-12-9-0/add-outputs.js +0 -23
- package/src/migrations/update-12-9-0/add-outputs.js.map +0 -1
- package/src/migrations/update-13-3-0/eslint-8-updates.d.ts +0 -2
- package/src/migrations/update-13-3-0/eslint-8-updates.js +0 -44
- package/src/migrations/update-13-3-0/eslint-8-updates.js.map +0 -1
- package/src/migrations/update-14-1-9/add-swc-deps-if-needed.d.ts +0 -2
- package/src/migrations/update-14-1-9/add-swc-deps-if-needed.js +0 -20
- package/src/migrations/update-14-1-9/add-swc-deps-if-needed.js.map +0 -1
- package/src/migrations/update-14-4-4/experimental-to-utils-deps.d.ts +0 -2
- package/src/migrations/update-14-4-4/experimental-to-utils-deps.js +0 -30
- package/src/migrations/update-14-4-4/experimental-to-utils-deps.js.map +0 -1
- package/src/migrations/update-14-4-4/experimental-to-utils-rules.d.ts +0 -2
- package/src/migrations/update-14-4-4/experimental-to-utils-rules.js +0 -38
- package/src/migrations/update-14-4-4/experimental-to-utils-rules.js.map +0 -1
- package/src/migrations/update-15-0-0/add-eslint-inputs.d.ts +0 -2
- package/src/migrations/update-15-0-0/add-eslint-inputs.js +0 -33
- package/src/migrations/update-15-0-0/add-eslint-inputs.js.map +0 -1
- package/src/migrations/update-15-7-1/add-eslint-ignore.d.ts +0 -2
- package/src/migrations/update-15-7-1/add-eslint-ignore.js +0 -42
- package/src/migrations/update-15-7-1/add-eslint-ignore.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/convert-nx-enforce-module-boundaries-rule.d.ts +0 -5
- package/src/utils/convert-tslint-to-eslint/convert-nx-enforce-module-boundaries-rule.js +0 -57
- package/src/utils/convert-tslint-to-eslint/convert-nx-enforce-module-boundaries-rule.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/convert-to-eslint-config.d.ts +0 -9
- package/src/utils/convert-tslint-to-eslint/convert-to-eslint-config.js +0 -152
- package/src/utils/convert-tslint-to-eslint/convert-to-eslint-config.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/example-tslint-configs.d.ts +0 -326
- package/src/utils/convert-tslint-to-eslint/example-tslint-configs.js +0 -325
- package/src/utils/convert-tslint-to-eslint/example-tslint-configs.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/index.d.ts +0 -2
- package/src/utils/convert-tslint-to-eslint/index.js +0 -9
- package/src/utils/convert-tslint-to-eslint/index.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/project-converter.d.ts +0 -72
- package/src/utils/convert-tslint-to-eslint/project-converter.js +0 -396
- package/src/utils/convert-tslint-to-eslint/project-converter.js.map +0 -1
- package/src/utils/convert-tslint-to-eslint/utils.d.ts +0 -10
- package/src/utils/convert-tslint-to-eslint/utils.js +0 -91
- package/src/utils/convert-tslint-to-eslint/utils.js.map +0 -1
- package/src/utils/rules-requiring-type-checking.d.ts +0 -3
- package/src/utils/rules-requiring-type-checking.js +0 -88
- package/src/utils/rules-requiring-type-checking.js.map +0 -1
- package/src/utils/testing.d.ts +0 -2
- package/src/utils/testing.js +0 -13
- package/src/utils/testing.js.map +0 -1
- package/src/utils/versions.d.ts +0 -5
- package/src/utils/versions.js +0 -9
- package/src/utils/versions.js.map +0 -1
- package/src/utils/workspace-lint-rules.d.ts +0 -1
- package/src/utils/workspace-lint-rules.js +0 -6
- package/src/utils/workspace-lint-rules.js.map +0 -1
@@ -1,326 +0,0 @@
|
|
1
|
-
export declare const exampleRootTslintJson: {
|
2
|
-
raw: {
|
3
|
-
rulesDirectory: string[];
|
4
|
-
linterOptions: {
|
5
|
-
exclude: string[];
|
6
|
-
};
|
7
|
-
rules: {
|
8
|
-
'arrow-return-shorthand': boolean;
|
9
|
-
'callable-types': boolean;
|
10
|
-
'class-name': boolean;
|
11
|
-
deprecation: {
|
12
|
-
severity: string;
|
13
|
-
};
|
14
|
-
forin: boolean;
|
15
|
-
'import-blacklist': (string | boolean)[];
|
16
|
-
'interface-over-type-literal': boolean;
|
17
|
-
'member-access': boolean;
|
18
|
-
'member-ordering': (boolean | {
|
19
|
-
order: string[];
|
20
|
-
})[];
|
21
|
-
'no-arg': boolean;
|
22
|
-
'no-bitwise': boolean;
|
23
|
-
'no-console': (string | boolean)[];
|
24
|
-
'no-construct': boolean;
|
25
|
-
'no-debugger': boolean;
|
26
|
-
'no-duplicate-super': boolean;
|
27
|
-
'no-empty': boolean;
|
28
|
-
'no-empty-interface': boolean;
|
29
|
-
'no-eval': boolean;
|
30
|
-
'no-inferrable-types': (string | boolean)[];
|
31
|
-
'no-misused-new': boolean;
|
32
|
-
'no-non-null-assertion': boolean;
|
33
|
-
'no-shadowed-variable': boolean;
|
34
|
-
'no-string-literal': boolean;
|
35
|
-
'no-string-throw': boolean;
|
36
|
-
'no-switch-case-fall-through': boolean;
|
37
|
-
'no-unnecessary-initializer': boolean;
|
38
|
-
'no-unused-expression': boolean;
|
39
|
-
'no-var-keyword': boolean;
|
40
|
-
'object-literal-sort-keys': boolean;
|
41
|
-
'prefer-const': boolean;
|
42
|
-
radix: boolean;
|
43
|
-
'triple-equals': (string | boolean)[];
|
44
|
-
'unified-signatures': boolean;
|
45
|
-
'variable-name': boolean;
|
46
|
-
'nx-enforce-module-boundaries': (boolean | {
|
47
|
-
allow: string[];
|
48
|
-
depConstraints: {
|
49
|
-
sourceTag: string;
|
50
|
-
onlyDependOnLibsWithTags: string[];
|
51
|
-
}[];
|
52
|
-
enforceBuildableLibDependency: boolean;
|
53
|
-
})[];
|
54
|
-
'directive-selector': (string | boolean)[];
|
55
|
-
'component-selector': (string | boolean)[];
|
56
|
-
'no-conflicting-lifecycle': boolean;
|
57
|
-
'no-host-metadata-property': boolean;
|
58
|
-
'no-input-rename': boolean;
|
59
|
-
'no-inputs-metadata-property': boolean;
|
60
|
-
'no-output-native': boolean;
|
61
|
-
'no-output-on-prefix': boolean;
|
62
|
-
'no-output-rename': boolean;
|
63
|
-
'no-outputs-metadata-property': boolean;
|
64
|
-
'template-banana-in-box': boolean;
|
65
|
-
'template-no-negated-async': boolean;
|
66
|
-
'use-lifecycle-interface': boolean;
|
67
|
-
'use-pipe-transform-interface': boolean;
|
68
|
-
};
|
69
|
-
};
|
70
|
-
tslintPrintConfigResult: {
|
71
|
-
rules: {
|
72
|
-
'arrow-return-shorthand': {
|
73
|
-
ruleArguments: any[];
|
74
|
-
ruleSeverity: string;
|
75
|
-
};
|
76
|
-
'callable-types': {
|
77
|
-
ruleArguments: any[];
|
78
|
-
ruleSeverity: string;
|
79
|
-
};
|
80
|
-
'class-name': {
|
81
|
-
ruleArguments: any[];
|
82
|
-
ruleSeverity: string;
|
83
|
-
};
|
84
|
-
deprecation: {
|
85
|
-
ruleSeverity: string;
|
86
|
-
};
|
87
|
-
forin: {
|
88
|
-
ruleArguments: any[];
|
89
|
-
ruleSeverity: string;
|
90
|
-
};
|
91
|
-
'import-blacklist': {
|
92
|
-
ruleArguments: string[];
|
93
|
-
ruleSeverity: string;
|
94
|
-
};
|
95
|
-
'interface-over-type-literal': {
|
96
|
-
ruleArguments: any[];
|
97
|
-
ruleSeverity: string;
|
98
|
-
};
|
99
|
-
'member-access': {
|
100
|
-
ruleArguments: any[];
|
101
|
-
ruleSeverity: string;
|
102
|
-
};
|
103
|
-
'member-ordering': {
|
104
|
-
ruleArguments: {
|
105
|
-
order: string[];
|
106
|
-
}[];
|
107
|
-
ruleSeverity: string;
|
108
|
-
};
|
109
|
-
'no-arg': {
|
110
|
-
ruleArguments: any[];
|
111
|
-
ruleSeverity: string;
|
112
|
-
};
|
113
|
-
'no-bitwise': {
|
114
|
-
ruleArguments: any[];
|
115
|
-
ruleSeverity: string;
|
116
|
-
};
|
117
|
-
'no-console': {
|
118
|
-
ruleArguments: string[];
|
119
|
-
ruleSeverity: string;
|
120
|
-
};
|
121
|
-
'no-construct': {
|
122
|
-
ruleArguments: any[];
|
123
|
-
ruleSeverity: string;
|
124
|
-
};
|
125
|
-
'no-debugger': {
|
126
|
-
ruleArguments: any[];
|
127
|
-
ruleSeverity: string;
|
128
|
-
};
|
129
|
-
'no-duplicate-super': {
|
130
|
-
ruleArguments: any[];
|
131
|
-
ruleSeverity: string;
|
132
|
-
};
|
133
|
-
'no-empty': {
|
134
|
-
ruleArguments: any[];
|
135
|
-
ruleSeverity: string;
|
136
|
-
};
|
137
|
-
'no-empty-interface': {
|
138
|
-
ruleArguments: any[];
|
139
|
-
ruleSeverity: string;
|
140
|
-
};
|
141
|
-
'no-eval': {
|
142
|
-
ruleArguments: any[];
|
143
|
-
ruleSeverity: string;
|
144
|
-
};
|
145
|
-
'no-inferrable-types': {
|
146
|
-
ruleArguments: string[];
|
147
|
-
ruleSeverity: string;
|
148
|
-
};
|
149
|
-
'no-misused-new': {
|
150
|
-
ruleArguments: any[];
|
151
|
-
ruleSeverity: string;
|
152
|
-
};
|
153
|
-
'no-non-null-assertion': {
|
154
|
-
ruleArguments: any[];
|
155
|
-
ruleSeverity: string;
|
156
|
-
};
|
157
|
-
'no-shadowed-variable': {
|
158
|
-
ruleArguments: any[];
|
159
|
-
ruleSeverity: string;
|
160
|
-
};
|
161
|
-
'no-string-literal': {
|
162
|
-
ruleArguments: any[];
|
163
|
-
ruleSeverity: string;
|
164
|
-
};
|
165
|
-
'no-string-throw': {
|
166
|
-
ruleArguments: any[];
|
167
|
-
ruleSeverity: string;
|
168
|
-
};
|
169
|
-
'no-switch-case-fall-through': {
|
170
|
-
ruleArguments: any[];
|
171
|
-
ruleSeverity: string;
|
172
|
-
};
|
173
|
-
'no-unnecessary-initializer': {
|
174
|
-
ruleArguments: any[];
|
175
|
-
ruleSeverity: string;
|
176
|
-
};
|
177
|
-
'no-unused-expression': {
|
178
|
-
ruleArguments: any[];
|
179
|
-
ruleSeverity: string;
|
180
|
-
};
|
181
|
-
'no-var-keyword': {
|
182
|
-
ruleArguments: any[];
|
183
|
-
ruleSeverity: string;
|
184
|
-
};
|
185
|
-
'object-literal-sort-keys': {
|
186
|
-
ruleArguments: any[];
|
187
|
-
ruleSeverity: string;
|
188
|
-
};
|
189
|
-
'prefer-const': {
|
190
|
-
ruleArguments: any[];
|
191
|
-
ruleSeverity: string;
|
192
|
-
};
|
193
|
-
radix: {
|
194
|
-
ruleArguments: any[];
|
195
|
-
ruleSeverity: string;
|
196
|
-
};
|
197
|
-
'triple-equals': {
|
198
|
-
ruleArguments: string[];
|
199
|
-
ruleSeverity: string;
|
200
|
-
};
|
201
|
-
'unified-signatures': {
|
202
|
-
ruleArguments: any[];
|
203
|
-
ruleSeverity: string;
|
204
|
-
};
|
205
|
-
'variable-name': {
|
206
|
-
ruleArguments: any[];
|
207
|
-
ruleSeverity: string;
|
208
|
-
};
|
209
|
-
'nx-enforce-module-boundaries': {
|
210
|
-
ruleArguments: {
|
211
|
-
allow: string[];
|
212
|
-
depConstraints: {
|
213
|
-
sourceTag: string;
|
214
|
-
onlyDependOnLibsWithTags: string[];
|
215
|
-
}[];
|
216
|
-
enforceBuildableLibDependency: boolean;
|
217
|
-
}[];
|
218
|
-
ruleSeverity: string;
|
219
|
-
};
|
220
|
-
'directive-selector': {
|
221
|
-
ruleArguments: string[];
|
222
|
-
ruleSeverity: string;
|
223
|
-
};
|
224
|
-
'component-selector': {
|
225
|
-
ruleArguments: string[];
|
226
|
-
ruleSeverity: string;
|
227
|
-
};
|
228
|
-
'no-conflicting-lifecycle': {
|
229
|
-
ruleArguments: any[];
|
230
|
-
ruleSeverity: string;
|
231
|
-
};
|
232
|
-
'no-host-metadata-property': {
|
233
|
-
ruleArguments: any[];
|
234
|
-
ruleSeverity: string;
|
235
|
-
};
|
236
|
-
'no-input-rename': {
|
237
|
-
ruleArguments: any[];
|
238
|
-
ruleSeverity: string;
|
239
|
-
};
|
240
|
-
'no-inputs-metadata-property': {
|
241
|
-
ruleArguments: any[];
|
242
|
-
ruleSeverity: string;
|
243
|
-
};
|
244
|
-
'no-output-native': {
|
245
|
-
ruleArguments: any[];
|
246
|
-
ruleSeverity: string;
|
247
|
-
};
|
248
|
-
'no-output-on-prefix': {
|
249
|
-
ruleArguments: any[];
|
250
|
-
ruleSeverity: string;
|
251
|
-
};
|
252
|
-
'no-output-rename': {
|
253
|
-
ruleArguments: any[];
|
254
|
-
ruleSeverity: string;
|
255
|
-
};
|
256
|
-
'no-outputs-metadata-property': {
|
257
|
-
ruleArguments: any[];
|
258
|
-
ruleSeverity: string;
|
259
|
-
};
|
260
|
-
'template-banana-in-box': {
|
261
|
-
ruleArguments: any[];
|
262
|
-
ruleSeverity: string;
|
263
|
-
};
|
264
|
-
'template-no-negated-async': {
|
265
|
-
ruleArguments: any[];
|
266
|
-
ruleSeverity: string;
|
267
|
-
};
|
268
|
-
'use-lifecycle-interface': {
|
269
|
-
ruleArguments: any[];
|
270
|
-
ruleSeverity: string;
|
271
|
-
};
|
272
|
-
'use-pipe-transform-interface': {
|
273
|
-
ruleArguments: any[];
|
274
|
-
ruleSeverity: string;
|
275
|
-
};
|
276
|
-
};
|
277
|
-
};
|
278
|
-
};
|
279
|
-
export declare const exampleAngularProjectTslintJson: {
|
280
|
-
raw: {
|
281
|
-
extends: string;
|
282
|
-
rules: {
|
283
|
-
'directive-selector': (string | boolean)[];
|
284
|
-
'component-selector': (string | boolean)[];
|
285
|
-
};
|
286
|
-
linterOptions: {
|
287
|
-
exclude: string[];
|
288
|
-
};
|
289
|
-
};
|
290
|
-
tslintPrintConfigResult: {
|
291
|
-
rules: {
|
292
|
-
'directive-selector': {
|
293
|
-
ruleArguments: string[];
|
294
|
-
ruleSeverity: string;
|
295
|
-
};
|
296
|
-
'component-selector': {
|
297
|
-
ruleArguments: string[];
|
298
|
-
ruleSeverity: string;
|
299
|
-
};
|
300
|
-
};
|
301
|
-
};
|
302
|
-
};
|
303
|
-
export declare const exampleNonAngularProjectTslintJson: {
|
304
|
-
raw: {
|
305
|
-
extends: string;
|
306
|
-
linterOptions: {
|
307
|
-
exclude: string[];
|
308
|
-
};
|
309
|
-
rules: {};
|
310
|
-
};
|
311
|
-
tslintPrintConfigResult: {
|
312
|
-
rules: {};
|
313
|
-
};
|
314
|
-
};
|
315
|
-
export declare const exampleE2eProjectTslintJson: {
|
316
|
-
raw: {
|
317
|
-
extends: string;
|
318
|
-
linterOptions: {
|
319
|
-
exclude: string[];
|
320
|
-
};
|
321
|
-
rules: {};
|
322
|
-
};
|
323
|
-
tslintPrintConfigResult: {
|
324
|
-
rules: {};
|
325
|
-
};
|
326
|
-
};
|
@@ -1,325 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.exampleE2eProjectTslintJson = exports.exampleNonAngularProjectTslintJson = exports.exampleAngularProjectTslintJson = exports.exampleRootTslintJson = void 0;
|
4
|
-
// Based on latest Angular project root tslint.json + enforce-module-boundaries config from nx-examples
|
5
|
-
exports.exampleRootTslintJson = {
|
6
|
-
raw: {
|
7
|
-
rulesDirectory: [
|
8
|
-
'node_modules/@nrwl/workspace/src/tslint',
|
9
|
-
'node_modules/codelyzer',
|
10
|
-
],
|
11
|
-
linterOptions: {
|
12
|
-
exclude: ['**/*'],
|
13
|
-
},
|
14
|
-
rules: {
|
15
|
-
'arrow-return-shorthand': true,
|
16
|
-
'callable-types': true,
|
17
|
-
'class-name': true,
|
18
|
-
deprecation: {
|
19
|
-
severity: 'warn',
|
20
|
-
},
|
21
|
-
forin: true,
|
22
|
-
'import-blacklist': [true, 'rxjs/Rx'],
|
23
|
-
'interface-over-type-literal': true,
|
24
|
-
'member-access': false,
|
25
|
-
'member-ordering': [
|
26
|
-
true,
|
27
|
-
{
|
28
|
-
order: [
|
29
|
-
'static-field',
|
30
|
-
'instance-field',
|
31
|
-
'static-method',
|
32
|
-
'instance-method',
|
33
|
-
],
|
34
|
-
},
|
35
|
-
],
|
36
|
-
'no-arg': true,
|
37
|
-
'no-bitwise': true,
|
38
|
-
'no-console': [true, 'debug', 'info', 'time', 'timeEnd', 'trace'],
|
39
|
-
'no-construct': true,
|
40
|
-
'no-debugger': true,
|
41
|
-
'no-duplicate-super': true,
|
42
|
-
'no-empty': false,
|
43
|
-
'no-empty-interface': true,
|
44
|
-
'no-eval': true,
|
45
|
-
'no-inferrable-types': [true, 'ignore-params'],
|
46
|
-
'no-misused-new': true,
|
47
|
-
'no-non-null-assertion': true,
|
48
|
-
'no-shadowed-variable': true,
|
49
|
-
'no-string-literal': false,
|
50
|
-
'no-string-throw': true,
|
51
|
-
'no-switch-case-fall-through': true,
|
52
|
-
'no-unnecessary-initializer': true,
|
53
|
-
'no-unused-expression': true,
|
54
|
-
'no-var-keyword': true,
|
55
|
-
'object-literal-sort-keys': false,
|
56
|
-
'prefer-const': true,
|
57
|
-
radix: true,
|
58
|
-
'triple-equals': [true, 'allow-null-check'],
|
59
|
-
'unified-signatures': true,
|
60
|
-
'variable-name': false,
|
61
|
-
'nx-enforce-module-boundaries': [
|
62
|
-
true,
|
63
|
-
{
|
64
|
-
allow: ['@nx-example/shared/product/data/testing'],
|
65
|
-
depConstraints: [
|
66
|
-
{
|
67
|
-
sourceTag: 'type:app',
|
68
|
-
onlyDependOnLibsWithTags: ['type:feature', 'type:ui'],
|
69
|
-
},
|
70
|
-
{
|
71
|
-
sourceTag: 'type:feature',
|
72
|
-
onlyDependOnLibsWithTags: [
|
73
|
-
'type:ui',
|
74
|
-
'type:data',
|
75
|
-
'type:types',
|
76
|
-
'type:state',
|
77
|
-
],
|
78
|
-
},
|
79
|
-
{
|
80
|
-
sourceTag: 'type:types',
|
81
|
-
onlyDependOnLibsWithTags: ['type:types'],
|
82
|
-
},
|
83
|
-
{
|
84
|
-
sourceTag: 'type:state',
|
85
|
-
onlyDependOnLibsWithTags: [
|
86
|
-
'type:state',
|
87
|
-
'type:types',
|
88
|
-
'type:data',
|
89
|
-
],
|
90
|
-
},
|
91
|
-
{
|
92
|
-
sourceTag: 'type:data',
|
93
|
-
onlyDependOnLibsWithTags: ['type:types'],
|
94
|
-
},
|
95
|
-
{
|
96
|
-
sourceTag: 'type:e2e',
|
97
|
-
onlyDependOnLibsWithTags: ['type:e2e-utils'],
|
98
|
-
},
|
99
|
-
{
|
100
|
-
sourceTag: 'type:ui',
|
101
|
-
onlyDependOnLibsWithTags: ['type:types', 'type:ui'],
|
102
|
-
},
|
103
|
-
{
|
104
|
-
sourceTag: 'scope:products',
|
105
|
-
onlyDependOnLibsWithTags: ['scope:products', 'scope:shared'],
|
106
|
-
},
|
107
|
-
{
|
108
|
-
sourceTag: 'scope:cart',
|
109
|
-
onlyDependOnLibsWithTags: ['scope:cart', 'scope:shared'],
|
110
|
-
},
|
111
|
-
],
|
112
|
-
enforceBuildableLibDependency: true,
|
113
|
-
},
|
114
|
-
],
|
115
|
-
'directive-selector': [true, 'attribute', 'app', 'camelCase'],
|
116
|
-
'component-selector': [true, 'element', 'app', 'kebab-case'],
|
117
|
-
'no-conflicting-lifecycle': true,
|
118
|
-
'no-host-metadata-property': true,
|
119
|
-
'no-input-rename': true,
|
120
|
-
'no-inputs-metadata-property': true,
|
121
|
-
'no-output-native': true,
|
122
|
-
'no-output-on-prefix': true,
|
123
|
-
'no-output-rename': true,
|
124
|
-
'no-outputs-metadata-property': true,
|
125
|
-
'template-banana-in-box': true,
|
126
|
-
'template-no-negated-async': true,
|
127
|
-
'use-lifecycle-interface': true,
|
128
|
-
'use-pipe-transform-interface': true,
|
129
|
-
},
|
130
|
-
},
|
131
|
-
tslintPrintConfigResult: {
|
132
|
-
rules: {
|
133
|
-
'arrow-return-shorthand': { ruleArguments: [], ruleSeverity: 'error' },
|
134
|
-
'callable-types': { ruleArguments: [], ruleSeverity: 'error' },
|
135
|
-
'class-name': { ruleArguments: [], ruleSeverity: 'error' },
|
136
|
-
deprecation: { ruleSeverity: 'warning' },
|
137
|
-
forin: { ruleArguments: [], ruleSeverity: 'error' },
|
138
|
-
'import-blacklist': { ruleArguments: ['rxjs/Rx'], ruleSeverity: 'error' },
|
139
|
-
'interface-over-type-literal': {
|
140
|
-
ruleArguments: [],
|
141
|
-
ruleSeverity: 'error',
|
142
|
-
},
|
143
|
-
'member-access': { ruleArguments: [], ruleSeverity: 'off' },
|
144
|
-
'member-ordering': {
|
145
|
-
ruleArguments: [
|
146
|
-
{
|
147
|
-
order: [
|
148
|
-
'static-field',
|
149
|
-
'instance-field',
|
150
|
-
'static-method',
|
151
|
-
'instance-method',
|
152
|
-
],
|
153
|
-
},
|
154
|
-
],
|
155
|
-
ruleSeverity: 'error',
|
156
|
-
},
|
157
|
-
'no-arg': { ruleArguments: [], ruleSeverity: 'error' },
|
158
|
-
'no-bitwise': { ruleArguments: [], ruleSeverity: 'error' },
|
159
|
-
'no-console': {
|
160
|
-
ruleArguments: ['debug', 'info', 'time', 'timeEnd', 'trace'],
|
161
|
-
ruleSeverity: 'error',
|
162
|
-
},
|
163
|
-
'no-construct': { ruleArguments: [], ruleSeverity: 'error' },
|
164
|
-
'no-debugger': { ruleArguments: [], ruleSeverity: 'error' },
|
165
|
-
'no-duplicate-super': { ruleArguments: [], ruleSeverity: 'error' },
|
166
|
-
'no-empty': { ruleArguments: [], ruleSeverity: 'off' },
|
167
|
-
'no-empty-interface': { ruleArguments: [], ruleSeverity: 'error' },
|
168
|
-
'no-eval': { ruleArguments: [], ruleSeverity: 'error' },
|
169
|
-
'no-inferrable-types': {
|
170
|
-
ruleArguments: ['ignore-params'],
|
171
|
-
ruleSeverity: 'error',
|
172
|
-
},
|
173
|
-
'no-misused-new': { ruleArguments: [], ruleSeverity: 'error' },
|
174
|
-
'no-non-null-assertion': { ruleArguments: [], ruleSeverity: 'error' },
|
175
|
-
'no-shadowed-variable': { ruleArguments: [], ruleSeverity: 'error' },
|
176
|
-
'no-string-literal': { ruleArguments: [], ruleSeverity: 'off' },
|
177
|
-
'no-string-throw': { ruleArguments: [], ruleSeverity: 'error' },
|
178
|
-
'no-switch-case-fall-through': {
|
179
|
-
ruleArguments: [],
|
180
|
-
ruleSeverity: 'error',
|
181
|
-
},
|
182
|
-
'no-unnecessary-initializer': {
|
183
|
-
ruleArguments: [],
|
184
|
-
ruleSeverity: 'error',
|
185
|
-
},
|
186
|
-
'no-unused-expression': { ruleArguments: [], ruleSeverity: 'error' },
|
187
|
-
'no-var-keyword': { ruleArguments: [], ruleSeverity: 'error' },
|
188
|
-
'object-literal-sort-keys': { ruleArguments: [], ruleSeverity: 'off' },
|
189
|
-
'prefer-const': { ruleArguments: [], ruleSeverity: 'error' },
|
190
|
-
radix: { ruleArguments: [], ruleSeverity: 'error' },
|
191
|
-
'triple-equals': {
|
192
|
-
ruleArguments: ['allow-null-check'],
|
193
|
-
ruleSeverity: 'error',
|
194
|
-
},
|
195
|
-
'unified-signatures': { ruleArguments: [], ruleSeverity: 'error' },
|
196
|
-
'variable-name': { ruleArguments: [], ruleSeverity: 'off' },
|
197
|
-
'nx-enforce-module-boundaries': {
|
198
|
-
ruleArguments: [
|
199
|
-
{
|
200
|
-
allow: ['@nx-example/shared/product/data/testing'],
|
201
|
-
depConstraints: [
|
202
|
-
{
|
203
|
-
sourceTag: 'type:app',
|
204
|
-
onlyDependOnLibsWithTags: ['type:feature', 'type:ui'],
|
205
|
-
},
|
206
|
-
{
|
207
|
-
sourceTag: 'type:feature',
|
208
|
-
onlyDependOnLibsWithTags: [
|
209
|
-
'type:ui',
|
210
|
-
'type:data',
|
211
|
-
'type:types',
|
212
|
-
'type:state',
|
213
|
-
],
|
214
|
-
},
|
215
|
-
{
|
216
|
-
sourceTag: 'type:types',
|
217
|
-
onlyDependOnLibsWithTags: ['type:types'],
|
218
|
-
},
|
219
|
-
{
|
220
|
-
sourceTag: 'type:state',
|
221
|
-
onlyDependOnLibsWithTags: [
|
222
|
-
'type:state',
|
223
|
-
'type:types',
|
224
|
-
'type:data',
|
225
|
-
],
|
226
|
-
},
|
227
|
-
{
|
228
|
-
sourceTag: 'type:data',
|
229
|
-
onlyDependOnLibsWithTags: ['type:types'],
|
230
|
-
},
|
231
|
-
{
|
232
|
-
sourceTag: 'type:e2e',
|
233
|
-
onlyDependOnLibsWithTags: ['type:e2e-utils'],
|
234
|
-
},
|
235
|
-
{
|
236
|
-
sourceTag: 'type:ui',
|
237
|
-
onlyDependOnLibsWithTags: ['type:types', 'type:ui'],
|
238
|
-
},
|
239
|
-
{
|
240
|
-
sourceTag: 'scope:products',
|
241
|
-
onlyDependOnLibsWithTags: ['scope:products', 'scope:shared'],
|
242
|
-
},
|
243
|
-
{
|
244
|
-
sourceTag: 'scope:cart',
|
245
|
-
onlyDependOnLibsWithTags: ['scope:cart', 'scope:shared'],
|
246
|
-
},
|
247
|
-
],
|
248
|
-
enforceBuildableLibDependency: true,
|
249
|
-
},
|
250
|
-
],
|
251
|
-
ruleSeverity: 'error',
|
252
|
-
},
|
253
|
-
'directive-selector': {
|
254
|
-
ruleArguments: ['attribute', 'app', 'camelCase'],
|
255
|
-
ruleSeverity: 'error',
|
256
|
-
},
|
257
|
-
'component-selector': {
|
258
|
-
ruleArguments: ['element', 'app', 'kebab-case'],
|
259
|
-
ruleSeverity: 'error',
|
260
|
-
},
|
261
|
-
'no-conflicting-lifecycle': { ruleArguments: [], ruleSeverity: 'error' },
|
262
|
-
'no-host-metadata-property': { ruleArguments: [], ruleSeverity: 'error' },
|
263
|
-
'no-input-rename': { ruleArguments: [], ruleSeverity: 'error' },
|
264
|
-
'no-inputs-metadata-property': {
|
265
|
-
ruleArguments: [],
|
266
|
-
ruleSeverity: 'error',
|
267
|
-
},
|
268
|
-
'no-output-native': { ruleArguments: [], ruleSeverity: 'error' },
|
269
|
-
'no-output-on-prefix': { ruleArguments: [], ruleSeverity: 'error' },
|
270
|
-
'no-output-rename': { ruleArguments: [], ruleSeverity: 'error' },
|
271
|
-
'no-outputs-metadata-property': {
|
272
|
-
ruleArguments: [],
|
273
|
-
ruleSeverity: 'error',
|
274
|
-
},
|
275
|
-
'template-banana-in-box': { ruleArguments: [], ruleSeverity: 'error' },
|
276
|
-
'template-no-negated-async': { ruleArguments: [], ruleSeverity: 'error' },
|
277
|
-
'use-lifecycle-interface': { ruleArguments: [], ruleSeverity: 'error' },
|
278
|
-
'use-pipe-transform-interface': {
|
279
|
-
ruleArguments: [],
|
280
|
-
ruleSeverity: 'error',
|
281
|
-
},
|
282
|
-
},
|
283
|
-
},
|
284
|
-
};
|
285
|
-
exports.exampleAngularProjectTslintJson = {
|
286
|
-
raw: {
|
287
|
-
extends: '../../tslint.json',
|
288
|
-
rules: {
|
289
|
-
'directive-selector': [true, 'attribute', 'angular-app', 'camelCase'],
|
290
|
-
'component-selector': [true, 'element', 'angular-app', 'kebab-case'],
|
291
|
-
},
|
292
|
-
linterOptions: {
|
293
|
-
exclude: ['!**/*'],
|
294
|
-
},
|
295
|
-
},
|
296
|
-
tslintPrintConfigResult: {
|
297
|
-
rules: {
|
298
|
-
'directive-selector': {
|
299
|
-
ruleArguments: ['attribute', 'angular-app', 'camelCase'],
|
300
|
-
ruleSeverity: 'error',
|
301
|
-
},
|
302
|
-
'component-selector': {
|
303
|
-
ruleArguments: ['element', 'angular-app', 'kebab-case'],
|
304
|
-
ruleSeverity: 'error',
|
305
|
-
},
|
306
|
-
},
|
307
|
-
},
|
308
|
-
};
|
309
|
-
exports.exampleNonAngularProjectTslintJson = {
|
310
|
-
raw: {
|
311
|
-
extends: '../../tslint.json',
|
312
|
-
linterOptions: { exclude: ['!**/*'] },
|
313
|
-
rules: {},
|
314
|
-
},
|
315
|
-
tslintPrintConfigResult: { rules: {} },
|
316
|
-
};
|
317
|
-
exports.exampleE2eProjectTslintJson = {
|
318
|
-
raw: {
|
319
|
-
extends: '../../tslint.json',
|
320
|
-
linterOptions: { exclude: ['!**/*'] },
|
321
|
-
rules: {},
|
322
|
-
},
|
323
|
-
tslintPrintConfigResult: { rules: {} },
|
324
|
-
};
|
325
|
-
//# sourceMappingURL=example-tslint-configs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"example-tslint-configs.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/utils/convert-tslint-to-eslint/example-tslint-configs.ts"],"names":[],"mappings":";;;AAAA,uGAAuG;AAC1F,QAAA,qBAAqB,GAAG;IACnC,GAAG,EAAE;QACH,cAAc,EAAE;YACd,yCAAyC;YACzC,wBAAwB;SACzB;QACD,aAAa,EAAE;YACb,OAAO,EAAE,CAAC,MAAM,CAAC;SAClB;QACD,KAAK,EAAE;YACL,wBAAwB,EAAE,IAAI;YAC9B,gBAAgB,EAAE,IAAI;YACtB,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACX,QAAQ,EAAE,MAAM;aACjB;YACD,KAAK,EAAE,IAAI;YACX,kBAAkB,EAAE,CAAC,IAAI,EAAE,SAAS,CAAC;YACrC,6BAA6B,EAAE,IAAI;YACnC,eAAe,EAAE,KAAK;YACtB,iBAAiB,EAAE;gBACjB,IAAI;gBACJ;oBACE,KAAK,EAAE;wBACL,cAAc;wBACd,gBAAgB;wBAChB,eAAe;wBACf,iBAAiB;qBAClB;iBACF;aACF;YACD,QAAQ,EAAE,IA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vB,KAAK,EAAE;YACL,oBAAoB,EAAE;gBACpB,aAAa,EAAE,CAAC,WAAW,EAAE,aAAa,EAAE,WAAW,CAAC;gBACxD,YAAY,EAAE,OAAO;aACtB;YACD,oBAAoB,EAAE;gBACpB,aAAa,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,YAAY,CAAC;gBACvD,YAAY,EAAE,OAAO;aACtB;SACF;KACF;CACF,CAAC;AAEW,QAAA,kCAAkC,GAAG;IAChD,GAAG,EAAE;QACH,OAAO,EAAE,mBAAmB;QAC5B,aAAa,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE;QACrC,KAAK,EAAE,EAAE;KACV;IACD,uBAAuB,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;CACvC,CAAC;AAEW,QAAA,2BAA2B,GAAG;IACzC,GAAG,EAAE;QACH,OAAO,EAAE,mBAAmB;QAC5B,aAAa,EAAE,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE;QACrC,KAAK,EAAE,EAAE;KACV;IACD,uBAAuB,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;CACvC,CAAC"}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.exampleRootTslintJson = exports.ProjectConverter = void 0;
|
4
|
-
var project_converter_1 = require("./project-converter");
|
5
|
-
Object.defineProperty(exports, "ProjectConverter", { enumerable: true, get: function () { return project_converter_1.ProjectConverter; } });
|
6
|
-
// For testing
|
7
|
-
var example_tslint_configs_1 = require("./example-tslint-configs");
|
8
|
-
Object.defineProperty(exports, "exampleRootTslintJson", { enumerable: true, get: function () { return example_tslint_configs_1.exampleRootTslintJson; } });
|
9
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/linter/src/utils/convert-tslint-to-eslint/index.ts"],"names":[],"mappings":";;;AAAA,yDAG6B;AAD3B,qHAAA,gBAAgB,OAAA;AAGlB,cAAc;AACd,mEAAiE;AAAxD,+HAAA,qBAAqB,OAAA"}
|