Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Commit 0b83ba6

Browse files
committed
No changes in import rules
1 parent 1190dba commit 0b83ba6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+8
-126
lines changed

src/rules/import/default.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
import type { RuleConfig } from '../rule-config';
22

33
/**
4-
*
54
*
65
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/default.md)
76
*/
87
export type DefaultRuleConfig = RuleConfig<[]>;
98

109
/**
11-
*
1210
*
1311
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/default.md)
1412
*/
1513
export interface DefaultRule {
1614
/**
17-
*
1815
*
1916
* @see [default](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/default.md)
2017
*/

src/rules/import/dynamic-import-chunkname.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,18 @@ export interface DynamicImportChunknameOption {
1515
export type DynamicImportChunknameOptions = [DynamicImportChunknameOption?];
1616

1717
/**
18-
*
1918
*
2019
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/dynamic-import-chunkname.md)
2120
*/
2221
export type DynamicImportChunknameRuleConfig =
2322
RuleConfig<DynamicImportChunknameOptions>;
2423

2524
/**
26-
*
2725
*
2826
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/dynamic-import-chunkname.md)
2927
*/
3028
export interface DynamicImportChunknameRule {
3129
/**
32-
*
3330
*
3431
* @see [dynamic-import-chunkname](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/dynamic-import-chunkname.md)
3532
*/

src/rules/import/export.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
import type { RuleConfig } from '../rule-config';
22

33
/**
4-
*
54
*
65
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/export.md)
76
*/
87
export type ExportRuleConfig = RuleConfig<[]>;
98

109
/**
11-
*
1210
*
1311
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/export.md)
1412
*/
1513
export interface ExportRule {
1614
/**
17-
*
1815
*
1916
* @see [export](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/export.md)
2017
*/

src/rules/import/exports-last.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
import type { RuleConfig } from '../rule-config';
22

33
/**
4-
*
54
*
65
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/exports-last.md)
76
*/
87
export type ExportsLastRuleConfig = RuleConfig<[]>;
98

109
/**
11-
*
1210
*
1311
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/exports-last.md)
1412
*/
1513
export interface ExportsLastRule {
1614
/**
17-
*
1815
*
1916
* @see [exports-last](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/exports-last.md)
2017
*/

src/rules/import/extensions.d.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export type ExtensionsOption =
1212
'always' | 'ignorePackages' | 'never',
1313
{
1414
pattern?: {
15+
/**
16+
*/
1517
[k: string]: 'always' | 'ignorePackages' | 'never';
1618
};
1719
ignorePackages?: boolean;
@@ -22,6 +24,8 @@ export type ExtensionsOption =
2224
| [
2325
{
2426
pattern?: {
27+
/**
28+
*/
2529
[k: string]: 'always' | 'ignorePackages' | 'never';
2630
};
2731
ignorePackages?: boolean;
@@ -31,6 +35,8 @@ export type ExtensionsOption =
3135
| []
3236
| [
3337
{
38+
/**
39+
*/
3440
[k: string]: 'always' | 'ignorePackages' | 'never';
3541
},
3642
]
@@ -39,6 +45,8 @@ export type ExtensionsOption =
3945
| [
4046
'always' | 'ignorePackages' | 'never',
4147
{
48+
/**
49+
*/
4250
[k: string]: 'always' | 'ignorePackages' | 'never';
4351
},
4452
];
@@ -49,20 +57,17 @@ export type ExtensionsOption =
4957
export type ExtensionsOptions = ExtensionsOption;
5058

5159
/**
52-
*
5360
*
5461
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/extensions.md)
5562
*/
5663
export type ExtensionsRuleConfig = RuleConfig<ExtensionsOptions>;
5764

5865
/**
59-
*
6066
*
6167
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/extensions.md)
6268
*/
6369
export interface ExtensionsRule {
6470
/**
65-
*
6671
*
6772
* @see [extensions](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/extensions.md)
6873
*/

src/rules/import/first.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,17 @@ export type FirstOption = 'absolute-first' | 'disable-absolute-first';
1111
export type FirstOptions = [FirstOption?];
1212

1313
/**
14-
*
1514
*
1615
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/first.md)
1716
*/
1817
export type FirstRuleConfig = RuleConfig<FirstOptions>;
1918

2019
/**
21-
*
2220
*
2321
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/first.md)
2422
*/
2523
export interface FirstRule {
2624
/**
27-
*
2825
*
2926
* @see [first](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/first.md)
3027
*/

src/rules/import/group-exports.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
import type { RuleConfig } from '../rule-config';
22

33
/**
4-
*
54
*
65
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/group-exports.md)
76
*/
87
export type GroupExportsRuleConfig = RuleConfig<[]>;
98

109
/**
11-
*
1210
*
1311
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/group-exports.md)
1412
*/
1513
export interface GroupExportsRule {
1614
/**
17-
*
1815
*
1916
* @see [group-exports](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/group-exports.md)
2017
*/

src/rules/import/imports-first.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ export type ImportsFirstOption = 'absolute-first' | 'disable-absolute-first';
1111
export type ImportsFirstOptions = [ImportsFirstOption?];
1212

1313
/**
14-
*
1514
*
1615
* @deprecated
1716
*
@@ -20,15 +19,13 @@ export type ImportsFirstOptions = [ImportsFirstOption?];
2019
export type ImportsFirstRuleConfig = RuleConfig<ImportsFirstOptions>;
2120

2221
/**
23-
*
2422
*
2523
* @deprecated
2624
*
2725
* @see [imports-first](https://github.com/import-js/eslint-plugin-import/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md)
2826
*/
2927
export interface ImportsFirstRule {
3028
/**
31-
*
3229
*
3330
* @deprecated
3431
*

src/rules/import/max-dependencies.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,17 @@ export interface MaxDependenciesOption {
1414
export type MaxDependenciesOptions = [MaxDependenciesOption?];
1515

1616
/**
17-
*
1817
*
1918
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/max-dependencies.md)
2019
*/
2120
export type MaxDependenciesRuleConfig = RuleConfig<MaxDependenciesOptions>;
2221

2322
/**
24-
*
2523
*
2624
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/max-dependencies.md)
2725
*/
2826
export interface MaxDependenciesRule {
2927
/**
30-
*
3128
*
3229
* @see [max-dependencies](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/max-dependencies.md)
3330
*/

src/rules/import/named.d.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,17 @@ export interface NamedOption {
1313
export type NamedOptions = [NamedOption?];
1414

1515
/**
16-
*
1716
*
1817
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/named.md)
1918
*/
2019
export type NamedRuleConfig = RuleConfig<NamedOptions>;
2120

2221
/**
23-
*
2422
*
2523
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/named.md)
2624
*/
2725
export interface NamedRule {
2826
/**
29-
*
3027
*
3128
* @see [named](https://github.com/import-js/eslint-plugin-import/blob/v2.26.0/docs/rules/named.md)
3229
*/

0 commit comments

Comments
 (0)