@n8n/scan-community-package 0.6.0 → 0.8.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.
- package/package.json +2 -2
- package/scanner/scanner.mjs +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@n8n/scan-community-package",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Static code analyser for n8n community packages",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"bin": "scanner/cli.mjs",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"axios": "1.12.0",
|
|
16
16
|
"semver": "^7.5.4",
|
|
17
17
|
"tmp": "0.2.4",
|
|
18
|
-
"@n8n/eslint-plugin-community-nodes": "0.
|
|
18
|
+
"@n8n/eslint-plugin-community-nodes": "0.6.0"
|
|
19
19
|
},
|
|
20
20
|
"homepage": "https://n8n.io",
|
|
21
21
|
"author": {
|
package/scanner/scanner.mjs
CHANGED
|
@@ -119,7 +119,9 @@ const analyzePackage = async (packageDir) => {
|
|
|
119
119
|
cwd: packageDir,
|
|
120
120
|
allowInlineConfig: false,
|
|
121
121
|
overrideConfigFile: true,
|
|
122
|
-
overrideConfig: defineConfig(n8nCommunityNodesPlugin.configs.recommended
|
|
122
|
+
overrideConfig: defineConfig(n8nCommunityNodesPlugin.configs.recommended, {
|
|
123
|
+
rules: { 'no-console': 'error' },
|
|
124
|
+
}),
|
|
123
125
|
});
|
|
124
126
|
|
|
125
127
|
try {
|