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.
- checksums.yaml +4 -4
- data/lib/immosquare-cleaner/version.rb +1 -1
- data/linters/rubocop-3.3.4.yml +2 -0
- data/linters/rubocop.yml +2 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/LICENSE-MIT +21 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/README.md +412 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/index.d.ts +61 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/index.js +618 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/legacy.js +539 -0
- data/node_modules/@eslint/eslintrc/node_modules/ignore/package.json +73 -0
- data/node_modules/@eslint/js/package.json +1 -1
- data/node_modules/@eslint/plugin-kit/LICENSE +201 -0
- data/node_modules/@eslint/plugin-kit/README.md +224 -0
- data/node_modules/@eslint/plugin-kit/dist/cjs/index.cjs +555 -0
- data/node_modules/@eslint/plugin-kit/dist/cjs/index.d.cts +239 -0
- data/node_modules/@eslint/plugin-kit/dist/cjs/types.ts +7 -0
- data/node_modules/@eslint/plugin-kit/dist/esm/index.d.ts +239 -0
- data/node_modules/@eslint/plugin-kit/dist/esm/index.js +551 -0
- data/node_modules/@eslint/plugin-kit/dist/esm/types.d.ts +6 -0
- data/node_modules/@eslint/plugin-kit/dist/esm/types.ts +7 -0
- data/node_modules/@eslint/plugin-kit/package.json +62 -0
- data/node_modules/eslint/README.md +2 -2
- data/node_modules/eslint/lib/config/config.js +278 -0
- data/node_modules/eslint/lib/config/flat-config-array.js +3 -204
- data/node_modules/eslint/lib/languages/js/source-code/source-code.js +29 -94
- data/node_modules/eslint/lib/linter/apply-disable-directives.js +17 -28
- data/node_modules/eslint/lib/linter/file-context.js +134 -0
- data/node_modules/eslint/lib/linter/linter.js +37 -42
- data/node_modules/eslint/lib/rules/id-length.js +1 -0
- data/node_modules/eslint/lib/rules/no-invalid-regexp.js +34 -18
- data/node_modules/eslint/lib/rules/require-unicode-regexp.js +95 -14
- data/node_modules/eslint/lib/rules/utils/regular-expressions.js +11 -3
- data/node_modules/eslint/lib/types/index.d.ts +1635 -0
- data/node_modules/eslint/lib/types/rules/best-practices.d.ts +1075 -0
- data/node_modules/eslint/lib/types/rules/deprecated.d.ts +294 -0
- data/node_modules/eslint/lib/types/rules/ecmascript-6.d.ts +561 -0
- data/node_modules/eslint/lib/types/rules/index.d.ts +50 -0
- data/node_modules/eslint/lib/types/rules/node-commonjs.d.ts +160 -0
- data/node_modules/eslint/lib/types/rules/possible-errors.d.ts +598 -0
- data/node_modules/eslint/lib/types/rules/strict-mode.d.ts +38 -0
- data/node_modules/eslint/lib/types/rules/stylistic-issues.d.ts +1932 -0
- data/node_modules/eslint/lib/types/rules/variables.d.ts +221 -0
- data/node_modules/eslint/lib/types/use-at-your-own-risk.d.ts +85 -0
- data/node_modules/eslint/package.json +20 -8
- data/node_modules/ignore/index.d.ts +1 -1
- data/node_modules/ignore/index.js +25 -7
- data/node_modules/ignore/legacy.js +34 -14
- data/node_modules/ignore/package.json +12 -11
- data/node_modules/npm-check-updates/build/index.js +282 -282
- data/node_modules/npm-check-updates/build/index.js.map +1 -1
- data/node_modules/npm-check-updates/package.json +1 -1
- data/package.json +3 -3
- metadata +31 -4
- data/linters/rubocop-2.7.6.yml +0 -88
- data/node_modules/eslint/lib/linter/config-comment-parser.js +0 -169
@@ -0,0 +1,160 @@
|
|
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 NodeJSAndCommonJS extends Linter.RulesRecord {
|
31
|
+
/**
|
32
|
+
* Rule to require `return` statements after callbacks.
|
33
|
+
*
|
34
|
+
* @since 1.0.0-rc-1
|
35
|
+
* @see https://eslint.org/docs/rules/callback-return
|
36
|
+
*/
|
37
|
+
"callback-return": Linter.RuleEntry<[string[]]>;
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Rule to require `require()` calls to be placed at top-level module scope.
|
41
|
+
*
|
42
|
+
* @since 1.4.0
|
43
|
+
* @see https://eslint.org/docs/rules/global-require
|
44
|
+
*/
|
45
|
+
"global-require": Linter.RuleEntry<[]>;
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Rule to require error handling in callbacks.
|
49
|
+
*
|
50
|
+
* @since 0.4.5
|
51
|
+
* @see https://eslint.org/docs/rules/handle-callback-err
|
52
|
+
*/
|
53
|
+
"handle-callback-err": Linter.RuleEntry<[string]>;
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Rule to disallow use of the `Buffer()` constructor.
|
57
|
+
*
|
58
|
+
* @since 4.0.0-alpha.0
|
59
|
+
* @see https://eslint.org/docs/rules/no-buffer-constructor
|
60
|
+
*/
|
61
|
+
"no-buffer-constructor": Linter.RuleEntry<[]>;
|
62
|
+
|
63
|
+
/**
|
64
|
+
* Rule to disallow `require` calls to be mixed with regular variable declarations.
|
65
|
+
*
|
66
|
+
* @since 0.0.9
|
67
|
+
* @see https://eslint.org/docs/rules/no-mixed-requires
|
68
|
+
*/
|
69
|
+
"no-mixed-requires": Linter.RuleEntry<
|
70
|
+
[
|
71
|
+
Partial<{
|
72
|
+
/**
|
73
|
+
* @default false
|
74
|
+
*/
|
75
|
+
grouping: boolean;
|
76
|
+
/**
|
77
|
+
* @default false
|
78
|
+
*/
|
79
|
+
allowCall: boolean;
|
80
|
+
}>,
|
81
|
+
]
|
82
|
+
>;
|
83
|
+
|
84
|
+
/**
|
85
|
+
* Rule to disallow `new` operators with calls to `require`.
|
86
|
+
*
|
87
|
+
* @since 0.6.0
|
88
|
+
* @see https://eslint.org/docs/rules/no-new-require
|
89
|
+
*/
|
90
|
+
"no-new-require": Linter.RuleEntry<[]>;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Rule to disallow string concatenation when using `__dirname` and `__filename`.
|
94
|
+
*
|
95
|
+
* @since 0.4.0
|
96
|
+
* @see https://eslint.org/docs/rules/no-path-concat
|
97
|
+
*/
|
98
|
+
"no-path-concat": Linter.RuleEntry<[]>;
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Rule to disallow the use of `process.env`.
|
102
|
+
*
|
103
|
+
* @since 0.9.0
|
104
|
+
* @see https://eslint.org/docs/rules/no-process-env
|
105
|
+
*/
|
106
|
+
"no-process-env": Linter.RuleEntry<[]>;
|
107
|
+
|
108
|
+
/**
|
109
|
+
* Rule to disallow the use of `process.exit()`.
|
110
|
+
*
|
111
|
+
* @since 0.4.0
|
112
|
+
* @see https://eslint.org/docs/rules/no-process-exit
|
113
|
+
*/
|
114
|
+
"no-process-exit": Linter.RuleEntry<[]>;
|
115
|
+
|
116
|
+
/**
|
117
|
+
* Rule to disallow specified modules when loaded by `require`.
|
118
|
+
*
|
119
|
+
* @since 0.6.0
|
120
|
+
* @see https://eslint.org/docs/rules/no-restricted-modules
|
121
|
+
*/
|
122
|
+
"no-restricted-modules": Linter.RuleEntry<
|
123
|
+
[
|
124
|
+
...Array<
|
125
|
+
| string
|
126
|
+
| {
|
127
|
+
name: string;
|
128
|
+
message?: string | undefined;
|
129
|
+
}
|
130
|
+
| Partial<{
|
131
|
+
paths: Array<
|
132
|
+
| string
|
133
|
+
| {
|
134
|
+
name: string;
|
135
|
+
message?: string | undefined;
|
136
|
+
}
|
137
|
+
>;
|
138
|
+
patterns: string[];
|
139
|
+
}>
|
140
|
+
>,
|
141
|
+
]
|
142
|
+
>;
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Rule to disallow synchronous methods.
|
146
|
+
*
|
147
|
+
* @since 0.0.9
|
148
|
+
* @see https://eslint.org/docs/rules/no-sync
|
149
|
+
*/
|
150
|
+
"no-sync": Linter.RuleEntry<
|
151
|
+
[
|
152
|
+
{
|
153
|
+
/**
|
154
|
+
* @default false
|
155
|
+
*/
|
156
|
+
allowAtRootLevel: boolean;
|
157
|
+
},
|
158
|
+
]
|
159
|
+
>;
|
160
|
+
}
|