Commit graph

10 commits

Author SHA1 Message Date
Iván Ovejero 88dea330b9
refactor: Apply more eslint-plugin-n8n-nodes-base rules ()
*  Update `lintfix` script

*  Run baseline `lintfix`

* 🔥 Remove unneeded exceptions ()

* 🔥 Remove exceptions for `node-param-default-wrong-for-simplify`

* 🔥 Remove exceptions for `node-param-placeholder-miscased-id`

*  Update version

* 👕 Apply `node-param-placeholder-missing` ()

* 👕 Apply `filesystem-wrong-cred-filename` ()

* 👕 Apply `node-param-description-missing-from-dynamic-options` ()

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

* 👕 Apply `node-class-description-empty-string` ()

* 👕 Apply `node-class-description-icon-not-svg` ()

* 👕 Apply `filesystem-wrong-node-filename` ()

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

* 👕 Expand lintings to credentials ()

* 👕 Apply `node-param-multi-options-type-unsorted-items` ()

*  fix

*  Minor fixes

Co-authored-by: Michael Kret <michael.k@radency.com>

* 👕 Apply `node-param-description-wrong-for-dynamic-multi-options` ()

*  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` ()

*  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 ()

* 👕 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>
2022-06-20 07:54:01 -07:00
Iván Ovejero 6dcdb30bf4
refactor: Apply more nodelinting rules ()
* ✏️ Alphabetize lint rules

* 🔥 Remove duplicates

*  Update `lintfix` script

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

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

* 👕 Add exceptions

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

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

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

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

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

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

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

* Rule workig as intended

* ✏️ Uncomment rules

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

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

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

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

*  fix

*  exceptions

*  changed rule ignoring from file to line

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

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

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

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

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

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

*  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` ()

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

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

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

*  fix

*  exceptions

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

* 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>
2022-05-20 23:47:24 +02:00
Iván Ovejero 63b6c9f128
refactor: Apply more eslint-plugin-n8n-nodes-base autofixable rules ()
* ✏️ Alphabetize rules

* 🔖 Update version

*  Update lintfix command

*  Run baseline lintfix

* 📦 Update package-lock.json

* 👕 Apply `node-param-description-untrimmed` ()

* Removing unneeded backticks ()

* 👕 Apply node-param-description-wrong-for-return-all ()

* 👕 Apply node-param-description-missing-limit ()

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

* 👕 Apply node-param-description-excess-final-period ()

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

* 👕 Apply node-param-description-unencoded-angle-brackets ()

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

* 👕 Apply node-param-description-url-missing-protocol ()

* 👕 Apply `node-param-description-miscased-id` ()

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

* 👕 Apply node-param-description-wrong-for-limit ()

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

* 👕 Apply node-param-description-wrong-for-ignore-ssl-issues ()

* 👕 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>
2022-05-06 23:01:25 +02:00
Iván Ovejero 0448feec56
refactor: Apply eslint-plugin-n8n-nodes-base autofixable rules ()
*  Initial setup

* 👕 Update `.eslintignore`

* 👕 Autofix node-param-default-missing ()

* 🔥 Remove duplicate key

* 👕 Add exceptions

* 📦 Update package-lock.json

* 👕 Apply `node-class-description-inputs-wrong-trigger-node` ()

* 👕 Apply `node-class-description-inputs-wrong-regular-node` ()

* 👕 Apply `node-class-description-outputs-wrong` ()

* 👕 Apply `node-execute-block-double-assertion-for-items` ()

* 👕 Apply `node-param-default-wrong-for-collection` ()

* 👕 Apply node-param-default-wrong-for-boolean ()

* Autofixed default missing

* Autofixed booleans, worked well

*  Fix params

*  Undo exempted autofixes

* 📦 Update package-lock.json

* 👕 Apply node-class-description-missing-subtitle ()

*  Fix missing comma

* 👕 Apply `node-param-default-wrong-for-fixed-collection` ()

* 👕 Add exception for `node-class-description-missing-subtitle`

* 👕 Apply `node-param-default-wrong-for-multi-options` ()

* 👕 Apply `node-param-collection-type-unsorted-items` ()

* Missing coma

* 👕 Apply `node-param-default-wrong-for-simplify` ()

* 👕 Apply `node-param-description-comma-separated-hyphen` ()

* 👕 Apply `node-param-description-empty-string` ()

* 👕 Apply `node-param-description-excess-inner-whitespace` ()

* Rule looks good

* Add whitespace rule in eslint config

* :zao: fix

* 👕 Apply `node-param-description-identical-to-display-name` ()

* 👕 Apply `node-param-description-missing-for-ignore-ssl-issues` ()

*  Revert ":zao: fix"

This reverts commit ef8a76f3df.

* 👕 Apply `node-param-description-missing-for-simplify`  ()

* 👕 Apply `node-param-description-missing-final-period` ()

* Rule working as intended

* Add rule to eslint

* 👕 Apply node-param-description-missing-for-return-all ()

*  Restore `lintfix` command

Co-authored-by: agobrech <45268029+agobrech@users.noreply.github.com>
Co-authored-by: Omar Ajoue <krynble@gmail.com>
Co-authored-by: agobrech <ael.gobrecht@gmail.com>
Co-authored-by: Michael Kret <michael.k@radency.com>
2022-04-22 18:29:51 +02:00
Iván Ovejero a783288338
Enforce type checking in all node params () 2021-12-03 09:44:16 +01:00
Jan Oberhauser 40c2acd77b 👕 Fix lint issue 2020-10-22 15:46:03 +02:00
Jan Oberhauser 9be3b97cc3 Minor improvements to Contentful-Node 2020-08-28 17:37:39 +02:00
Rupenieks 198cd6258c Added RAW data option for assets, entries, content types 2020-08-28 15:27:12 +02:00
ricardo bc0b349faa Improvements to Contenful-Node 2020-08-04 15:07:54 -04:00
Sven Schmidt fa0e8c84f5 Contentful integration 2020-07-09 11:36:28 +02:00