新增: - backend/venv/ - Python 虚拟环境 - backend/start.sh - 启动脚本(使用虚拟环境) - backend/requirements.txt - 依赖列表 - .gitignore - 忽略虚拟环境和缓存文件 说明: - 每个项目使用独立虚拟环境 - 避免依赖冲突 - 启动脚本自动创建和激活虚拟环境
20 lines
1017 B
TypeScript
20 lines
1017 B
TypeScript
export interface ISuppression {
|
|
file: string;
|
|
scopeId: string;
|
|
rule: string;
|
|
}
|
|
export interface IBulkSuppressionsConfig {
|
|
serializedSuppressions: Set<string>;
|
|
jsonObject: IBulkSuppressionsJson;
|
|
newSerializedSuppressions: Set<string>;
|
|
newJsonObject: IBulkSuppressionsJson;
|
|
}
|
|
export interface IBulkSuppressionsJson {
|
|
suppressions: ISuppression[];
|
|
}
|
|
export declare function getSuppressionsConfigForEslintConfigFolderPath(eslintConfigFolderPath: string): IBulkSuppressionsConfig;
|
|
export declare function getAllBulkSuppressionsConfigsByEslintConfigFolderPath(): [string, IBulkSuppressionsConfig][];
|
|
export declare function writeSuppressionsJsonToFile(eslintConfigFolderPath: string, suppressionsConfig: IBulkSuppressionsConfig): void;
|
|
export declare function deleteBulkSuppressionsFileInEslintConfigFolder(eslintConfigFolderPath: string): void;
|
|
export declare function serializeSuppression({ file, scopeId, rule }: ISuppression): string;
|
|
//# sourceMappingURL=bulk-suppressions-file.d.ts.map
|