ivov / eslint-plugin-n8n-nodes-base Goto Github PK
View Code? Open in Web Editor NEWESLint plugin for linting n8n nodes
License: MIT License
ESLint plugin for linting n8n nodes
License: MIT License
description.defaults.color
is deprecated and must be absent, unless node uses a Font Awesome icon.
node-execute-block-error-missing-item-index
node-execute-block-wrong-error-thrown
placeholder: 'Rundeck Job Id',
Once pairedItem-support
is merged.
name: 'api.jotform.com',
name: 'api.eu.mailgun.net',
name: 'scram-sha-256',
description: 'Use the multiline editor. Make sure it is in standard PEM key format:-----BEGIN PRIVATE KEY-----KEY DATA GOES HERE-----END PRIVATE KEY-----.',
hidden
param type:{
displayName: 'Auth URI Query Parameters',
name: 'authQueryParameters',
type: 'hidden',
default: `user_scope=${userScopes.join(' ')}`,
},
{
displayName: 'Access Token',
name: 'accessToken',
type: 'string',
default: '',
description: `The access token must have the following scopes:
<ul>
<li>Create/modify webhooks</li>
<li>View webhooks</li>
<li>View surveys</li>
<li>View collectors</li>
<li>View responses</li>
<li>View response details</li>
</ul>`,
},
To remove lint exceptions:
https://github.com/n8n-io/n8n/pull/3443/files
Currently it is only a static structure. It would be great if you could also set these as parameters for the individual rules.
As an example:
Legacy in Get All operations: https://linear.app/n8n/issue/N8N-3434#comment-5ded7e8c
name: Publish to npm
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out commit
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Install, build, publish
run: |
npm ci
npm run build
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Spell-check displayName
, description
, and name
(in option), using Google Spell Check API.
From @nivb06
description: `Seatable server's timezone`
is being autofixed to:
description: 'Seatable server's timezone'
Switch to double quotes or escape single quote.
From Jan:
It looks like the linting rule: "node-param-default-missing" complains when there is a parameter of type "number" with the default value of -1 . There seems also to be a problem with the autofix which then adds the value "0" so the string zero
From ActionNetwork to Clearbit (not inclusive)
noDataExpression
, typeOptions
, options
, description
subtitle
in trigger node descriptionsubtitle
if node has no resource and no operationThe operation to perform
The resource to operate on
options
whose value is not a string, set a default
of that non-string type.options
pointing to a var, do not check the default
.id
that is part of a word, e.g. Unique identifier
credentials.name
in node description as non-safe.Additional Fields
in top-level fixed collection.Must have resource
in displayOptions
. Same for operation
.
{
displayName: 'API Token',
name: 'token',
type: 'string' as NodePropertyTypes,
default: '',
hint: 'You can get your API token at https://[api-root]/token/?format=json (for a logged in user)',
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.