mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules (#3243)
* ✏️ Alphabetize rules * 🔖 Update version * ⚡ Update lintfix command * ⚡ Run baseline lintfix * 📦 Update package-lock.json * 👕 Apply `node-param-description-untrimmed` (#3200) * Removing unneeded backticks (#3249) * 👕 Apply node-param-description-wrong-for-return-all (#3253) * 👕 Apply node-param-description-missing-limit (#3252) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-excess-final-period (#3250) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-unencoded-angle-brackets (#3256) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-url-missing-protocol (#3258) * 👕 Apply `node-param-description-miscased-id` (#3254) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-limit (#3257) Co-authored-by: Iván Ovejero <ivov.src@gmail.com> * 👕 Apply node-param-description-wrong-for-ignore-ssl-issues (#3261) * 👕 Apply rule * ⚡ Restore lintfix script * ⚡ Restore lintfix script Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com> Co-authored-by: Omar Ajoue <krynble@gmail.com> Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
This commit is contained in:
@@ -13,12 +13,12 @@ export const subredditOperations: INodeProperties[] = [
|
||||
{
|
||||
name: 'Get',
|
||||
value: 'get',
|
||||
description: 'Retrieve background information about a subreddit.',
|
||||
description: 'Retrieve background information about a subreddit',
|
||||
},
|
||||
{
|
||||
name: 'Get All',
|
||||
value: 'getAll',
|
||||
description: 'Retrieve information about subreddits from all of Reddit.',
|
||||
description: 'Retrieve information about subreddits from all of Reddit',
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
@@ -41,7 +41,7 @@ export const subredditFields: INodeProperties[] = [
|
||||
type: 'options',
|
||||
required: true,
|
||||
default: 'about',
|
||||
description: 'Subreddit content to retrieve.',
|
||||
description: 'Subreddit content to retrieve',
|
||||
options: [
|
||||
{
|
||||
name: 'About',
|
||||
@@ -69,7 +69,7 @@ export const subredditFields: INodeProperties[] = [
|
||||
type: 'string',
|
||||
required: true,
|
||||
default: '',
|
||||
description: 'The name of subreddit to retrieve the content from.',
|
||||
description: 'The name of subreddit to retrieve the content from',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -90,7 +90,7 @@ export const subredditFields: INodeProperties[] = [
|
||||
name: 'returnAll',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Return all results.',
|
||||
description: 'Whether to return all results or only up to a given limit',
|
||||
displayOptions: {
|
||||
show: {
|
||||
resource: [
|
||||
@@ -107,7 +107,7 @@ export const subredditFields: INodeProperties[] = [
|
||||
name: 'limit',
|
||||
type: 'number',
|
||||
default: 100,
|
||||
description: 'The number of results to return.',
|
||||
description: 'Max number of results to return',
|
||||
typeOptions: {
|
||||
minValue: 1,
|
||||
maxValue: 100,
|
||||
@@ -138,14 +138,14 @@ export const subredditFields: INodeProperties[] = [
|
||||
name: 'keyword',
|
||||
type: 'string',
|
||||
default: '',
|
||||
description: 'The keyword for the subreddit search.',
|
||||
description: 'The keyword for the subreddit search',
|
||||
},
|
||||
{
|
||||
displayName: 'Trending',
|
||||
name: 'trending',
|
||||
type: 'boolean',
|
||||
default: false,
|
||||
description: 'Currently trending subreddits in all of Reddit.',
|
||||
description: 'Currently trending subreddits in all of Reddit',
|
||||
},
|
||||
],
|
||||
displayOptions: {
|
||||
|
||||
Reference in New Issue
Block a user