@lark-apaas/fullstack-presets 1.1.5-beta.1 → 1.1.5-beta.2

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.
@@ -1,5 +1,3 @@
1
1
  export declare const customRules: {
2
2
  'no-nested-styled-jsx': import("eslint").Rule.RuleModule;
3
- 'require-app-container': import("eslint").Rule.RuleModule;
4
- 'no-direct-capability-api': import("eslint").Rule.RuleModule;
5
3
  };
@@ -5,10 +5,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.customRules = void 0;
7
7
  const no_nested_styled_jsx_1 = __importDefault(require("./no-nested-styled-jsx"));
8
- const require_app_container_1 = __importDefault(require("./require-app-container"));
9
- const no_direct_capability_api_1 = __importDefault(require("./no-direct-capability-api"));
10
8
  exports.customRules = {
11
9
  'no-nested-styled-jsx': no_nested_styled_jsx_1.default,
12
- 'require-app-container': require_app_container_1.default,
13
- 'no-direct-capability-api': no_direct_capability_api_1.default,
14
10
  };
@@ -36,10 +36,6 @@ exports.default = {
36
36
  rules: {
37
37
  // React Hooks 推荐规则
38
38
  ...reactHooks.configs.recommended.rules,
39
- // 平台规则:确保入口文件包含 AppContainer 组件
40
- '@lark-apaas/require-app-container': 'error',
41
- // 平台规则:禁止直接调用 capability 内部 API,应使用 capabilityClient
42
- '@lark-apaas/no-direct-capability-api': 'error',
43
39
  // TypeScript 规则
44
40
  '@typescript-eslint/no-unused-vars': 'off', // 未使用变量检查关闭
45
41
  '@typescript-eslint/no-explicit-any': 'off', // 允许使用 any 类型
@@ -18,8 +18,6 @@ declare const _default: ({
18
18
  '@lark-apaas'?: {
19
19
  rules: {
20
20
  'no-nested-styled-jsx': import("eslint").Rule.RuleModule;
21
- 'require-app-container': import("eslint").Rule.RuleModule;
22
- 'no-direct-capability-api': import("eslint").Rule.RuleModule;
23
21
  };
24
22
  } | undefined;
25
23
  'react-hooks': any;
@@ -17,8 +17,6 @@ export declare const eslintPresets: {
17
17
  '@lark-apaas'?: {
18
18
  rules: {
19
19
  'no-nested-styled-jsx': import("eslint").Rule.RuleModule;
20
- 'require-app-container': import("eslint").Rule.RuleModule;
21
- 'no-direct-capability-api': import("eslint").Rule.RuleModule;
22
20
  };
23
21
  } | undefined;
24
22
  'react-hooks': any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-presets",
3
- "version": "1.1.5-beta.1",
3
+ "version": "1.1.5-beta.2",
4
4
  "files": [
5
5
  "lib"
6
6
  ],