immosquare-cleaner 0.1.46 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/lib/immosquare-cleaner/version.rb +1 -1
  3. data/linters/rubocop-3.3.4.yml +2 -0
  4. data/linters/rubocop.yml +2 -0
  5. data/node_modules/@eslint/eslintrc/node_modules/ignore/LICENSE-MIT +21 -0
  6. data/node_modules/@eslint/eslintrc/node_modules/ignore/README.md +412 -0
  7. data/node_modules/@eslint/eslintrc/node_modules/ignore/index.d.ts +61 -0
  8. data/node_modules/@eslint/eslintrc/node_modules/ignore/index.js +618 -0
  9. data/node_modules/@eslint/eslintrc/node_modules/ignore/legacy.js +539 -0
  10. data/node_modules/@eslint/eslintrc/node_modules/ignore/package.json +73 -0
  11. data/node_modules/@eslint/js/package.json +1 -1
  12. data/node_modules/@eslint/plugin-kit/LICENSE +201 -0
  13. data/node_modules/@eslint/plugin-kit/README.md +224 -0
  14. data/node_modules/@eslint/plugin-kit/dist/cjs/index.cjs +555 -0
  15. data/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts +239 -0
  16. data/node_modules/@eslint/plugin-kit/dist/cjs/types.ts +7 -0
  17. data/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts +239 -0
  18. data/node_modules/@eslint/plugin-kit/dist/esm/index.js +551 -0
  19. data/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts +6 -0
  20. data/node_modules/@eslint/plugin-kit/dist/esm/types.ts +7 -0
  21. data/node_modules/@eslint/plugin-kit/package.json +62 -0
  22. data/node_modules/eslint/README.md +2 -2
  23. data/node_modules/eslint/lib/config/config.js +278 -0
  24. data/node_modules/eslint/lib/config/flat-config-array.js +3 -204
  25. data/node_modules/eslint/lib/languages/js/source-code/source-code.js +29 -94
  26. data/node_modules/eslint/lib/linter/apply-disable-directives.js +17 -28
  27. data/node_modules/eslint/lib/linter/file-context.js +134 -0
  28. data/node_modules/eslint/lib/linter/linter.js +37 -42
  29. data/node_modules/eslint/lib/rules/id-length.js +1 -0
  30. data/node_modules/eslint/lib/rules/no-invalid-regexp.js +34 -18
  31. data/node_modules/eslint/lib/rules/require-unicode-regexp.js +95 -14
  32. data/node_modules/eslint/lib/rules/utils/regular-expressions.js +11 -3
  33. data/node_modules/eslint/lib/types/index.d.ts +1635 -0
  34. data/node_modules/eslint/lib/types/rules/best-practices.d.ts +1075 -0
  35. data/node_modules/eslint/lib/types/rules/deprecated.d.ts +294 -0
  36. data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +561 -0
  37. data/node_modules/eslint/lib/types/rules/index.d.ts +50 -0
  38. data/node_modules/eslint/lib/types/rules/node-commonjs.d.ts +160 -0
  39. data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +598 -0
  40. data/node_modules/eslint/lib/types/rules/strict-mode.d.ts +38 -0
  41. data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +1932 -0
  42. data/node_modules/eslint/lib/types/rules/variables.d.ts +221 -0
  43. data/node_modules/eslint/lib/types/use-at-your-own-risk.d.ts +85 -0
  44. data/node_modules/eslint/package.json +20 -8
  45. data/node_modules/ignore/index.d.ts +1 -1
  46. data/node_modules/ignore/index.js +25 -7
  47. data/node_modules/ignore/legacy.js +34 -14
  48. data/node_modules/ignore/package.json +12 -11
  49. data/node_modules/npm-check-updates/build/index.js +282 -282
  50. data/node_modules/npm-check-updates/build/index.js.map +1 -1
  51. data/node_modules/npm-check-updates/package.json +1 -1
  52. data/package.json +3 -3
  53. metadata +31 -4
  54. data/linters/rubocop-2.7.6.yml +0 -88
  55. data/node_modules/eslint/lib/linter/config-comment-parser.js +0 -169
@@ -0,0 +1,294 @@
1
+ /**
2
+ * @fileoverview This file contains the rule types for ESLint. It was initially extracted
3
+ * from the `@types/eslint` package.
4
+ */
5
+
6
+ /*
7
+ * MIT License
8
+ * Copyright (c) Microsoft Corporation.
9
+ *
10
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ * of this software and associated documentation files (the "Software"), to deal
12
+ * in the Software without restriction, including without limitation the rights
13
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ * copies of the Software, and to permit persons to whom the Software is
15
+ * furnished to do so, subject to the following conditions:
16
+ * The above copyright notice and this permission notice shall be included in all
17
+ * copies or substantial portions of the Software.
18
+ *
19
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ * SOFTWARE
26
+ */
27
+
28
+ import { Linter } from "../index";
29
+
30
+ export interface Deprecated extends Linter.RulesRecord {
31
+ /**
32
+ * Rule to enforce consistent indentation.
33
+ *
34
+ * @since 4.0.0-alpha.0
35
+ * @deprecated since 4.0.0, use [`indent`](https://eslint.org/docs/rules/indent) instead.
36
+ * @see https://eslint.org/docs/rules/indent-legacy
37
+ */
38
+ "indent-legacy": Linter.RuleEntry<
39
+ [
40
+ number | "tab",
41
+ Partial<{
42
+ /**
43
+ * @default 0
44
+ */
45
+ SwitchCase: number;
46
+ /**
47
+ * @default 1
48
+ */
49
+ VariableDeclarator:
50
+ | Partial<{
51
+ /**
52
+ * @default 1
53
+ */
54
+ var: number | "first";
55
+ /**
56
+ * @default 1
57
+ */
58
+ let: number | "first";
59
+ /**
60
+ * @default 1
61
+ */
62
+ const: number | "first";
63
+ }>
64
+ | number
65
+ | "first";
66
+ /**
67
+ * @default 1
68
+ */
69
+ outerIIFEBody: number;
70
+ /**
71
+ * @default 1
72
+ */
73
+ MemberExpression: number | "off";
74
+ /**
75
+ * @default { parameters: 1, body: 1 }
76
+ */
77
+ FunctionDeclaration: Partial<{
78
+ /**
79
+ * @default 1
80
+ */
81
+ parameters: number | "first" | "off";
82
+ /**
83
+ * @default 1
84
+ */
85
+ body: number;
86
+ }>;
87
+ /**
88
+ * @default { parameters: 1, body: 1 }
89
+ */
90
+ FunctionExpression: Partial<{
91
+ /**
92
+ * @default 1
93
+ */
94
+ parameters: number | "first" | "off";
95
+ /**
96
+ * @default 1
97
+ */
98
+ body: number;
99
+ }>;
100
+ /**
101
+ * @default { arguments: 1 }
102
+ */
103
+ CallExpression: Partial<{
104
+ /**
105
+ * @default 1
106
+ */
107
+ arguments: number | "first" | "off";
108
+ }>;
109
+ /**
110
+ * @default 1
111
+ */
112
+ ArrayExpression: number | "first" | "off";
113
+ /**
114
+ * @default 1
115
+ */
116
+ ObjectExpression: number | "first" | "off";
117
+ /**
118
+ * @default 1
119
+ */
120
+ ImportDeclaration: number | "first" | "off";
121
+ /**
122
+ * @default false
123
+ */
124
+ flatTernaryExpressions: boolean;
125
+ ignoredNodes: string[];
126
+ /**
127
+ * @default false
128
+ */
129
+ ignoreComments: boolean;
130
+ }>,
131
+ ]
132
+ >;
133
+
134
+ /**
135
+ * Rule to require or disallow newlines around directives.
136
+ *
137
+ * @since 3.5.0
138
+ * @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
139
+ * @see https://eslint.org/docs/rules/lines-around-directive
140
+ */
141
+ "lines-around-directive": Linter.RuleEntry<["always" | "never"]>;
142
+
143
+ /**
144
+ * Rule to require or disallow an empty line after variable declarations.
145
+ *
146
+ * @since 0.18.0
147
+ * @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
148
+ * @see https://eslint.org/docs/rules/newline-after-var
149
+ */
150
+ "newline-after-var": Linter.RuleEntry<["always" | "never"]>;
151
+
152
+ /**
153
+ * Rule to require an empty line before `return` statements.
154
+ *
155
+ * @since 2.3.0
156
+ * @deprecated since 4.0.0, use [`padding-line-between-statements`](https://eslint.org/docs/rules/padding-line-between-statements) instead.
157
+ * @see https://eslint.org/docs/rules/newline-before-return
158
+ */
159
+ "newline-before-return": Linter.RuleEntry<[]>;
160
+
161
+ /**
162
+ * Rule to disallow shadowing of variables inside of `catch`.
163
+ *
164
+ * @since 0.0.9
165
+ * @deprecated since 5.1.0, use [`no-shadow`](https://eslint.org/docs/rules/no-shadow) instead.
166
+ * @see https://eslint.org/docs/rules/no-catch-shadow
167
+ */
168
+ "no-catch-shadow": Linter.RuleEntry<[]>;
169
+
170
+ /**
171
+ * Rule to disallow reassignment of native objects.
172
+ *
173
+ * @since 0.0.9
174
+ * @deprecated since 3.3.0, use [`no-global-assign`](https://eslint.org/docs/rules/no-global-assign) instead.
175
+ * @see https://eslint.org/docs/rules/no-native-reassign
176
+ */
177
+ "no-native-reassign": Linter.RuleEntry<
178
+ [
179
+ Partial<{
180
+ exceptions: string[];
181
+ }>,
182
+ ]
183
+ >;
184
+
185
+ /**
186
+ * Rule to disallow negating the left operand in `in` expressions.
187
+ *
188
+ * @since 0.1.2
189
+ * @deprecated since 3.3.0, use [`no-unsafe-negation`](https://eslint.org/docs/rules/no-unsafe-negation) instead.
190
+ * @see https://eslint.org/docs/rules/no-negated-in-lhs
191
+ */
192
+ "no-negated-in-lhs": Linter.RuleEntry<[]>;
193
+
194
+ /**
195
+ * Rule to disallow spacing between function identifiers and their applications.
196
+ *
197
+ * @since 0.1.2
198
+ * @deprecated since 3.3.0, use [`func-call-spacing`](https://eslint.org/docs/rules/func-call-spacing) instead.
199
+ * @see https://eslint.org/docs/rules/no-spaced-func
200
+ */
201
+ "no-spaced-func": Linter.RuleEntry<[]>;
202
+
203
+ /**
204
+ * Rule to suggest using `Reflect` methods where applicable.
205
+ *
206
+ * @since 1.0.0-rc-2
207
+ * @deprecated since 3.9.0
208
+ * @see https://eslint.org/docs/rules/prefer-reflect
209
+ */
210
+ "prefer-reflect": Linter.RuleEntry<
211
+ [
212
+ Partial<{
213
+ exceptions: string[];
214
+ }>,
215
+ ]
216
+ >;
217
+
218
+ /**
219
+ * Rule to require JSDoc comments.
220
+ *
221
+ * @since 1.4.0
222
+ * @deprecated since 5.10.0
223
+ * @see https://eslint.org/docs/rules/require-jsdoc
224
+ */
225
+ "require-jsdoc": Linter.RuleEntry<
226
+ [
227
+ Partial<{
228
+ require: Partial<{
229
+ /**
230
+ * @default true
231
+ */
232
+ FunctionDeclaration: boolean;
233
+ /**
234
+ * @default false
235
+ */
236
+ MethodDefinition: boolean;
237
+ /**
238
+ * @default false
239
+ */
240
+ ClassDeclaration: boolean;
241
+ /**
242
+ * @default false
243
+ */
244
+ ArrowFunctionExpression: boolean;
245
+ /**
246
+ * @default false
247
+ */
248
+ FunctionExpression: boolean;
249
+ }>;
250
+ }>,
251
+ ]
252
+ >;
253
+
254
+ /**
255
+ * Rule to enforce valid JSDoc comments.
256
+ *
257
+ * @since 0.4.0
258
+ * @deprecated since 5.10.0
259
+ * @see https://eslint.org/docs/rules/valid-jsdoc
260
+ */
261
+ "valid-jsdoc": Linter.RuleEntry<
262
+ [
263
+ Partial<{
264
+ prefer: Record<string, string>;
265
+ preferType: Record<string, string>;
266
+ /**
267
+ * @default true
268
+ */
269
+ requireReturn: boolean;
270
+ /**
271
+ * @default true
272
+ */
273
+ requireReturnType: boolean;
274
+ /**
275
+ * @remarks
276
+ * Also accept for regular expression pattern
277
+ */
278
+ matchDescription: string;
279
+ /**
280
+ * @default true
281
+ */
282
+ requireParamDescription: boolean;
283
+ /**
284
+ * @default true
285
+ */
286
+ requireReturnDescription: boolean;
287
+ /**
288
+ * @default true
289
+ */
290
+ requireParamType: boolean;
291
+ }>,
292
+ ]
293
+ >;
294
+ }