mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base rules (#3534)
* ⚡ Update `lintfix` script * ⚡ Run baseline `lintfix` * 🔥 Remove unneeded exceptions (#3538) * 🔥 Remove exceptions for `node-param-default-wrong-for-simplify` * 🔥 Remove exceptions for `node-param-placeholder-miscased-id` * ⚡ Update version * 👕 Apply `node-param-placeholder-missing` (#3542) * 👕 Apply `filesystem-wrong-cred-filename` (#3543) * 👕 Apply `node-param-description-missing-from-dynamic-options` (#3545) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-class-description-empty-string` (#3546) * 👕 Apply `node-class-description-icon-not-svg` (#3548) * 👕 Apply `filesystem-wrong-node-filename` (#3549) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Expand lintings to credentials (#3550) * 👕 Apply `node-param-multi-options-type-unsorted-items` (#3552) * ⚡ fix * ⚡ Minor fixes Co-authored-by: Michael Kret <michael.k@radency.com> * 👕 Apply `node-param-description-wrong-for-dynamic-multi-options` (#3541) * ⚡ Add new lint rule, node-param-description-wrong-for-dynamic-multi-options * ⚡ Fix with updated linting rules * ⚡ Minor fixes Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply `node-param-description-boolean-without-whether` (#3553) * ⚡ fix * Update packages/nodes-base/nodes/Clockify/ProjectDescription.ts Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-display-name-wrong-for-dynamic-multi-options (#3537) * 👕 Add exceptions * 👕 Add exception * ✏️ Alphabetize rules * ⚡ Restore `lintfix` command Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <michael.k@radency.com> Co-authored-by: brianinoa <54530642+brianinoa@users.noreply.github.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -77,6 +77,7 @@ export const videoFields: INodeProperties[] = [
|
||||
displayName: 'Region Code',
|
||||
name: 'regionCode',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCountriesCodes',
|
||||
},
|
||||
@@ -96,6 +97,7 @@ export const videoFields: INodeProperties[] = [
|
||||
displayName: 'Category Name or ID',
|
||||
name: 'categoryId',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getVideoCategories',
|
||||
loadOptionsDependsOn: [
|
||||
@@ -170,7 +172,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'embeddable',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'This value indicates whether the video can be embedded on another website',
|
||||
description: 'Whether the video can be embedded on another website',
|
||||
},
|
||||
{
|
||||
displayName: 'License',
|
||||
@@ -194,7 +196,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'notifySubscribers',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'The notifySubscribers parameter indicates whether YouTube should send a notification about the new video to users who subscribe to the video\'s channel',
|
||||
description: 'Whether YouTube should send a notification about the new video to users who subscribe to the video\'s channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Privacy Status',
|
||||
@@ -222,7 +224,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'publicStatsViewable',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'This value indicates whether the extended video statistics on the video\'s watch page are publicly viewable',
|
||||
description: 'Whether the extended video statistics on the video\'s watch page are publicly viewable',
|
||||
},
|
||||
{
|
||||
displayName: 'Publish At',
|
||||
@@ -243,7 +245,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'selfDeclaredMadeForKids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'This value indicates whether the video is designated as child-directed, and it contains the current "made for kids" status of the video',
|
||||
description: 'Whether the video is designated as child-directed, and it contains the current "made for kids" status of the video',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
@@ -484,7 +486,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'forDeveloper',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer\'s application or website',
|
||||
description: 'Whether to restrict the search to only retrieve videos uploaded via the developer\'s application or website',
|
||||
},
|
||||
{
|
||||
displayName: 'Published After',
|
||||
@@ -537,7 +539,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'videoSyndicated',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com',
|
||||
description: 'Whether to restrict a search to only videos that can be played outside youtube.com',
|
||||
},
|
||||
{
|
||||
displayName: 'Video Type',
|
||||
@@ -715,6 +717,7 @@ export const videoFields: INodeProperties[] = [
|
||||
displayName: 'Region Code',
|
||||
name: 'regionCode',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getCountriesCodes',
|
||||
},
|
||||
@@ -734,6 +737,7 @@ export const videoFields: INodeProperties[] = [
|
||||
displayName: 'Category Name or ID',
|
||||
name: 'categoryId',
|
||||
type: 'options',
|
||||
description: 'Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/nodes/expressions.html#expressions">expression</a>',
|
||||
typeOptions: {
|
||||
loadOptionsMethod: 'getVideoCategories',
|
||||
loadOptionsDependsOn: [
|
||||
@@ -791,7 +795,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'embeddable',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'This value indicates whether the video can be embedded on another website',
|
||||
description: 'Whether the video can be embedded on another website',
|
||||
},
|
||||
{
|
||||
displayName: 'License',
|
||||
@@ -815,7 +819,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'notifySubscribers',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'The notifySubscribers parameter indicates whether YouTube should send a notification about the new video to users who subscribe to the video\'s channel',
|
||||
description: 'Whether YouTube should send a notification about the new video to users who subscribe to the video\'s channel',
|
||||
},
|
||||
{
|
||||
displayName: 'Privacy Status',
|
||||
@@ -843,7 +847,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'publicStatsViewable',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'This value indicates whether the extended video statistics on the video\'s watch page are publicly viewable',
|
||||
description: 'Whether the extended video statistics on the video\'s watch page are publicly viewable',
|
||||
},
|
||||
{
|
||||
displayName: 'Publish At',
|
||||
@@ -864,7 +868,7 @@ export const videoFields: INodeProperties[] = [
|
||||
name: 'selfDeclaredMadeForKids',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'This value indicates whether the video is designated as child-directed, and it contains the current "made for kids" status of the video',
|
||||
description: 'Whether the video is designated as child-directed, and it contains the current "made for kids" status of the video',
|
||||
},
|
||||
{
|
||||
displayName: 'Tags',
|
||||
|
||||
Reference in New Issue
Block a user