规范:统一自有源码中文注释和中文提交约定
This commit is contained in:
1 parent
bdb9b00b6e
commit
83b7484558
17 files changed
+39
-36
No files matched your search
@@ -38,7 +38,7 @@ function existsModule(file) {
|
||||
}
|
||||
function checkImport(source, owner) {
|
||||
// # 开头的虚拟模块由 Nuxt 生成,本地文件与 npm 包则分别核对实际路径及依赖声明。
|
||||
if (source.startsWith("#")) return; // Nuxt-generated public/virtual modules.
|
||||
if (source.startsWith("#")) return; // Nuxt 生成的公共/虚拟模块。
|
||||
if (source.startsWith("~/")) {
|
||||
if (!existsModule(path.join(root, "app", source.slice(2))))
|
||||
failures.push(`${owner}: missing ${source}`);
|
||||
|
||||
Reference in new issue
Block a user