@cspell/cspell-types 7.0.2 → 7.2.0
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/dist/Parser/index.d.mts +2 -0
- package/dist/Parser/index.mjs +2 -0
- package/dist/index.d.mts +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +19 -16
- package/dist/esm/CSpellReporter.d.mts +0 -152
- package/dist/esm/CSpellReporter.d.ts +0 -152
- package/dist/esm/CSpellReporter.js +0 -10
- package/dist/esm/CSpellReporter.mjs +0 -10
- package/dist/esm/CSpellSettingsDef.d.mts +0 -705
- package/dist/esm/CSpellSettingsDef.d.ts +0 -705
- package/dist/esm/CSpellSettingsDef.js +0 -1
- package/dist/esm/CSpellSettingsDef.mjs +0 -1
- package/dist/esm/DictionaryDefinition.d.mts +0 -219
- package/dist/esm/DictionaryDefinition.d.ts +0 -219
- package/dist/esm/DictionaryDefinition.js +0 -1
- package/dist/esm/DictionaryDefinition.mjs +0 -1
- package/dist/esm/DictionaryInformation.d.mts +0 -210
- package/dist/esm/DictionaryInformation.d.ts +0 -210
- package/dist/esm/DictionaryInformation.js +0 -1
- package/dist/esm/DictionaryInformation.mjs +0 -1
- package/dist/esm/InlineDictionary.d.mts +0 -44
- package/dist/esm/InlineDictionary.d.ts +0 -44
- package/dist/esm/InlineDictionary.js +0 -1
- package/dist/esm/InlineDictionary.mjs +0 -1
- package/dist/esm/Parser/index.d.mts +0 -126
- package/dist/esm/Parser/index.d.ts +0 -126
- package/dist/esm/Parser/index.js +0 -1
- package/dist/esm/Parser/index.mjs +0 -1
- package/dist/esm/TextMap.d.mts +0 -36
- package/dist/esm/TextMap.d.ts +0 -36
- package/dist/esm/TextMap.js +0 -1
- package/dist/esm/TextMap.mjs +0 -1
- package/dist/esm/TextOffset.d.mts +0 -23
- package/dist/esm/TextOffset.d.ts +0 -23
- package/dist/esm/TextOffset.js +0 -1
- package/dist/esm/TextOffset.mjs +0 -1
- package/dist/esm/configFields.d.mts +0 -7
- package/dist/esm/configFields.d.ts +0 -7
- package/dist/esm/configFields.js +0 -52
- package/dist/esm/configFields.mjs +0 -52
- package/dist/esm/features.d.mts +0 -38
- package/dist/esm/features.d.ts +0 -38
- package/dist/esm/features.js +0 -2
- package/dist/esm/features.mjs +0 -2
- package/dist/esm/index.d.mts +0 -13
- package/dist/esm/index.d.ts +0 -13
- package/dist/esm/index.js +0 -2
- package/dist/esm/index.mjs +0 -2
- package/dist/esm/suggestionCostsDef.d.mts +0 -88
- package/dist/esm/suggestionCostsDef.d.ts +0 -88
- package/dist/esm/suggestionCostsDef.js +0 -1
- package/dist/esm/suggestionCostsDef.mjs +0 -1
- package/dist/esm/types.d.mts +0 -9
- package/dist/esm/types.d.ts +0 -9
- package/dist/esm/types.js +0 -3
- package/dist/esm/types.mjs +0 -3
- /package/dist/{cjs/CSpellReporter.d.ts → CSpellReporter.d.ts} +0 -0
- /package/dist/{cjs/CSpellReporter.js → CSpellReporter.js} +0 -0
- /package/dist/{cjs/CSpellSettingsDef.d.ts → CSpellSettingsDef.d.ts} +0 -0
- /package/dist/{cjs/CSpellSettingsDef.js → CSpellSettingsDef.js} +0 -0
- /package/dist/{cjs/DictionaryDefinition.d.ts → DictionaryDefinition.d.ts} +0 -0
- /package/dist/{cjs/DictionaryDefinition.js → DictionaryDefinition.js} +0 -0
- /package/dist/{cjs/DictionaryInformation.d.ts → DictionaryInformation.d.ts} +0 -0
- /package/dist/{cjs/DictionaryInformation.js → DictionaryInformation.js} +0 -0
- /package/dist/{cjs/InlineDictionary.d.ts → InlineDictionary.d.ts} +0 -0
- /package/dist/{cjs/InlineDictionary.js → InlineDictionary.js} +0 -0
- /package/dist/{cjs/Parser → Parser}/index.d.ts +0 -0
- /package/dist/{cjs/Parser → Parser}/index.js +0 -0
- /package/dist/{cjs/TextMap.d.ts → TextMap.d.ts} +0 -0
- /package/dist/{cjs/TextMap.js → TextMap.js} +0 -0
- /package/dist/{cjs/TextOffset.d.ts → TextOffset.d.ts} +0 -0
- /package/dist/{cjs/TextOffset.js → TextOffset.js} +0 -0
- /package/dist/{cjs/configFields.d.ts → configFields.d.ts} +0 -0
- /package/dist/{cjs/configFields.js → configFields.js} +0 -0
- /package/dist/{cjs/features.d.ts → features.d.ts} +0 -0
- /package/dist/{cjs/features.js → features.js} +0 -0
- /package/dist/{cjs/index.d.ts → index.d.ts} +0 -0
- /package/dist/{cjs/index.js → index.js} +0 -0
- /package/dist/{cjs/suggestionCostsDef.d.ts → suggestionCostsDef.d.ts} +0 -0
- /package/dist/{cjs/suggestionCostsDef.js → suggestionCostsDef.js} +0 -0
- /package/dist/{cjs/types.d.ts → types.d.ts} +0 -0
- /package/dist/{cjs/types.js → types.js} +0 -0
package/dist/index.d.mts
ADDED
package/dist/index.mjs
ADDED
package/package.json
CHANGED
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "7.0
|
|
6
|
+
"version": "7.2.0",
|
|
7
7
|
"description": "Types for cspell and cspell-lib",
|
|
8
8
|
"type": "commonjs",
|
|
9
|
-
"main": "./dist/
|
|
10
|
-
"module": "./dist/
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"module": "./dist/index.mjs",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
-
"import": "./dist/
|
|
14
|
-
"require": "./dist/
|
|
13
|
+
"import": "./dist/index.mjs",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
15
|
},
|
|
16
16
|
"./Parser": {
|
|
17
|
-
"import": "./dist/
|
|
18
|
-
"require": "./dist/
|
|
17
|
+
"import": "./dist/Parser/index.mjs",
|
|
18
|
+
"require": "./dist/Parser/index.js"
|
|
19
19
|
},
|
|
20
20
|
"./cspell.schema.json": {
|
|
21
21
|
"import": "./cspell.schema.json",
|
|
@@ -28,28 +28,31 @@
|
|
|
28
28
|
"types": "index.d.ts",
|
|
29
29
|
"typesVersions": {
|
|
30
30
|
"*": {
|
|
31
|
+
"*.d.ts": [
|
|
32
|
+
"dist/*.d.ts"
|
|
33
|
+
],
|
|
31
34
|
"*.d.mts": [
|
|
32
|
-
"dist
|
|
35
|
+
"dist/*.d.mts"
|
|
33
36
|
],
|
|
34
37
|
"index.d.ts": [
|
|
35
|
-
"dist/
|
|
38
|
+
"dist/index.d.ts"
|
|
36
39
|
],
|
|
37
|
-
"dist/
|
|
38
|
-
"dist/
|
|
40
|
+
"dist/index.d.ts": [
|
|
41
|
+
"dist/index.d.ts"
|
|
39
42
|
],
|
|
40
43
|
"Parser": [
|
|
41
|
-
"dist/
|
|
44
|
+
"dist/Parser/index.d.ts"
|
|
42
45
|
],
|
|
43
46
|
"*": [
|
|
44
|
-
"dist
|
|
45
|
-
"dist
|
|
47
|
+
"dist/*.d.ts",
|
|
48
|
+
"dist/*/index.d.ts"
|
|
46
49
|
]
|
|
47
50
|
}
|
|
48
51
|
},
|
|
49
52
|
"scripts": {
|
|
50
53
|
"clean": "shx rm -rf dist temp coverage \"*.tsbuildInfo\"",
|
|
51
54
|
"build": "pnpm build:tsc && pnpm run build-schema",
|
|
52
|
-
"build:tsc": "tsc -b tsconfig.json
|
|
55
|
+
"build:tsc": "tsc -b tsconfig.json",
|
|
53
56
|
"build-schema": "ts-json-schema-generator --no-top-ref --path src/CSpellSettingsDef.ts --type CSpellSettings --validation-keywords markdownDescription --validation-keywords scope --validation-keywords deprecated --validation-keywords deprecationMessage -o ./cspell.schema.json && shx cp ./cspell.schema.json ../..",
|
|
54
57
|
"clean-build": "pnpm run clean && pnpm run build",
|
|
55
58
|
"coverage": "vitest run --coverage",
|
|
@@ -87,5 +90,5 @@
|
|
|
87
90
|
"ajv-cli": "^5.0.0",
|
|
88
91
|
"ts-json-schema-generator": "^1.3.0"
|
|
89
92
|
},
|
|
90
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "b08f7ddc3a4aa22cc80c69ca6638b2a943659a31"
|
|
91
94
|
}
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import type { TextDocumentOffset, TextOffset } from './TextOffset.mjs';
|
|
2
|
-
export interface Suggestion {
|
|
3
|
-
/**
|
|
4
|
-
* Word to suggest.
|
|
5
|
-
*/
|
|
6
|
-
word: string;
|
|
7
|
-
/**
|
|
8
|
-
* The suggested word adjusted to match the original case.
|
|
9
|
-
*/
|
|
10
|
-
wordAdjustedToMatchCase?: string;
|
|
11
|
-
/**
|
|
12
|
-
* `true` - if this suggestion can be an automatic fix.
|
|
13
|
-
*/
|
|
14
|
-
isPreferred?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface Issue extends Omit<TextDocumentOffset, 'doc'> {
|
|
17
|
-
/** text surrounding the issue text */
|
|
18
|
-
context: TextOffset;
|
|
19
|
-
/**
|
|
20
|
-
* true if the issue has been flagged as a forbidden word.
|
|
21
|
-
*/
|
|
22
|
-
isFlagged?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* An optional array of replacement strings.
|
|
25
|
-
*/
|
|
26
|
-
suggestions?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* An optional array of suggestions.
|
|
29
|
-
*/
|
|
30
|
-
suggestionsEx?: Suggestion[];
|
|
31
|
-
/**
|
|
32
|
-
* Issues are spelling issues unless otherwise specified.
|
|
33
|
-
*/
|
|
34
|
-
issueType?: IssueType;
|
|
35
|
-
/**
|
|
36
|
-
* Optional message to show.
|
|
37
|
-
*/
|
|
38
|
-
message?: string;
|
|
39
|
-
}
|
|
40
|
-
export declare enum IssueType {
|
|
41
|
-
spelling = 0,
|
|
42
|
-
directive = 1
|
|
43
|
-
}
|
|
44
|
-
export type MessageType = 'Debug' | 'Info' | 'Warning';
|
|
45
|
-
export type MessageTypeLookup = {
|
|
46
|
-
[key in MessageType]: key;
|
|
47
|
-
};
|
|
48
|
-
export declare const MessageTypes: MessageTypeLookup;
|
|
49
|
-
export type MessageEmitter = (message: string, msgType: MessageType) => void;
|
|
50
|
-
export type DebugEmitter = (message: string) => void;
|
|
51
|
-
export type ErrorLike = Error | {
|
|
52
|
-
message: string;
|
|
53
|
-
name: string;
|
|
54
|
-
toString: () => string;
|
|
55
|
-
};
|
|
56
|
-
export type ErrorEmitter = (message: string, error: ErrorLike) => void;
|
|
57
|
-
export type SpellingErrorEmitter = (issue: Issue) => void;
|
|
58
|
-
export type ProgressTypes = 'ProgressFileBegin' | 'ProgressFileComplete';
|
|
59
|
-
export type ProgressItem = ProgressFileBegin | ProgressFileComplete;
|
|
60
|
-
export interface ProgressBase {
|
|
61
|
-
type: ProgressTypes;
|
|
62
|
-
}
|
|
63
|
-
export interface ProgressFileBase extends ProgressBase {
|
|
64
|
-
type: ProgressTypes;
|
|
65
|
-
fileNum: number;
|
|
66
|
-
fileCount: number;
|
|
67
|
-
filename: string;
|
|
68
|
-
}
|
|
69
|
-
export interface ProgressFileComplete extends ProgressFileBase {
|
|
70
|
-
type: 'ProgressFileComplete';
|
|
71
|
-
elapsedTimeMs: number | undefined;
|
|
72
|
-
processed: boolean | undefined;
|
|
73
|
-
numErrors: number | undefined;
|
|
74
|
-
cached?: boolean;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Notification sent just before processing a file.
|
|
78
|
-
*/
|
|
79
|
-
export interface ProgressFileBegin extends ProgressFileBase {
|
|
80
|
-
type: 'ProgressFileBegin';
|
|
81
|
-
}
|
|
82
|
-
export type ProgressEmitter = (p: ProgressItem | ProgressFileComplete) => void;
|
|
83
|
-
export interface RunResult {
|
|
84
|
-
/** Number of files processed. */
|
|
85
|
-
files: number;
|
|
86
|
-
/** Set of files where issues were found. */
|
|
87
|
-
filesWithIssues: Set<string>;
|
|
88
|
-
/** Number of issues found. */
|
|
89
|
-
issues: number;
|
|
90
|
-
/** Number of processing errors. */
|
|
91
|
-
errors: number;
|
|
92
|
-
/** Number files that used results from the cache. */
|
|
93
|
-
cachedFiles?: number;
|
|
94
|
-
}
|
|
95
|
-
export type ResultEmitter = (result: RunResult) => void | Promise<void>;
|
|
96
|
-
export interface CSpellReporter {
|
|
97
|
-
issue?: SpellingErrorEmitter;
|
|
98
|
-
info?: MessageEmitter;
|
|
99
|
-
debug?: DebugEmitter;
|
|
100
|
-
error?: ErrorEmitter;
|
|
101
|
-
progress?: ProgressEmitter;
|
|
102
|
-
result?: ResultEmitter;
|
|
103
|
-
}
|
|
104
|
-
export interface ReporterConfigurationBase {
|
|
105
|
-
/**
|
|
106
|
-
* The maximum number of problems to report in a file.
|
|
107
|
-
*
|
|
108
|
-
* @default 10000
|
|
109
|
-
*/
|
|
110
|
-
maxNumberOfProblems?: number;
|
|
111
|
-
/**
|
|
112
|
-
* The maximum number of times the same word can be flagged as an error in a file.
|
|
113
|
-
*
|
|
114
|
-
* @default 5
|
|
115
|
-
*/
|
|
116
|
-
maxDuplicateProblems?: number;
|
|
117
|
-
/**
|
|
118
|
-
* The minimum length of a word before checking it against a dictionary.
|
|
119
|
-
*
|
|
120
|
-
* @default 4
|
|
121
|
-
*/
|
|
122
|
-
minWordLength?: number;
|
|
123
|
-
}
|
|
124
|
-
interface ReporterCommandLineOptions {
|
|
125
|
-
/**
|
|
126
|
-
* Display verbose information
|
|
127
|
-
*/
|
|
128
|
-
verbose?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Show extensive output.
|
|
131
|
-
*/
|
|
132
|
-
debug?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Only report the words, no line numbers or file names.
|
|
135
|
-
*/
|
|
136
|
-
wordsOnly?: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* unique errors per file only.
|
|
139
|
-
*/
|
|
140
|
-
unique?: boolean;
|
|
141
|
-
/**
|
|
142
|
-
* root directory, defaults to `cwd`
|
|
143
|
-
*/
|
|
144
|
-
root?: string;
|
|
145
|
-
}
|
|
146
|
-
export interface ReporterConfiguration extends ReporterCommandLineOptions, ReporterConfigurationBase {
|
|
147
|
-
}
|
|
148
|
-
export interface CSpellReporterModule {
|
|
149
|
-
getReporter: (settings: unknown, config: ReporterConfiguration) => CSpellReporter;
|
|
150
|
-
}
|
|
151
|
-
export {};
|
|
152
|
-
//# sourceMappingURL=CSpellReporter.d.mts.map
|
|
@@ -1,152 +0,0 @@
|
|
|
1
|
-
import type { TextDocumentOffset, TextOffset } from './TextOffset.js';
|
|
2
|
-
export interface Suggestion {
|
|
3
|
-
/**
|
|
4
|
-
* Word to suggest.
|
|
5
|
-
*/
|
|
6
|
-
word: string;
|
|
7
|
-
/**
|
|
8
|
-
* The suggested word adjusted to match the original case.
|
|
9
|
-
*/
|
|
10
|
-
wordAdjustedToMatchCase?: string;
|
|
11
|
-
/**
|
|
12
|
-
* `true` - if this suggestion can be an automatic fix.
|
|
13
|
-
*/
|
|
14
|
-
isPreferred?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export interface Issue extends Omit<TextDocumentOffset, 'doc'> {
|
|
17
|
-
/** text surrounding the issue text */
|
|
18
|
-
context: TextOffset;
|
|
19
|
-
/**
|
|
20
|
-
* true if the issue has been flagged as a forbidden word.
|
|
21
|
-
*/
|
|
22
|
-
isFlagged?: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* An optional array of replacement strings.
|
|
25
|
-
*/
|
|
26
|
-
suggestions?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* An optional array of suggestions.
|
|
29
|
-
*/
|
|
30
|
-
suggestionsEx?: Suggestion[];
|
|
31
|
-
/**
|
|
32
|
-
* Issues are spelling issues unless otherwise specified.
|
|
33
|
-
*/
|
|
34
|
-
issueType?: IssueType;
|
|
35
|
-
/**
|
|
36
|
-
* Optional message to show.
|
|
37
|
-
*/
|
|
38
|
-
message?: string;
|
|
39
|
-
}
|
|
40
|
-
export declare enum IssueType {
|
|
41
|
-
spelling = 0,
|
|
42
|
-
directive = 1
|
|
43
|
-
}
|
|
44
|
-
export type MessageType = 'Debug' | 'Info' | 'Warning';
|
|
45
|
-
export type MessageTypeLookup = {
|
|
46
|
-
[key in MessageType]: key;
|
|
47
|
-
};
|
|
48
|
-
export declare const MessageTypes: MessageTypeLookup;
|
|
49
|
-
export type MessageEmitter = (message: string, msgType: MessageType) => void;
|
|
50
|
-
export type DebugEmitter = (message: string) => void;
|
|
51
|
-
export type ErrorLike = Error | {
|
|
52
|
-
message: string;
|
|
53
|
-
name: string;
|
|
54
|
-
toString: () => string;
|
|
55
|
-
};
|
|
56
|
-
export type ErrorEmitter = (message: string, error: ErrorLike) => void;
|
|
57
|
-
export type SpellingErrorEmitter = (issue: Issue) => void;
|
|
58
|
-
export type ProgressTypes = 'ProgressFileBegin' | 'ProgressFileComplete';
|
|
59
|
-
export type ProgressItem = ProgressFileBegin | ProgressFileComplete;
|
|
60
|
-
export interface ProgressBase {
|
|
61
|
-
type: ProgressTypes;
|
|
62
|
-
}
|
|
63
|
-
export interface ProgressFileBase extends ProgressBase {
|
|
64
|
-
type: ProgressTypes;
|
|
65
|
-
fileNum: number;
|
|
66
|
-
fileCount: number;
|
|
67
|
-
filename: string;
|
|
68
|
-
}
|
|
69
|
-
export interface ProgressFileComplete extends ProgressFileBase {
|
|
70
|
-
type: 'ProgressFileComplete';
|
|
71
|
-
elapsedTimeMs: number | undefined;
|
|
72
|
-
processed: boolean | undefined;
|
|
73
|
-
numErrors: number | undefined;
|
|
74
|
-
cached?: boolean;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Notification sent just before processing a file.
|
|
78
|
-
*/
|
|
79
|
-
export interface ProgressFileBegin extends ProgressFileBase {
|
|
80
|
-
type: 'ProgressFileBegin';
|
|
81
|
-
}
|
|
82
|
-
export type ProgressEmitter = (p: ProgressItem | ProgressFileComplete) => void;
|
|
83
|
-
export interface RunResult {
|
|
84
|
-
/** Number of files processed. */
|
|
85
|
-
files: number;
|
|
86
|
-
/** Set of files where issues were found. */
|
|
87
|
-
filesWithIssues: Set<string>;
|
|
88
|
-
/** Number of issues found. */
|
|
89
|
-
issues: number;
|
|
90
|
-
/** Number of processing errors. */
|
|
91
|
-
errors: number;
|
|
92
|
-
/** Number files that used results from the cache. */
|
|
93
|
-
cachedFiles?: number;
|
|
94
|
-
}
|
|
95
|
-
export type ResultEmitter = (result: RunResult) => void | Promise<void>;
|
|
96
|
-
export interface CSpellReporter {
|
|
97
|
-
issue?: SpellingErrorEmitter;
|
|
98
|
-
info?: MessageEmitter;
|
|
99
|
-
debug?: DebugEmitter;
|
|
100
|
-
error?: ErrorEmitter;
|
|
101
|
-
progress?: ProgressEmitter;
|
|
102
|
-
result?: ResultEmitter;
|
|
103
|
-
}
|
|
104
|
-
export interface ReporterConfigurationBase {
|
|
105
|
-
/**
|
|
106
|
-
* The maximum number of problems to report in a file.
|
|
107
|
-
*
|
|
108
|
-
* @default 10000
|
|
109
|
-
*/
|
|
110
|
-
maxNumberOfProblems?: number;
|
|
111
|
-
/**
|
|
112
|
-
* The maximum number of times the same word can be flagged as an error in a file.
|
|
113
|
-
*
|
|
114
|
-
* @default 5
|
|
115
|
-
*/
|
|
116
|
-
maxDuplicateProblems?: number;
|
|
117
|
-
/**
|
|
118
|
-
* The minimum length of a word before checking it against a dictionary.
|
|
119
|
-
*
|
|
120
|
-
* @default 4
|
|
121
|
-
*/
|
|
122
|
-
minWordLength?: number;
|
|
123
|
-
}
|
|
124
|
-
interface ReporterCommandLineOptions {
|
|
125
|
-
/**
|
|
126
|
-
* Display verbose information
|
|
127
|
-
*/
|
|
128
|
-
verbose?: boolean;
|
|
129
|
-
/**
|
|
130
|
-
* Show extensive output.
|
|
131
|
-
*/
|
|
132
|
-
debug?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Only report the words, no line numbers or file names.
|
|
135
|
-
*/
|
|
136
|
-
wordsOnly?: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* unique errors per file only.
|
|
139
|
-
*/
|
|
140
|
-
unique?: boolean;
|
|
141
|
-
/**
|
|
142
|
-
* root directory, defaults to `cwd`
|
|
143
|
-
*/
|
|
144
|
-
root?: string;
|
|
145
|
-
}
|
|
146
|
-
export interface ReporterConfiguration extends ReporterCommandLineOptions, ReporterConfigurationBase {
|
|
147
|
-
}
|
|
148
|
-
export interface CSpellReporterModule {
|
|
149
|
-
getReporter: (settings: unknown, config: ReporterConfiguration) => CSpellReporter;
|
|
150
|
-
}
|
|
151
|
-
export {};
|
|
152
|
-
//# sourceMappingURL=CSpellReporter.d.ts.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var IssueType;
|
|
2
|
-
(function (IssueType) {
|
|
3
|
-
IssueType[IssueType["spelling"] = 0] = "spelling";
|
|
4
|
-
IssueType[IssueType["directive"] = 1] = "directive";
|
|
5
|
-
})(IssueType || (IssueType = {}));
|
|
6
|
-
export const MessageTypes = {
|
|
7
|
-
Debug: 'Debug',
|
|
8
|
-
Info: 'Info',
|
|
9
|
-
Warning: 'Warning',
|
|
10
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export var IssueType;
|
|
2
|
-
(function (IssueType) {
|
|
3
|
-
IssueType[IssueType["spelling"] = 0] = "spelling";
|
|
4
|
-
IssueType[IssueType["directive"] = 1] = "directive";
|
|
5
|
-
})(IssueType || (IssueType = {}));
|
|
6
|
-
export const MessageTypes = {
|
|
7
|
-
Debug: 'Debug',
|
|
8
|
-
Info: 'Info',
|
|
9
|
-
Warning: 'Warning',
|
|
10
|
-
};
|