@lark-apaas/fullstack-presets 1.1.17-alpha.2 → 1.1.18
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.
|
@@ -20,7 +20,7 @@ const testFileIgnorePatterns = [
|
|
|
20
20
|
'**/*.spec.ts',
|
|
21
21
|
'**/*.spec.tsx',
|
|
22
22
|
];
|
|
23
|
-
const globalIgnoreServerPatterns = ['
|
|
23
|
+
const globalIgnoreServerPatterns = ['server/database/.introspect/**', ...testFileIgnorePatterns]; // 全局 eslint server ignore
|
|
24
24
|
const globalIgnoreClientPatterns = ['dist', 'node_modules', 'client/src/api/gen', ...testFileIgnorePatterns]; // 全局 eslint client Ignore
|
|
25
25
|
// 只导出纯净的规则配置,不包含基础配置
|
|
26
26
|
// 用户需要在项目配置中自己添加基础配置(eslintJs, tseslint, nestjs 等)
|
|
@@ -21,7 +21,7 @@ const testFileIgnorePatterns = [
|
|
|
21
21
|
'**/*.spec.ts',
|
|
22
22
|
'**/*.spec.tsx',
|
|
23
23
|
];
|
|
24
|
-
const globalIgnoreServerPatterns = ['
|
|
24
|
+
const globalIgnoreServerPatterns = ['server/database/.introspect/**', ...testFileIgnorePatterns]; // 全局 eslint server ignore
|
|
25
25
|
const globalIgnoreClientPatterns = ['dist', 'node_modules', 'client/src/api/gen', ...testFileIgnorePatterns]; // 全局 eslint client Ignore
|
|
26
26
|
// @lark-apaas 插件只注册一次,client 和 server config 共享
|
|
27
27
|
const larkApaasPlugin = {
|