We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e296c26 commit 5c8ae06Copy full SHA for 5c8ae06
index.d.ts
@@ -1,8 +1,8 @@
1
interface LintIssue {
2
lintId: string;
3
severity: 'error' | 'warning';
4
- node: 'string';
5
- lintMessage: 'string';
+ node: string;
+ lintMessage: string;
6
}
7
8
interface FileLintResult {
@@ -23,7 +23,7 @@ interface LinterResult {
23
type NpmPackageJsonLintOptions = {
24
cwd?: string;
25
config?: object;
26
- configFile: string;
+ configFile?: string;
27
configBaseDirectory?: string;
28
quiet?: boolean;
29
ignorePath?: string;
@@ -45,8 +45,11 @@ declare class NpmPackageJsonLint {
45
46
47
export {
48
+ NpmPackageJsonLint
49
+};
50
+
51
+export type {
52
FileLintResult,
53
LinterResult,
- LintIssue,
- NpmPackageJsonLint
54
+ LintIssue
55
};
0 commit comments