eslint-plugin-n8n-nodes-base
Advanced tools
Comparing version 1.0.40 to 1.0.41
@@ -45,2 +45,4 @@ var __create = Object.create; | ||
const [filename, dirname] = context.getFilename().split("/").reverse(); | ||
if (DIRS_WITH_NESTING.includes(dirname.toLowerCase())) | ||
return; | ||
const parts = filename.split(".node.ts"); | ||
@@ -52,3 +54,3 @@ if (parts.length !== 2) | ||
return; | ||
if (dirname !== expected) { | ||
if (dirname.replace("Trigger", "") !== expected) { | ||
const topOfFile = { line: 1, column: 1 }; | ||
@@ -65,3 +67,13 @@ context.report({ | ||
}); | ||
const DIRS_WITH_NESTING = [ | ||
"aws", | ||
"facebook", | ||
"google", | ||
"magento", | ||
"mattermost", | ||
"microsoft", | ||
"notion", | ||
"SyncroMsp" | ||
]; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); |
{ | ||
"name": "eslint-plugin-n8n-nodes-base", | ||
"version": "1.0.40", | ||
"version": "1.0.41", | ||
"main": "dist/index.js", | ||
@@ -12,2 +12,3 @@ "author": { | ||
"dist/index.js", | ||
"dist/non-autofixable.js", | ||
"dist/lib/**/*" | ||
@@ -14,0 +15,0 @@ ], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
392624
118
8877
6