@siberiacancode/eslint 2.5.0 → 2.5.1
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/index.d.ts +19 -19
- package/index.js +0 -18
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
declare module '@siberiacancode/eslint' {
|
|
2
|
-
declare type Eslint = (
|
|
3
|
-
options?: import('@antfu/eslint-config').OptionsConfig & {
|
|
4
|
-
jsxA11y?: boolean;
|
|
5
|
-
next?: boolean;
|
|
6
|
-
} & import('@antfu/eslint-config').TypedFlatConfigItem,
|
|
7
|
-
...userConfigs: import('@antfu/eslint-config').Awaitable<
|
|
8
|
-
| import('@antfu/eslint-config').
|
|
9
|
-
| import('@antfu/eslint-config').TypedFlatConfigItem
|
|
10
|
-
| import('@antfu/eslint-config').
|
|
11
|
-
| Linter.Config[]
|
|
12
|
-
>[]
|
|
13
|
-
) => import('@antfu/eslint-config').FlatConfigComposer<
|
|
14
|
-
import('@antfu/eslint-config').TypedFlatConfigItem,
|
|
15
|
-
import('@antfu/eslint-config').ConfigNames
|
|
16
|
-
>;
|
|
17
|
-
|
|
18
|
-
export const eslint: Eslint;
|
|
19
|
-
}
|
|
1
|
+
declare module '@siberiacancode/eslint' {
|
|
2
|
+
declare type Eslint = (
|
|
3
|
+
options?: import('@antfu/eslint-config').OptionsConfig & {
|
|
4
|
+
jsxA11y?: boolean;
|
|
5
|
+
next?: boolean;
|
|
6
|
+
} & import('@antfu/eslint-config').TypedFlatConfigItem,
|
|
7
|
+
...userConfigs: import('@antfu/eslint-config').Awaitable<
|
|
8
|
+
| import('@antfu/eslint-config').FlatConfigComposer<any, any>
|
|
9
|
+
| import('@antfu/eslint-config').TypedFlatConfigItem
|
|
10
|
+
| import('@antfu/eslint-config').TypedFlatConfigItem[]
|
|
11
|
+
| Linter.Config[]
|
|
12
|
+
>[]
|
|
13
|
+
) => import('@antfu/eslint-config').FlatConfigComposer<
|
|
14
|
+
import('@antfu/eslint-config').TypedFlatConfigItem,
|
|
15
|
+
import('@antfu/eslint-config').ConfigNames
|
|
16
|
+
>;
|
|
17
|
+
|
|
18
|
+
export const eslint: Eslint;
|
|
19
|
+
}
|
package/index.js
CHANGED
|
@@ -173,24 +173,6 @@ export const eslint = ({ jsxA11y = false, next = false, ...options }, ...configs
|
|
|
173
173
|
type: 'alphabetical'
|
|
174
174
|
}
|
|
175
175
|
],
|
|
176
|
-
'perfectionist/sort-object-types': [
|
|
177
|
-
'error',
|
|
178
|
-
{
|
|
179
|
-
matcher: 'minimatch',
|
|
180
|
-
order: 'asc',
|
|
181
|
-
specialCharacters: 'keep',
|
|
182
|
-
type: 'alphabetical'
|
|
183
|
-
}
|
|
184
|
-
],
|
|
185
|
-
'perfectionist/sort-objects': [
|
|
186
|
-
'error',
|
|
187
|
-
{
|
|
188
|
-
matcher: 'minimatch',
|
|
189
|
-
order: 'asc',
|
|
190
|
-
specialCharacters: 'keep',
|
|
191
|
-
type: 'alphabetical'
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
176
|
'perfectionist/sort-union-types': [
|
|
195
177
|
'error',
|
|
196
178
|
{
|