@n8n/eslint-plugin-community-nodes 0.21.0 → 0.23.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.
Files changed (67) hide show
  1. package/.turbo/turbo-build$colon$unchecked.log +1 -1
  2. package/README.md +52 -46
  3. package/dist/plugin.d.ts +36 -0
  4. package/dist/plugin.d.ts.map +1 -1
  5. package/dist/plugin.js +12 -0
  6. package/dist/plugin.js.map +1 -1
  7. package/dist/rules/ai-node-package-json.d.ts.map +1 -1
  8. package/dist/rules/ai-node-package-json.js +4 -3
  9. package/dist/rules/ai-node-package-json.js.map +1 -1
  10. package/dist/rules/index.d.ts +6 -0
  11. package/dist/rules/index.d.ts.map +1 -1
  12. package/dist/rules/index.js +12 -0
  13. package/dist/rules/index.js.map +1 -1
  14. package/dist/rules/no-asterisk-in-option-names.d.ts +2 -0
  15. package/dist/rules/no-asterisk-in-option-names.d.ts.map +1 -0
  16. package/dist/rules/no-asterisk-in-option-names.js +90 -0
  17. package/dist/rules/no-asterisk-in-option-names.js.map +1 -0
  18. package/dist/rules/no-duplicate-param-options.d.ts +2 -0
  19. package/dist/rules/no-duplicate-param-options.d.ts.map +1 -0
  20. package/dist/rules/no-duplicate-param-options.js +97 -0
  21. package/dist/rules/no-duplicate-param-options.js.map +1 -0
  22. package/dist/rules/node-class-description-name-camelcase.d.ts +2 -0
  23. package/dist/rules/node-class-description-name-camelcase.d.ts.map +1 -0
  24. package/dist/rules/node-class-description-name-camelcase.js +92 -0
  25. package/dist/rules/node-class-description-name-camelcase.js.map +1 -0
  26. package/dist/rules/require-mit-license.d.ts +2 -0
  27. package/dist/rules/require-mit-license.d.ts.map +1 -0
  28. package/dist/rules/require-mit-license.js +57 -0
  29. package/dist/rules/require-mit-license.js.map +1 -0
  30. package/dist/rules/require-param-default.d.ts +15 -0
  31. package/dist/rules/require-param-default.d.ts.map +1 -0
  32. package/dist/rules/require-param-default.js +75 -0
  33. package/dist/rules/require-param-default.js.map +1 -0
  34. package/dist/rules/trigger-node-conventions.d.ts +2 -0
  35. package/dist/rules/trigger-node-conventions.d.ts.map +1 -0
  36. package/dist/rules/trigger-node-conventions.js +70 -0
  37. package/dist/rules/trigger-node-conventions.js.map +1 -0
  38. package/dist/rules/valid-peer-dependencies.d.ts.map +1 -1
  39. package/dist/rules/valid-peer-dependencies.js +5 -3
  40. package/dist/rules/valid-peer-dependencies.js.map +1 -1
  41. package/dist/typecheck.tsbuildinfo +1 -1
  42. package/docs/rules/no-asterisk-in-option-names.md +61 -0
  43. package/docs/rules/no-duplicate-param-options.md +46 -0
  44. package/docs/rules/node-class-description-name-camelcase.md +41 -0
  45. package/docs/rules/require-mit-license.md +38 -0
  46. package/docs/rules/require-param-default.md +60 -0
  47. package/docs/rules/trigger-node-conventions.md +49 -0
  48. package/docs/rules/valid-peer-dependencies.md +1 -1
  49. package/package.json +6 -5
  50. package/src/plugin.ts +12 -0
  51. package/src/rules/ai-node-package-json.test.ts +5 -0
  52. package/src/rules/ai-node-package-json.ts +4 -3
  53. package/src/rules/index.ts +12 -0
  54. package/src/rules/no-asterisk-in-option-names.test.ts +185 -0
  55. package/src/rules/no-asterisk-in-option-names.ts +111 -0
  56. package/src/rules/no-duplicate-param-options.test.ts +125 -0
  57. package/src/rules/no-duplicate-param-options.ts +125 -0
  58. package/src/rules/node-class-description-name-camelcase.test.ts +121 -0
  59. package/src/rules/node-class-description-name-camelcase.ts +114 -0
  60. package/src/rules/require-mit-license.test.ts +67 -0
  61. package/src/rules/require-mit-license.ts +65 -0
  62. package/src/rules/require-param-default.test.ts +227 -0
  63. package/src/rules/require-param-default.ts +89 -0
  64. package/src/rules/trigger-node-conventions.test.ts +110 -0
  65. package/src/rules/trigger-node-conventions.ts +92 -0
  66. package/src/rules/valid-peer-dependencies.test.ts +5 -0
  67. package/src/rules/valid-peer-dependencies.ts +5 -3
@@ -1,4 +1,4 @@
1
1
 
2
- > @n8n/eslint-plugin-community-nodes@0.21.0 build:unchecked /home/runner/work/n8n/n8n/packages/@n8n/eslint-plugin-community-nodes
2
+ > @n8n/eslint-plugin-community-nodes@0.23.0 build:unchecked /home/runner/work/n8n/n8n/packages/@n8n/eslint-plugin-community-nodes
3
3
  > tsc --project tsconfig.build.json --noCheck
4
4
 
package/README.md CHANGED
@@ -44,51 +44,57 @@ export default [
44
44
  💡 Manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).\
45
45
  ❌ Deprecated.
46
46
 
47
- | Name                                | Description | 💼 | ⚠️ | 🔧 | 💡 | ❌ |
48
- | :--------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--- | :--- | :- | :- | :- |
49
- | [ai-node-package-json](docs/rules/ai-node-package-json.md) | Enforce consistency between n8n.aiNodeSdkVersion and ai-node-sdk peer dependency in community node packages | ✅ ☑️ | | | | |
50
- | [cred-class-field-icon-missing](docs/rules/cred-class-field-icon-missing.md) | Credential class must have an `icon` property defined | ✅ ☑️ | | | 💡 | |
51
- | [cred-class-name-field-conventions](docs/rules/cred-class-name-field-conventions.md) | Credential `name` field must end with `Api` and start with a lowercase letter | ✅ ☑️ | | 🔧 | | |
52
- | [cred-class-name-suffix](docs/rules/cred-class-name-suffix.md) | Credential class names must be suffixed with `Api` | ✅ ☑️ | | 🔧 | | |
53
- | [cred-class-oauth2-naming](docs/rules/cred-class-oauth2-naming.md) | OAuth2 credentials must include `OAuth2` in the class name, `name`, and `displayName` | ✅ ☑️ | | 🔧 | | |
54
- | [cred-filename-against-convention](docs/rules/cred-filename-against-convention.md) | Credential filename must match the credential class name | ✅ ☑️ | | | | |
55
- | [credential-documentation-url](docs/rules/credential-documentation-url.md) | Enforce valid credential documentationUrl format (URL or lowercase alphanumeric slug) | ✅ ☑️ | | 🔧 | | |
56
- | [credential-password-field](docs/rules/credential-password-field.md) | Ensure credential fields with sensitive names have typeOptions.password = true | ✅ ☑️ | | 🔧 | | |
57
- | [credential-test-required](docs/rules/credential-test-required.md) | Ensure credentials have a credential test | ✅ ☑️ | | | 💡 | |
58
- | [icon-prefer-themed-variants](docs/rules/icon-prefer-themed-variants.md) | Encourage node and credential icons to provide light/dark variants instead of a single icon file | | ✅ ☑️ | | | |
59
- | [icon-validation](docs/rules/icon-validation.md) | Validate node and credential icon files exist, use the file: protocol, and that light/dark icons are different | ✅ ☑️ | | | 💡 | |
60
- | [missing-paired-item](docs/rules/missing-paired-item.md) | Require pairedItem on INodeExecutionData objects in execute() methods to preserve item linking. | ✅ ☑️ | | | | |
61
- | [n8n-object-validation](docs/rules/n8n-object-validation.md) | Validate the structure of the "n8n" object in community node package.json (required keys, types, and dist/ paths) | ✅ ☑️ | | | | |
62
- | [no-builder-hint-leakage](docs/rules/no-builder-hint-leakage.md) | Disallow wire-format expression syntax (={{...}}) and NodeConnectionType string literals in builderHint texts and AI-builder prompts. Use expr() and SDK-canonical references instead. | ✅ ☑️ | | | | |
63
- | [no-credential-reuse](docs/rules/no-credential-reuse.md) | Prevent credential re-use security issues by ensuring nodes only reference credentials from the same package | ✅ ☑️ | | | 💡 | |
64
- | [no-dangerous-functions](docs/rules/no-dangerous-functions.md) | Disallow `eval`, the `Function` constructor, and `child_process` process-spawning functions (`exec`, `spawn`, etc.) in community nodes. | ✅ ☑️ | | | | |
65
- | [no-deprecated-workflow-functions](docs/rules/no-deprecated-workflow-functions.md) | Disallow usage of deprecated functions and types from n8n-workflow package | ✅ ☑️ | | | 💡 | |
66
- | [no-emoji-in-options](docs/rules/no-emoji-in-options.md) | Disallow emoji characters in node option name and displayName values | ✅ ☑️ | | | | |
67
- | [no-forbidden-lifecycle-scripts](docs/rules/no-forbidden-lifecycle-scripts.md) | Ban lifecycle scripts (prepare, preinstall, postinstall, etc.) in community node packages | ✅ ☑️ | | | | |
68
- | [no-http-request-with-manual-auth](docs/rules/no-http-request-with-manual-auth.md) | Disallow this.helpers.httpRequest() in functions that call this.getCredentials(). Use this.helpers.httpRequestWithAuthentication() instead. | ✅ ☑️ | | | | |
69
- | [no-overrides-field](docs/rules/no-overrides-field.md) | Ban the "overrides" field in community node package.json | ✅ ☑️ | | | | |
70
- | [no-restricted-globals](docs/rules/no-restricted-globals.md) | Disallow usage of restricted global variables in community nodes. | ✅ | | | | |
71
- | [no-restricted-imports](docs/rules/no-restricted-imports.md) | Disallow usage of restricted imports in community nodes. | ✅ | | | | |
72
- | [no-runtime-dependencies](docs/rules/no-runtime-dependencies.md) | Disallow non-empty "dependencies" in community node package.json | ✅ ☑️ | | | | |
73
- | [no-template-placeholders](docs/rules/no-template-placeholders.md) | Disallow unresolved template placeholders in package.json | ✅ ☑️ | | | | |
74
- | [node-class-description-icon-missing](docs/rules/node-class-description-icon-missing.md) | Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead. | | | | 💡 | ❌ |
75
- | [node-connection-type-literal](docs/rules/node-connection-type-literal.md) | Disallow string literals in node description `inputs`/`outputs` — use `NodeConnectionTypes` enum instead | ✅ ☑️ | | 🔧 | | |
76
- | [node-filename-against-convention](docs/rules/node-filename-against-convention.md) | Node filename must match the node `description.name` | ✅ ☑️ | | | | |
77
- | [node-operation-error-itemindex](docs/rules/node-operation-error-itemindex.md) | Require { itemIndex } in NodeOperationError / NodeApiError options inside item loops | ✅ ☑️ | | | | |
78
- | [node-registration-complete](docs/rules/node-registration-complete.md) | Ensure every `.node.ts` file in the `nodes/` directory is registered in the "n8n.nodes" array of package.json | | ☑️ | | | |
79
- | [node-usable-as-tool](docs/rules/node-usable-as-tool.md) | Ensure node classes have usableAsTool property | ✅ ☑️ | | 🔧 | | |
80
- | [options-sorted-alphabetically](docs/rules/options-sorted-alphabetically.md) | Enforce alphabetical ordering of options arrays in n8n node properties | | ✅ ☑️ | | | |
81
- | [package-name-convention](docs/rules/package-name-convention.md) | Enforce correct package naming convention for n8n community nodes | ✅ ☑️ | | | 💡 | |
82
- | [require-community-node-keyword](docs/rules/require-community-node-keyword.md) | Require the "n8n-community-node-package" keyword in community node package.json | | ✅ ☑️ | 🔧 | | |
83
- | [require-continue-on-fail](docs/rules/require-continue-on-fail.md) | Require continueOnFail() handling in execute() methods of node classes | ✅ ☑️ | | | | |
84
- | [require-node-api-error](docs/rules/require-node-api-error.md) | Require NodeApiError or NodeOperationError for error wrapping in catch blocks. Raw errors lose HTTP context in the n8n UI. | ✅ ☑️ | | | | |
85
- | [require-node-description-fields](docs/rules/require-node-description-fields.md) | Node class description must define all required fields: icon, subtitle | ✅ ☑️ | | | | |
86
- | [require-version](docs/rules/require-version.md) | Require a valid "version" field in community node package.json | ✅ ☑️ | | | | |
87
- | [resource-operation-pattern](docs/rules/resource-operation-pattern.md) | Enforce proper resource/operation pattern for better UX in n8n nodes | | ✅ ☑️ | | | |
88
- | [valid-author](docs/rules/valid-author.md) | Require a non-empty author name and email in package.json | ✅ ☑️ | | | | |
89
- | [valid-credential-references](docs/rules/valid-credential-references.md) | Ensure credentials referenced in node descriptions exist as credential classes in the package | ✅ ☑️ | | | 💡 | |
90
- | [valid-description](docs/rules/valid-description.md) | Require a non-empty "description" field in community node package.json | ✅ ☑️ | | | | |
91
- | [valid-peer-dependencies](docs/rules/valid-peer-dependencies.md) | Require community node package.json peerDependencies to contain only "n8n-workflow": "*" (and optionally "ai-node-sdk") | ✅ ☑️ | | 🔧 | | |
92
- | [webhook-lifecycle-complete](docs/rules/webhook-lifecycle-complete.md) | Require webhook trigger nodes to implement the complete webhookMethods lifecycle (checkExists, create, delete) | ✅ ☑️ | | | | |
47
+ | Name                                  | Description | 💼 | ⚠️ | 🔧 | 💡 | ❌ |
48
+ | :------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :--- | :--- | :- | :- | :- |
49
+ | [ai-node-package-json](docs/rules/ai-node-package-json.md) | Enforce consistency between n8n.aiNodeSdkVersion and ai-node-sdk peer dependency in community node packages | ✅ ☑️ | | | | |
50
+ | [cred-class-field-icon-missing](docs/rules/cred-class-field-icon-missing.md) | Credential class must have an `icon` property defined | ✅ ☑️ | | | 💡 | |
51
+ | [cred-class-name-field-conventions](docs/rules/cred-class-name-field-conventions.md) | Credential `name` field must end with `Api` and start with a lowercase letter | ✅ ☑️ | | 🔧 | | |
52
+ | [cred-class-name-suffix](docs/rules/cred-class-name-suffix.md) | Credential class names must be suffixed with `Api` | ✅ ☑️ | | 🔧 | | |
53
+ | [cred-class-oauth2-naming](docs/rules/cred-class-oauth2-naming.md) | OAuth2 credentials must include `OAuth2` in the class name, `name`, and `displayName` | ✅ ☑️ | | 🔧 | | |
54
+ | [cred-filename-against-convention](docs/rules/cred-filename-against-convention.md) | Credential filename must match the credential class name | ✅ ☑️ | | | | |
55
+ | [credential-documentation-url](docs/rules/credential-documentation-url.md) | Enforce valid credential documentationUrl format (URL or lowercase alphanumeric slug) | ✅ ☑️ | | 🔧 | | |
56
+ | [credential-password-field](docs/rules/credential-password-field.md) | Ensure credential fields with sensitive names have typeOptions.password = true | ✅ ☑️ | | 🔧 | | |
57
+ | [credential-test-required](docs/rules/credential-test-required.md) | Ensure credentials have a credential test | ✅ ☑️ | | | 💡 | |
58
+ | [icon-prefer-themed-variants](docs/rules/icon-prefer-themed-variants.md) | Encourage node and credential icons to provide light/dark variants instead of a single icon file | | ✅ ☑️ | | | |
59
+ | [icon-validation](docs/rules/icon-validation.md) | Validate node and credential icon files exist, use the file: protocol, and that light/dark icons are different | ✅ ☑️ | | | 💡 | |
60
+ | [missing-paired-item](docs/rules/missing-paired-item.md) | Require pairedItem on INodeExecutionData objects in execute() methods to preserve item linking. | ✅ ☑️ | | | | |
61
+ | [n8n-object-validation](docs/rules/n8n-object-validation.md) | Validate the structure of the "n8n" object in community node package.json (required keys, types, and dist/ paths) | ✅ ☑️ | | | | |
62
+ | [no-asterisk-in-option-names](docs/rules/no-asterisk-in-option-names.md) | Disallow asterisk characters in node option name values | | ✅ ☑️ | | 💡 | |
63
+ | [no-builder-hint-leakage](docs/rules/no-builder-hint-leakage.md) | Disallow wire-format expression syntax (={{...}}) and NodeConnectionType string literals in builderHint texts and AI-builder prompts. Use expr() and SDK-canonical references instead. | ✅ ☑️ | | | | |
64
+ | [no-credential-reuse](docs/rules/no-credential-reuse.md) | Prevent credential re-use security issues by ensuring nodes only reference credentials from the same package | ✅ ☑️ | | | 💡 | |
65
+ | [no-dangerous-functions](docs/rules/no-dangerous-functions.md) | Disallow `eval`, the `Function` constructor, and `child_process` process-spawning functions (`exec`, `spawn`, etc.) in community nodes. | ✅ ☑️ | | | | |
66
+ | [no-deprecated-workflow-functions](docs/rules/no-deprecated-workflow-functions.md) | Disallow usage of deprecated functions and types from n8n-workflow package | ✅ ☑️ | | | 💡 | |
67
+ | [no-duplicate-param-options](docs/rules/no-duplicate-param-options.md) | Disallow duplicate option names or values within a single node parameter | | ✅ ☑️ | | | |
68
+ | [no-emoji-in-options](docs/rules/no-emoji-in-options.md) | Disallow emoji characters in node option name and displayName values | ✅ ☑️ | | | | |
69
+ | [no-forbidden-lifecycle-scripts](docs/rules/no-forbidden-lifecycle-scripts.md) | Ban lifecycle scripts (prepare, preinstall, postinstall, etc.) in community node packages | ✅ ☑️ | | | | |
70
+ | [no-http-request-with-manual-auth](docs/rules/no-http-request-with-manual-auth.md) | Disallow this.helpers.httpRequest() in functions that call this.getCredentials(). Use this.helpers.httpRequestWithAuthentication() instead. | ✅ ☑️ | | | | |
71
+ | [no-overrides-field](docs/rules/no-overrides-field.md) | Ban the "overrides" field in community node package.json | ✅ ☑️ | | | | |
72
+ | [no-restricted-globals](docs/rules/no-restricted-globals.md) | Disallow usage of restricted global variables in community nodes. | ✅ | | | | |
73
+ | [no-restricted-imports](docs/rules/no-restricted-imports.md) | Disallow usage of restricted imports in community nodes. | ✅ | | | | |
74
+ | [no-runtime-dependencies](docs/rules/no-runtime-dependencies.md) | Disallow non-empty "dependencies" in community node package.json | ☑️ | | | | |
75
+ | [no-template-placeholders](docs/rules/no-template-placeholders.md) | Disallow unresolved template placeholders in package.json | ✅ ☑️ | | | | |
76
+ | [node-class-description-icon-missing](docs/rules/node-class-description-icon-missing.md) | Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead. | | | | 💡 | ❌ |
77
+ | [node-class-description-name-camelcase](docs/rules/node-class-description-name-camelcase.md) | Node class `description.name` must be camelCase | ✅ ☑️ | | 🔧 | | |
78
+ | [node-connection-type-literal](docs/rules/node-connection-type-literal.md) | Disallow string literals in node description `inputs`/`outputs` use `NodeConnectionTypes` enum instead | ☑️ | | 🔧 | | |
79
+ | [node-filename-against-convention](docs/rules/node-filename-against-convention.md) | Node filename must match the node `description.name` | ✅ ☑️ | | | | |
80
+ | [node-operation-error-itemindex](docs/rules/node-operation-error-itemindex.md) | Require { itemIndex } in NodeOperationError / NodeApiError options inside item loops | ✅ ☑️ | | | | |
81
+ | [node-registration-complete](docs/rules/node-registration-complete.md) | Ensure every `.node.ts` file in the `nodes/` directory is registered in the "n8n.nodes" array of package.json | | ✅ ☑️ | | | |
82
+ | [node-usable-as-tool](docs/rules/node-usable-as-tool.md) | Ensure node classes have usableAsTool property | ✅ ☑️ | | 🔧 | | |
83
+ | [options-sorted-alphabetically](docs/rules/options-sorted-alphabetically.md) | Enforce alphabetical ordering of options arrays in n8n node properties | | ✅ ☑️ | | | |
84
+ | [package-name-convention](docs/rules/package-name-convention.md) | Enforce correct package naming convention for n8n community nodes | ✅ ☑️ | | | 💡 | |
85
+ | [require-community-node-keyword](docs/rules/require-community-node-keyword.md) | Require the "n8n-community-node-package" keyword in community node package.json | | ✅ ☑️ | 🔧 | | |
86
+ | [require-continue-on-fail](docs/rules/require-continue-on-fail.md) | Require continueOnFail() handling in execute() methods of node classes | ✅ ☑️ | | | | |
87
+ | [require-mit-license](docs/rules/require-mit-license.md) | Require the "license" field in community node package.json to be "MIT" | ✅ ☑️ | | 🔧 | | |
88
+ | [require-node-api-error](docs/rules/require-node-api-error.md) | Require NodeApiError or NodeOperationError for error wrapping in catch blocks. Raw errors lose HTTP context in the n8n UI. | ✅ ☑️ | | | | |
89
+ | [require-node-description-fields](docs/rules/require-node-description-fields.md) | Node class description must define all required fields: icon, subtitle | ✅ ☑️ | | | | |
90
+ | [require-param-default](docs/rules/require-param-default.md) | Require every node parameter to declare a default value. | ✅ ☑️ | | | | |
91
+ | [require-version](docs/rules/require-version.md) | Require a valid "version" field in community node package.json | ✅ ☑️ | | | | |
92
+ | [resource-operation-pattern](docs/rules/resource-operation-pattern.md) | Enforce proper resource/operation pattern for better UX in n8n nodes | | ✅ ☑️ | | | |
93
+ | [trigger-node-conventions](docs/rules/trigger-node-conventions.md) | Trigger nodes (class name ends with `Trigger`) must label themselves consistently as triggers | ✅ ☑️ | | | | |
94
+ | [valid-author](docs/rules/valid-author.md) | Require a non-empty author name and email in package.json | ✅ ☑️ | | | | |
95
+ | [valid-credential-references](docs/rules/valid-credential-references.md) | Ensure credentials referenced in node descriptions exist as credential classes in the package | ✅ ☑️ | | | 💡 | |
96
+ | [valid-description](docs/rules/valid-description.md) | Require a non-empty "description" field in community node package.json | ✅ ☑️ | | | | |
97
+ | [valid-peer-dependencies](docs/rules/valid-peer-dependencies.md) | Require community node package.json peerDependencies to contain only "n8n-workflow": "*" (and optionally "@n8n/ai-node-sdk") | ✅ ☑️ | | 🔧 | | |
98
+ | [webhook-lifecycle-complete](docs/rules/webhook-lifecycle-complete.md) | Require webhook trigger nodes to implement the complete webhookMethods lifecycle (checkExists, create, delete) | ✅ ☑️ | | | | |
93
99
 
94
100
  <!-- end auto-generated rules list -->
package/dist/plugin.d.ts CHANGED
@@ -21,6 +21,8 @@ declare const configs: {
21
21
  '@n8n/community-nodes/n8n-object-validation': "error";
22
22
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
23
23
  '@n8n/community-nodes/no-emoji-in-options': "error";
24
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
25
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
24
26
  '@n8n/community-nodes/node-usable-as-tool': "error";
25
27
  '@n8n/community-nodes/package-name-convention': "error";
26
28
  '@n8n/community-nodes/credential-test-required': "error";
@@ -35,6 +37,7 @@ declare const configs: {
35
37
  '@n8n/community-nodes/icon-prefer-themed-variants': "warn";
36
38
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
37
39
  '@n8n/community-nodes/resource-operation-pattern': "warn";
40
+ '@n8n/community-nodes/trigger-node-conventions': "error";
38
41
  '@n8n/community-nodes/credential-documentation-url': "error";
39
42
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
40
43
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
@@ -42,6 +45,7 @@ declare const configs: {
42
45
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
43
46
  '@n8n/community-nodes/cred-filename-against-convention': "error";
44
47
  '@n8n/community-nodes/node-connection-type-literal': "error";
48
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
45
49
  '@n8n/community-nodes/node-filename-against-convention': "error";
46
50
  '@n8n/community-nodes/missing-paired-item': "error";
47
51
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -49,8 +53,10 @@ declare const configs: {
49
53
  '@n8n/community-nodes/node-registration-complete': "warn";
50
54
  '@n8n/community-nodes/require-community-node-keyword': "warn";
51
55
  '@n8n/community-nodes/require-continue-on-fail': "error";
56
+ '@n8n/community-nodes/require-mit-license': "error";
52
57
  '@n8n/community-nodes/require-node-api-error': "error";
53
58
  '@n8n/community-nodes/require-node-description-fields': "error";
59
+ '@n8n/community-nodes/require-param-default': "error";
54
60
  '@n8n/community-nodes/require-version': "error";
55
61
  '@n8n/community-nodes/valid-author': "error";
56
62
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -77,6 +83,8 @@ declare const configs: {
77
83
  '@n8n/community-nodes/n8n-object-validation': "error";
78
84
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
79
85
  '@n8n/community-nodes/no-emoji-in-options': "error";
86
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
87
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
80
88
  '@n8n/community-nodes/node-usable-as-tool': "error";
81
89
  '@n8n/community-nodes/package-name-convention': "error";
82
90
  '@n8n/community-nodes/credential-test-required': "error";
@@ -92,12 +100,14 @@ declare const configs: {
92
100
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
93
101
  '@n8n/community-nodes/credential-documentation-url': "error";
94
102
  '@n8n/community-nodes/resource-operation-pattern': "warn";
103
+ '@n8n/community-nodes/trigger-node-conventions': "error";
95
104
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
96
105
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
97
106
  '@n8n/community-nodes/cred-class-name-suffix': "error";
98
107
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
99
108
  '@n8n/community-nodes/cred-filename-against-convention': "error";
100
109
  '@n8n/community-nodes/node-connection-type-literal': "error";
110
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
101
111
  '@n8n/community-nodes/node-filename-against-convention': "error";
102
112
  '@n8n/community-nodes/missing-paired-item': "error";
103
113
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -105,8 +115,10 @@ declare const configs: {
105
115
  '@n8n/community-nodes/node-registration-complete': "warn";
106
116
  '@n8n/community-nodes/require-community-node-keyword': "warn";
107
117
  '@n8n/community-nodes/require-continue-on-fail': "error";
118
+ '@n8n/community-nodes/require-mit-license': "error";
108
119
  '@n8n/community-nodes/require-node-api-error': "error";
109
120
  '@n8n/community-nodes/require-node-description-fields': "error";
121
+ '@n8n/community-nodes/require-param-default': "error";
110
122
  '@n8n/community-nodes/require-version': "error";
111
123
  '@n8n/community-nodes/valid-author': "error";
112
124
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -138,6 +150,8 @@ declare const pluginWithConfigs: {
138
150
  '@n8n/community-nodes/n8n-object-validation': "error";
139
151
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
140
152
  '@n8n/community-nodes/no-emoji-in-options': "error";
153
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
154
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
141
155
  '@n8n/community-nodes/node-usable-as-tool': "error";
142
156
  '@n8n/community-nodes/package-name-convention': "error";
143
157
  '@n8n/community-nodes/credential-test-required': "error";
@@ -152,6 +166,7 @@ declare const pluginWithConfigs: {
152
166
  '@n8n/community-nodes/icon-prefer-themed-variants': "warn";
153
167
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
154
168
  '@n8n/community-nodes/resource-operation-pattern': "warn";
169
+ '@n8n/community-nodes/trigger-node-conventions': "error";
155
170
  '@n8n/community-nodes/credential-documentation-url': "error";
156
171
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
157
172
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
@@ -159,6 +174,7 @@ declare const pluginWithConfigs: {
159
174
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
160
175
  '@n8n/community-nodes/cred-filename-against-convention': "error";
161
176
  '@n8n/community-nodes/node-connection-type-literal': "error";
177
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
162
178
  '@n8n/community-nodes/node-filename-against-convention': "error";
163
179
  '@n8n/community-nodes/missing-paired-item': "error";
164
180
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -166,8 +182,10 @@ declare const pluginWithConfigs: {
166
182
  '@n8n/community-nodes/node-registration-complete': "warn";
167
183
  '@n8n/community-nodes/require-community-node-keyword': "warn";
168
184
  '@n8n/community-nodes/require-continue-on-fail': "error";
185
+ '@n8n/community-nodes/require-mit-license': "error";
169
186
  '@n8n/community-nodes/require-node-api-error': "error";
170
187
  '@n8n/community-nodes/require-node-description-fields': "error";
188
+ '@n8n/community-nodes/require-param-default': "error";
171
189
  '@n8n/community-nodes/require-version': "error";
172
190
  '@n8n/community-nodes/valid-author': "error";
173
191
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -194,6 +212,8 @@ declare const pluginWithConfigs: {
194
212
  '@n8n/community-nodes/n8n-object-validation': "error";
195
213
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
196
214
  '@n8n/community-nodes/no-emoji-in-options': "error";
215
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
216
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
197
217
  '@n8n/community-nodes/node-usable-as-tool': "error";
198
218
  '@n8n/community-nodes/package-name-convention': "error";
199
219
  '@n8n/community-nodes/credential-test-required': "error";
@@ -209,12 +229,14 @@ declare const pluginWithConfigs: {
209
229
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
210
230
  '@n8n/community-nodes/credential-documentation-url': "error";
211
231
  '@n8n/community-nodes/resource-operation-pattern': "warn";
232
+ '@n8n/community-nodes/trigger-node-conventions': "error";
212
233
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
213
234
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
214
235
  '@n8n/community-nodes/cred-class-name-suffix': "error";
215
236
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
216
237
  '@n8n/community-nodes/cred-filename-against-convention': "error";
217
238
  '@n8n/community-nodes/node-connection-type-literal': "error";
239
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
218
240
  '@n8n/community-nodes/node-filename-against-convention': "error";
219
241
  '@n8n/community-nodes/missing-paired-item': "error";
220
242
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -222,8 +244,10 @@ declare const pluginWithConfigs: {
222
244
  '@n8n/community-nodes/node-registration-complete': "warn";
223
245
  '@n8n/community-nodes/require-community-node-keyword': "warn";
224
246
  '@n8n/community-nodes/require-continue-on-fail': "error";
247
+ '@n8n/community-nodes/require-mit-license': "error";
225
248
  '@n8n/community-nodes/require-node-api-error': "error";
226
249
  '@n8n/community-nodes/require-node-description-fields': "error";
250
+ '@n8n/community-nodes/require-param-default': "error";
227
251
  '@n8n/community-nodes/require-version': "error";
228
252
  '@n8n/community-nodes/valid-author': "error";
229
253
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -262,6 +286,8 @@ declare const n8nCommunityNodesPlugin: {
262
286
  '@n8n/community-nodes/n8n-object-validation': "error";
263
287
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
264
288
  '@n8n/community-nodes/no-emoji-in-options': "error";
289
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
290
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
265
291
  '@n8n/community-nodes/node-usable-as-tool': "error";
266
292
  '@n8n/community-nodes/package-name-convention': "error";
267
293
  '@n8n/community-nodes/credential-test-required': "error";
@@ -276,6 +302,7 @@ declare const n8nCommunityNodesPlugin: {
276
302
  '@n8n/community-nodes/icon-prefer-themed-variants': "warn";
277
303
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
278
304
  '@n8n/community-nodes/resource-operation-pattern': "warn";
305
+ '@n8n/community-nodes/trigger-node-conventions': "error";
279
306
  '@n8n/community-nodes/credential-documentation-url': "error";
280
307
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
281
308
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
@@ -283,6 +310,7 @@ declare const n8nCommunityNodesPlugin: {
283
310
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
284
311
  '@n8n/community-nodes/cred-filename-against-convention': "error";
285
312
  '@n8n/community-nodes/node-connection-type-literal': "error";
313
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
286
314
  '@n8n/community-nodes/node-filename-against-convention': "error";
287
315
  '@n8n/community-nodes/missing-paired-item': "error";
288
316
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -290,8 +318,10 @@ declare const n8nCommunityNodesPlugin: {
290
318
  '@n8n/community-nodes/node-registration-complete': "warn";
291
319
  '@n8n/community-nodes/require-community-node-keyword': "warn";
292
320
  '@n8n/community-nodes/require-continue-on-fail': "error";
321
+ '@n8n/community-nodes/require-mit-license': "error";
293
322
  '@n8n/community-nodes/require-node-api-error': "error";
294
323
  '@n8n/community-nodes/require-node-description-fields': "error";
324
+ '@n8n/community-nodes/require-param-default': "error";
295
325
  '@n8n/community-nodes/require-version': "error";
296
326
  '@n8n/community-nodes/valid-author': "error";
297
327
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -318,6 +348,8 @@ declare const n8nCommunityNodesPlugin: {
318
348
  '@n8n/community-nodes/n8n-object-validation': "error";
319
349
  '@n8n/community-nodes/no-deprecated-workflow-functions': "error";
320
350
  '@n8n/community-nodes/no-emoji-in-options': "error";
351
+ '@n8n/community-nodes/no-asterisk-in-option-names': "warn";
352
+ '@n8n/community-nodes/no-duplicate-param-options': "warn";
321
353
  '@n8n/community-nodes/node-usable-as-tool': "error";
322
354
  '@n8n/community-nodes/package-name-convention': "error";
323
355
  '@n8n/community-nodes/credential-test-required': "error";
@@ -333,12 +365,14 @@ declare const n8nCommunityNodesPlugin: {
333
365
  '@n8n/community-nodes/options-sorted-alphabetically': "warn";
334
366
  '@n8n/community-nodes/credential-documentation-url': "error";
335
367
  '@n8n/community-nodes/resource-operation-pattern': "warn";
368
+ '@n8n/community-nodes/trigger-node-conventions': "error";
336
369
  '@n8n/community-nodes/cred-class-field-icon-missing': "error";
337
370
  '@n8n/community-nodes/cred-class-name-field-conventions': "error";
338
371
  '@n8n/community-nodes/cred-class-name-suffix': "error";
339
372
  '@n8n/community-nodes/cred-class-oauth2-naming': "error";
340
373
  '@n8n/community-nodes/cred-filename-against-convention': "error";
341
374
  '@n8n/community-nodes/node-connection-type-literal': "error";
375
+ '@n8n/community-nodes/node-class-description-name-camelcase': "error";
342
376
  '@n8n/community-nodes/node-filename-against-convention': "error";
343
377
  '@n8n/community-nodes/missing-paired-item': "error";
344
378
  '@n8n/community-nodes/no-builder-hint-leakage': "error";
@@ -346,8 +380,10 @@ declare const n8nCommunityNodesPlugin: {
346
380
  '@n8n/community-nodes/node-registration-complete': "warn";
347
381
  '@n8n/community-nodes/require-community-node-keyword': "warn";
348
382
  '@n8n/community-nodes/require-continue-on-fail': "error";
383
+ '@n8n/community-nodes/require-mit-license': "error";
349
384
  '@n8n/community-nodes/require-node-api-error': "error";
350
385
  '@n8n/community-nodes/require-node-description-fields': "error";
386
+ '@n8n/community-nodes/require-param-default': "error";
351
387
  '@n8n/community-nodes/require-version': "error";
352
388
  '@n8n/community-nodes/valid-author': "error";
353
389
  '@n8n/community-nodes/valid-credential-references': "error";
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAU,MAAM,QAAQ,CAAC;AAG7C,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAYzC,QAAA,MAAM,OAAO;;;;;;;;;;uBAHI,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uBAAtB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwGE,CAAC;AAE1C,QAAA,MAAM,iBAAiB;;;;;;;;;;;2BA1GN,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAtB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAtB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;CA0GiC,CAAC;AAEzE,QAAA,MAAM,uBAAuB;;;;;;;;;;;2BA5GZ,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAAtB,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAtB,MAAM,CAAC,MAAM,CAAC,OAAO,CA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AAe,iBAAiB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
package/dist/plugin.js CHANGED
@@ -23,6 +23,8 @@ const configs = {
23
23
  '@n8n/community-nodes/n8n-object-validation': 'error',
24
24
  '@n8n/community-nodes/no-deprecated-workflow-functions': 'error',
25
25
  '@n8n/community-nodes/no-emoji-in-options': 'error',
26
+ '@n8n/community-nodes/no-asterisk-in-option-names': 'warn',
27
+ '@n8n/community-nodes/no-duplicate-param-options': 'warn',
26
28
  '@n8n/community-nodes/node-usable-as-tool': 'error',
27
29
  '@n8n/community-nodes/package-name-convention': 'error',
28
30
  '@n8n/community-nodes/credential-test-required': 'error',
@@ -37,6 +39,7 @@ const configs = {
37
39
  '@n8n/community-nodes/icon-prefer-themed-variants': 'warn',
38
40
  '@n8n/community-nodes/options-sorted-alphabetically': 'warn',
39
41
  '@n8n/community-nodes/resource-operation-pattern': 'warn',
42
+ '@n8n/community-nodes/trigger-node-conventions': 'error',
40
43
  '@n8n/community-nodes/credential-documentation-url': 'error',
41
44
  '@n8n/community-nodes/cred-class-field-icon-missing': 'error',
42
45
  '@n8n/community-nodes/cred-class-name-field-conventions': 'error',
@@ -44,6 +47,7 @@ const configs = {
44
47
  '@n8n/community-nodes/cred-class-oauth2-naming': 'error',
45
48
  '@n8n/community-nodes/cred-filename-against-convention': 'error',
46
49
  '@n8n/community-nodes/node-connection-type-literal': 'error',
50
+ '@n8n/community-nodes/node-class-description-name-camelcase': 'error',
47
51
  '@n8n/community-nodes/node-filename-against-convention': 'error',
48
52
  '@n8n/community-nodes/missing-paired-item': 'error',
49
53
  '@n8n/community-nodes/no-builder-hint-leakage': 'error',
@@ -51,8 +55,10 @@ const configs = {
51
55
  '@n8n/community-nodes/node-registration-complete': 'warn',
52
56
  '@n8n/community-nodes/require-community-node-keyword': 'warn',
53
57
  '@n8n/community-nodes/require-continue-on-fail': 'error',
58
+ '@n8n/community-nodes/require-mit-license': 'error',
54
59
  '@n8n/community-nodes/require-node-api-error': 'error',
55
60
  '@n8n/community-nodes/require-node-description-fields': 'error',
61
+ '@n8n/community-nodes/require-param-default': 'error',
56
62
  '@n8n/community-nodes/require-version': 'error',
57
63
  '@n8n/community-nodes/valid-author': 'error',
58
64
  '@n8n/community-nodes/valid-credential-references': 'error',
@@ -72,6 +78,8 @@ const configs = {
72
78
  '@n8n/community-nodes/n8n-object-validation': 'error',
73
79
  '@n8n/community-nodes/no-deprecated-workflow-functions': 'error',
74
80
  '@n8n/community-nodes/no-emoji-in-options': 'error',
81
+ '@n8n/community-nodes/no-asterisk-in-option-names': 'warn',
82
+ '@n8n/community-nodes/no-duplicate-param-options': 'warn',
75
83
  '@n8n/community-nodes/node-usable-as-tool': 'error',
76
84
  '@n8n/community-nodes/package-name-convention': 'error',
77
85
  '@n8n/community-nodes/credential-test-required': 'error',
@@ -87,12 +95,14 @@ const configs = {
87
95
  '@n8n/community-nodes/options-sorted-alphabetically': 'warn',
88
96
  '@n8n/community-nodes/credential-documentation-url': 'error',
89
97
  '@n8n/community-nodes/resource-operation-pattern': 'warn',
98
+ '@n8n/community-nodes/trigger-node-conventions': 'error',
90
99
  '@n8n/community-nodes/cred-class-field-icon-missing': 'error',
91
100
  '@n8n/community-nodes/cred-class-name-field-conventions': 'error',
92
101
  '@n8n/community-nodes/cred-class-name-suffix': 'error',
93
102
  '@n8n/community-nodes/cred-class-oauth2-naming': 'error',
94
103
  '@n8n/community-nodes/cred-filename-against-convention': 'error',
95
104
  '@n8n/community-nodes/node-connection-type-literal': 'error',
105
+ '@n8n/community-nodes/node-class-description-name-camelcase': 'error',
96
106
  '@n8n/community-nodes/node-filename-against-convention': 'error',
97
107
  '@n8n/community-nodes/missing-paired-item': 'error',
98
108
  '@n8n/community-nodes/no-builder-hint-leakage': 'error',
@@ -100,8 +110,10 @@ const configs = {
100
110
  '@n8n/community-nodes/node-registration-complete': 'warn',
101
111
  '@n8n/community-nodes/require-community-node-keyword': 'warn',
102
112
  '@n8n/community-nodes/require-continue-on-fail': 'error',
113
+ '@n8n/community-nodes/require-mit-license': 'error',
103
114
  '@n8n/community-nodes/require-node-api-error': 'error',
104
115
  '@n8n/community-nodes/require-node-description-fields': 'error',
116
+ '@n8n/community-nodes/require-param-default': 'error',
105
117
  '@n8n/community-nodes/require-version': 'error',
106
118
  '@n8n/community-nodes/valid-author': 'error',
107
119
  '@n8n/community-nodes/valid-credential-references': 'error',
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,iBAAiB,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAEzC,MAAM,MAAM,GAAG;IACd,IAAI,EAAE;QACL,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,OAAO,EAAE,GAAG,CAAC,OAAO;QACpB,SAAS,EAAE,sBAAsB;KACjC;IACD,8EAA8E;IAC9E,KAAK,EAAE,KAA+B;CACd,CAAC;AAE1B,MAAM,OAAO,GAAG;IACf,WAAW,EAAE;QACZ,OAAO,EAAE,CAAC,+BAA+B,CAAC;QAC1C,OAAO,EAAE;YACR,sBAAsB,EAAE,MAAM;SAC9B;QACD,KAAK,EAAE;YACN,2CAA2C,EAAE,OAAO;YACpD,4CAA4C,EAAE,OAAO;YACrD,4CAA4C,EAAE,OAAO;YACrD,gDAAgD,EAAE,OAAO;YACzD,4CAA4C,EAAE,OAAO;YACrD,uDAAuD,EAAE,OAAO;YAChE,0CAA0C,EAAE,OAAO;YACnD,0CAA0C,EAAE,OAAO;YACnD,8CAA8C,EAAE,OAAO;YACvD,+CAA+C,EAAE,OAAO;YACxD,0CAA0C,EAAE,OAAO;YACnD,6CAA6C,EAAE,OAAO;YACtD,qDAAqD,EAAE,OAAO;YAC9D,uDAAuD,EAAE,OAAO;YAChE,yCAAyC,EAAE,OAAO;YAClD,8CAA8C,E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,EAAE,OAAO;YAChE,mDAAmD,EAAE,OAAO;YAC5D,4DAA4D,EAAE,OAAO;YACrE,uDAAuD,EAAE,OAAO;YAChE,0CAA0C,EAAE,OAAO;YACnD,8CAA8C,EAAE,OAAO;YACvD,qDAAqD,EAAE,OAAO;YAC9D,iDAAiD,EAAE,MAAM;YACzD,qDAAqD,EAAE,MAAM;YAC7D,+CAA+C,EAAE,OAAO;YACxD,0CAA0C,EAAE,OAAO;YACnD,6CAA6C,EAAE,OAAO;YACtD,sDAAsD,EAAE,OAAO;YAC/D,4CAA4C,EAAE,OAAO;YACrD,sCAAsC,EAAE,OAAO;YAC/C,mCAAmC,EAAE,OAAO;YAC5C,kDAAkD,EAAE,OAAO;YAC3D,wCAAwC,EAAE,OAAO;YACjD,8CAA8C,EAAE,OAAO;YACvD,iDAAiD,EAAE,OAAO;SAC1D;KACD;CACuC,CAAC;AAE1C,MAAM,iBAAiB,GAAG,EAAE,GAAG,MAAM,EAAE,OAAO,EAA0B,CAAC;AAEzE,MAAM,uBAAuB,GAAG,iBAAiB,CAAC;AAClD,eAAe,iBAAiB,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,uBAAuB,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ai-node-package-json.d.ts","sourceRoot":"","sources":["../../src/rules/ai-node-package-json.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,iNA0FhC,CAAC"}
1
+ {"version":3,"file":"ai-node-package-json.d.ts","sourceRoot":"","sources":["../../src/rules/ai-node-package-json.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,qBAAqB,iNA2FhC,CAAC"}
@@ -8,8 +8,8 @@ export const AiNodePackageJsonRule = createRule({
8
8
  description: 'Enforce consistency between n8n.aiNodeSdkVersion and ai-node-sdk peer dependency in community node packages',
9
9
  },
10
10
  messages: {
11
- missingPeerDep: 'Package declares "n8n.aiNodeSdkVersion" but is missing "ai-node-sdk" in peerDependencies. Add "ai-node-sdk": "*" to peerDependencies.',
12
- missingSdkVersion: 'Package has "ai-node-sdk" in peerDependencies but is missing "aiNodeSdkVersion" in the "n8n" section of package.json.',
11
+ missingPeerDep: 'Package declares "n8n.aiNodeSdkVersion" but is missing "@n8n/ai-node-sdk" in peerDependencies. Add "@n8n/ai-node-sdk": "*" to peerDependencies.',
12
+ missingSdkVersion: 'Package has "@n8n/ai-node-sdk" in peerDependencies but is missing "aiNodeSdkVersion" in the "n8n" section of package.json.',
13
13
  invalidSdkVersion: '"n8n.aiNodeSdkVersion" must be a positive integer, got {{ value }}.',
14
14
  wrongLocation: '"aiNodeSdkVersion" must be inside the "n8n" section, not at the root level of package.json.',
15
15
  },
@@ -35,7 +35,8 @@ export const AiNodePackageJsonRule = createRule({
35
35
  const peerDependenciesProp = findJsonProperty(node, 'peerDependencies');
36
36
  const hasAiNodeSdkVersion = aiNodeSdkVersionProp !== null;
37
37
  const hasAiNodeSdkPeerDep = peerDependenciesProp?.value.type === AST_NODE_TYPES.ObjectExpression &&
38
- findJsonProperty(peerDependenciesProp.value, 'ai-node-sdk') !== null;
38
+ (findJsonProperty(peerDependenciesProp.value, '@n8n/ai-node-sdk') !== null ||
39
+ findJsonProperty(peerDependenciesProp.value, 'ai-node-sdk') !== null);
39
40
  // Catch aiNodeSdkVersion placed at root level instead of inside n8n
40
41
  if (rootAiNodeSdkVersionProp) {
41
42
  context.report({
@@ -1 +1 @@
1
- {"version":3,"file":"ai-node-package-json.js","sourceRoot":"","sources":["../../src/rules/ai-node-package-json.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE1D,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAEjE,MAAM,CAAC,MAAM,qBAAqB,GAAG,UAAU,CAAC;IAC/C,IAAI,EAAE,sBAAsB;IAC5B,IAAI,EAAE;QACL,IAAI,EAAE,SAAS;QACf,IAAI,EAAE;YACL,WAAW,EACV,6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AAI,EAAE,oBAAoB;wBAC1B,SAAS,EAAE,gBAAgB;qBAC3B,CAAC,CAAC;gBACJ,CAAC;gBAED,2EAA2E;gBAC3E,IAAI,mBAAmB,IAAI,CAAC,mBAAmB,EAAE,CAAC;oBACjD,OAAO,CAAC,MAAM,CAAC;wBACd,IAAI,EAAE,oBAAoB;wBAC1B,SAAS,EAAE,mBAAmB;qBAC9B,CAAC,CAAC;gBACJ,CAAC;YACF,CAAC;SACD,CAAC;IACH,CAAC;CACD,CAAC,CAAC;AAEH,SAAS,iBAAiB,CAAC,KAAc;IACxC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,KAAK,GAAG,CAAC,CAAC;AAC1E,CAAC"}
@@ -5,6 +5,8 @@ export declare const rules: {
5
5
  'credential-password-field': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingPasswordOption", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
6
6
  'no-deprecated-workflow-functions': import("@typescript-eslint/utils/ts-eslint").RuleModule<"deprecatedRequestFunction" | "deprecatedFunction" | "deprecatedType" | "deprecatedWithoutReplacement" | "suggestReplaceFunction" | "suggestReplaceType", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
7
7
  'no-emoji-in-options': import("@typescript-eslint/utils/ts-eslint").RuleModule<"emojiInOption", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
8
+ 'no-asterisk-in-option-names': import("@typescript-eslint/utils/ts-eslint").RuleModule<"asteriskInOptionName" | "replaceAsterisk", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
9
+ 'no-duplicate-param-options': import("@typescript-eslint/utils/ts-eslint").RuleModule<"duplicateName" | "duplicateValue", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
8
10
  'node-usable-as-tool': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingUsableAsTool", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
9
11
  'options-sorted-alphabetically': import("@typescript-eslint/utils/ts-eslint").RuleModule<"optionsNotSorted", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
10
12
  'package-name-convention': import("@typescript-eslint/utils/ts-eslint").RuleModule<"renameTo" | "invalidPackageName" | "missingName" | "defaultPlaceholderName", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -19,11 +21,13 @@ export declare const rules: {
19
21
  'icon-validation': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingIcon" | "addPlaceholder" | "iconFileNotFound" | "lightDarkSame" | "invalidIconPath" | "addFileProtocol" | "similarIcon", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
20
22
  'icon-prefer-themed-variants': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingThemedVariants", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
21
23
  'resource-operation-pattern': import("@typescript-eslint/utils/ts-eslint").RuleModule<"tooManyOperationsWithoutResources", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
24
+ 'trigger-node-conventions': import("@typescript-eslint/utils/ts-eslint").RuleModule<"nameMissingSuffix" | "displayNameMissingTrigger" | "inputsNotEmpty", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
22
25
  'credential-documentation-url': import("@typescript-eslint/utils/ts-eslint").RuleModule<"invalidDocumentationUrl", [{
23
26
  allowUrls?: boolean;
24
27
  allowSlugs?: boolean;
25
28
  }], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
26
29
  'node-class-description-icon-missing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingIcon" | "addPlaceholder", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
30
+ 'node-class-description-name-camelcase': import("@typescript-eslint/utils/ts-eslint").RuleModule<"notCamelCase", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
27
31
  'cred-class-field-icon-missing': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingIcon" | "addPlaceholder", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
28
32
  'cred-class-name-field-conventions': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingSuffix" | "uppercaseFirstChar", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
29
33
  'cred-class-name-suffix': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingSuffix", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -40,8 +44,10 @@ export declare const rules: {
40
44
  'n8n-object-validation': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingN8nObject" | "wrongLocationApiVersion" | "missingNodesApiVersion" | "invalidNodesApiVersion" | "missingN8nNodes" | "n8nNodesNotArray" | "emptyN8nNodes" | "n8nCredentialsNotArray" | "nodePathNotString" | "nodePathNotInDist" | "credentialPathNotString" | "credentialPathNotInDist" | "invalidStrict", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
41
45
  'require-community-node-keyword': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingKeyword" | "missingKeywordsArray", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
42
46
  'require-continue-on-fail': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingContinueOnFail", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
47
+ 'require-mit-license': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingLicense" | "wrongLicense", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
43
48
  'require-node-api-error': import("@typescript-eslint/utils/ts-eslint").RuleModule<"useNodeApiError" | "useNodeApiErrorInsteadOfGeneric", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
44
49
  'require-node-description-fields': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingField" | "missingFields", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
50
+ 'require-param-default': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingDefault", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
45
51
  'require-version': import("@typescript-eslint/utils/ts-eslint").RuleModule<"missingVersion" | "invalidVersion", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
46
52
  'valid-author': import("@typescript-eslint/utils/ts-eslint").RuleModule<"authorMissing" | "authorNameMissing" | "authorEmailMissing", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
47
53
  'valid-credential-references': import("@typescript-eslint/utils/ts-eslint").RuleModule<"didYouMean" | "credentialNotFound", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AA+CA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CuB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDuB,CAAC"}