@redhat-cloud-services/eslint-config-redhat-cloud-services 2.0.9 → 2.0.11
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/package.json +1 -1
- package/index.d.ts +0 -36
- package/lib/rules/deprecated-packages.d.ts +0 -16
- package/lib/rules/disallow-fec-relative-imports.d.ts +0 -16
- package/lib/rules/disallow-pf-migrated-components.d.ts +0 -13
- package/lib/rules/forbid-pf-relative-imports.d.ts +0 -17
- package/lib/rules/insights-disallow-custom-axios.d.ts +0 -15
- package/lib/rules/no-chrome-api-call-from-window.d.ts +0 -11
package/package.json
CHANGED
package/index.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export declare let parser: string;
|
|
2
|
-
export declare namespace env {
|
|
3
|
-
let browser: boolean;
|
|
4
|
-
let node: boolean;
|
|
5
|
-
let es6: boolean;
|
|
6
|
-
let jasmine: boolean;
|
|
7
|
-
let jest: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare namespace settings {
|
|
10
|
-
namespace react {
|
|
11
|
-
let version: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export declare let plugins: string[];
|
|
15
|
-
declare let _extends: string[];
|
|
16
|
-
export { _extends as extends };
|
|
17
|
-
export declare let rules: {
|
|
18
|
-
'no-unused-vars': (string | {
|
|
19
|
-
ignoreRestSiblings: boolean;
|
|
20
|
-
})[];
|
|
21
|
-
'prettier/prettier': (string | {
|
|
22
|
-
singleQuote: boolean;
|
|
23
|
-
})[];
|
|
24
|
-
'rulesdir/disallow-fec-relative-imports': number;
|
|
25
|
-
'rulesdir/deprecated-packages': number;
|
|
26
|
-
'rulesdir/no-chrome-api-call-from-window': number;
|
|
27
|
-
'rulesdir/forbid-pf-relative-imports': number;
|
|
28
|
-
'rulesdir/disallow-pf-migrated-components': number;
|
|
29
|
-
};
|
|
30
|
-
export declare namespace globals {
|
|
31
|
-
let CRC_APP_NAME: string;
|
|
32
|
-
}
|
|
33
|
-
export declare namespace parserOptions {
|
|
34
|
-
let ecmaVersion: number;
|
|
35
|
-
let sourceType: string;
|
|
36
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export namespace meta {
|
|
2
|
-
let type: string;
|
|
3
|
-
namespace docs {
|
|
4
|
-
let description: string;
|
|
5
|
-
let category: string;
|
|
6
|
-
let recommended: boolean;
|
|
7
|
-
}
|
|
8
|
-
let fixable: string;
|
|
9
|
-
namespace messages {
|
|
10
|
-
let avoidUsingDeprecatedWithHint: string;
|
|
11
|
-
let avoidUsingDeprecated: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export function create(context: any): {
|
|
15
|
-
ImportDeclaration: (codePath: any) => void;
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export namespace meta {
|
|
2
|
-
let type: string;
|
|
3
|
-
namespace docs {
|
|
4
|
-
let description: string;
|
|
5
|
-
let category: string;
|
|
6
|
-
let recommended: boolean;
|
|
7
|
-
}
|
|
8
|
-
let fixable: string;
|
|
9
|
-
namespace messages {
|
|
10
|
-
let avoidRelativeImport: string;
|
|
11
|
-
let avoidImportingStyles: string;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export function create(context: any): {
|
|
15
|
-
ImportDeclaration: (codePath: any) => void;
|
|
16
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export namespace meta {
|
|
2
|
-
let type: string;
|
|
3
|
-
namespace docs {
|
|
4
|
-
let description: string;
|
|
5
|
-
let category: string;
|
|
6
|
-
let recommended: boolean;
|
|
7
|
-
}
|
|
8
|
-
let fixable: string;
|
|
9
|
-
let schema: never[];
|
|
10
|
-
}
|
|
11
|
-
export function create(context: any): {
|
|
12
|
-
ImportDeclaration(node: any): void;
|
|
13
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export namespace meta {
|
|
2
|
-
let type: string;
|
|
3
|
-
namespace docs {
|
|
4
|
-
let description: string;
|
|
5
|
-
let category: string;
|
|
6
|
-
let recommended: boolean;
|
|
7
|
-
}
|
|
8
|
-
let fixable: string;
|
|
9
|
-
namespace messages {
|
|
10
|
-
let avoidRelativeImport: string;
|
|
11
|
-
let avoidRelativeIconImport: string;
|
|
12
|
-
let avoidImportingStyles: string;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export function create(context: any): {
|
|
16
|
-
ImportDeclaration: (codePath: any) => void;
|
|
17
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export namespace meta {
|
|
2
|
-
let type: string;
|
|
3
|
-
let fixable: string;
|
|
4
|
-
namespace messages {
|
|
5
|
-
let useSharedAxiosMessage: string;
|
|
6
|
-
}
|
|
7
|
-
namespace docs {
|
|
8
|
-
let description: string;
|
|
9
|
-
let url: string;
|
|
10
|
-
let recommended: boolean;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export function create(context: any): {
|
|
14
|
-
ImportDeclaration: (codePath: any) => void;
|
|
15
|
-
};
|