refactor: Apply more nodelinting rules (#3324)

* ✏️ Alphabetize lint rules

* 🔥 Remove duplicates

*  Update `lintfix` script

* 👕 Apply `node-param-operation-without-no-data-expression` (#3329)

* 👕 Apply `node-param-operation-without-no-data-expression`

* 👕 Add exceptions

* 👕 Apply `node-param-description-weak` (#3328)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-value-duplicate` (#3331)

* 👕 Apply `node-param-description-miscased-json` (#3337)

* 👕 Apply `node-param-display-name-excess-inner-whitespace` (#3335)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-type-options-missing-from-limit` (#3336)

* Rule workig as intended

* ✏️ Uncomment rules

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-name-duplicate` (#3338)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-description-wrong-for-simplify` (#3334)

*  fix

*  exceptions

*  changed rule ignoring from file to line

* 👕 Apply `node-param-resource-without-no-data-expression` (#3339)

* 👕 Apply `node-param-display-name-untrimmed` (#3341)

* 👕 Apply `node-param-display-name-miscased-id` (#3340)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-resource-with-plural-option` (#3342)

* 👕 Apply `node-param-description-wrong-for-upsert` (#3333)

*  fix

*  replaced record with contact in description

*  fix

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

* 👕 Apply `node-param-option-description-identical-to-name` (#3343)

* 👕 Apply `node-param-option-name-containing-star` (#3347)

* 👕 Apply `node-param-display-name-wrong-for-update-fields` (#3348)

* 👕 Apply `node-param-option-name-wrong-for-get-all` (#3345)

*  fix

*  exceptions

* 👕 Apply node-param-display-name-wrong-for-simplify (#3344)

* Rule working as intended

* Uncomented other rules

* 👕 Undo and add exceptions

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>

*  Alphabetize lint rules

*  Restore `lintfix` script

Co-authored-by: Michael Kret <88898367+michael-radency@users.noreply.github.com>
Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
This commit is contained in:
Iván Ovejero
2022-05-20 23:47:24 +02:00
committed by GitHub
parent e7fa0ae883
commit 6dcdb30bf4
781 changed files with 1262 additions and 1071 deletions

View File

@@ -7,6 +7,7 @@ export const recordOperations: INodeProperties[] = [
displayName: 'Operation',
name: 'operation',
type: 'options',
noDataExpression: true,
displayOptions: {
show: {
resource: [
@@ -38,11 +39,10 @@ export const recordOperations: INodeProperties[] = [
{
name: 'Upsert',
value: 'upsert',
description: 'Upsert a record',
description: 'Create a new record, or update the current one if it already exists (upsert)',
},
],
default: 'create',
description: 'The operation to perform.',
},
];
@@ -88,7 +88,7 @@ export const recordFields: INodeProperties[] = [
description: 'Comma-separated list of the properties which should used as columns for the new rows',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@@ -102,7 +102,7 @@ export const recordFields: INodeProperties[] = [
},
},
default: true,
description: 'Return a simplified version of the response instead of the raw data',
description: 'Whether to return a simplified version of the response instead of the raw data',
},
{
displayName: 'Options',
@@ -383,7 +383,7 @@ export const recordFields: INodeProperties[] = [
description: 'update can use the key field on the table, or any other supported unique field',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@@ -397,7 +397,7 @@ export const recordFields: INodeProperties[] = [
},
},
default: true,
description: 'Return a simplified version of the response instead of the raw data',
description: 'Whether to return a simplified version of the response instead of the raw data',
},
{
displayName: 'Options',
@@ -528,7 +528,7 @@ export const recordFields: INodeProperties[] = [
description: '<p>You\'re updating records in a Quick Base table with data from an external file. In order for a merge like this to work, Quick Base needs a way to match records in the source data with corresponding records in the destination table.</p><p>You make this possible by choosing the field in the app table that holds unique matching values. This is called a merge field.</p>',
},
{
displayName: 'Simplify Response',
displayName: 'Simplify',
name: 'simple',
type: 'boolean',
displayOptions: {
@@ -542,7 +542,7 @@ export const recordFields: INodeProperties[] = [
},
},
default: true,
description: 'Return a simplified version of the response instead of the raw data',
description: 'Whether to return a simplified version of the response instead of the raw data',
},
{
displayName: 'Options',