🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@atom8n/eslint-plugin-community-nodes

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atom8n/eslint-plugin-community-nodes

ESLint plugin for linting n8n community node packages to ensure consistency and best practices.

latest
npmnpm
Version
0.10.8
Version published
Maintainers
1
Created
Source

@n8n/eslint-plugin-community-nodes

ESLint plugin for linting n8n community node packages to ensure consistency and best practices.

Install

npm install --save-dev eslint @n8n/eslint-plugin-community-nodes

**Requires ESLint >=9 and flat config

Usage

See the ESLint docs for more information about extending config files.

This plugin exports a recommended config that enforces good practices.

import { n8nCommunityNodesPlugin } from '@n8n/eslint-plugin-community-nodes';

export default [
		// …
		n8nCommunityNodesPlugin.configs.recommended,
		{
			rules: {
				'@n8n/community-nodes/node-usable-as-tool': 'warn',
			},
		},
];

Rules

💼 Configurations enabled in.
⚠️ Configurations set to warn in.
✅ Set in the recommended configuration.
☑️ Set in the recommendedWithoutN8nCloudSupport configuration.
🔧 Automatically fixable by the --fix CLI option.
💡 Manually fixable by editor suggestions.

Name                            Description💼⚠️🔧💡
credential-documentation-urlEnforce valid credential documentationUrl format (URL or camelCase slug)✅ ☑️
credential-password-fieldEnsure credential fields with sensitive names have typeOptions.password = true✅ ☑️🔧
credential-test-requiredEnsure credentials have a credential test✅ ☑️💡
icon-validationValidate node and credential icon files exist, are SVG format, and light/dark icons are different✅ ☑️💡
no-credential-reusePrevent credential re-use security issues by ensuring nodes only reference credentials from the same package✅ ☑️💡
no-deprecated-workflow-functionsDisallow usage of deprecated functions and types from n8n-workflow package✅ ☑️💡
no-restricted-globalsDisallow usage of restricted global variables in community nodes.
no-restricted-importsDisallow usage of restricted imports in community nodes.
node-usable-as-toolEnsure node classes have usableAsTool property✅ ☑️🔧
package-name-conventionEnforce correct package naming convention for n8n community nodes✅ ☑️💡
resource-operation-patternEnforce proper resource/operation pattern for better UX in n8n nodes✅ ☑️

FAQs

Package last updated on 03 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts