Skip to content

Commit

Permalink
refactor: Apply eslint-plugin-n8n-nodes-base autofixable rules (n8n…
Browse files Browse the repository at this point in the history
…-io#3174)

* ⚡ Initial setup

* 👕 Update `.eslintignore`

* 👕 Autofix node-param-default-missing (n8n-io#3173)

* 🔥 Remove duplicate key

* 👕 Add exceptions

* 📦 Update package-lock.json

* 👕 Apply `node-class-description-inputs-wrong-trigger-node` (n8n-io#3176)

* 👕 Apply `node-class-description-inputs-wrong-regular-node` (n8n-io#3177)

* 👕 Apply `node-class-description-outputs-wrong` (n8n-io#3178)

* 👕 Apply `node-execute-block-double-assertion-for-items` (n8n-io#3179)

* 👕 Apply `node-param-default-wrong-for-collection` (n8n-io#3180)

* 👕 Apply node-param-default-wrong-for-boolean (n8n-io#3181)

* Autofixed default missing

* Autofixed booleans, worked well

* ⚡ Fix params

* ⏪ Undo exempted autofixes

* 📦 Update package-lock.json

* 👕 Apply node-class-description-missing-subtitle (n8n-io#3182)

* ⚡ Fix missing comma

* 👕 Apply `node-param-default-wrong-for-fixed-collection` (n8n-io#3184)

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

* 👕 Apply `node-param-default-wrong-for-multi-options` (n8n-io#3185)

* 👕 Apply `node-param-collection-type-unsorted-items` (n8n-io#3186)

* Missing coma

* 👕 Apply `node-param-default-wrong-for-simplify` (n8n-io#3187)

* 👕 Apply `node-param-description-comma-separated-hyphen` (n8n-io#3190)

* 👕 Apply `node-param-description-empty-string` (n8n-io#3189)

* 👕 Apply `node-param-description-excess-inner-whitespace` (n8n-io#3191)

* Rule looks good

* Add whitespace rule in eslint config

* :zao: fix

* 👕 Apply `node-param-description-identical-to-display-name` (n8n-io#3193)

* 👕 Apply `node-param-description-missing-for-ignore-ssl-issues` (n8n-io#3195)

* ⏪ Revert ":zao: fix"

This reverts commit ef8a76f.

* 👕 Apply `node-param-description-missing-for-simplify`  (n8n-io#3196)

* 👕 Apply `node-param-description-missing-final-period` (n8n-io#3194)

* Rule working as intended

* Add rule to eslint

* 👕 Apply node-param-description-missing-for-return-all (n8n-io#3197)

* ⚡ Restore `lintfix` command

Co-authored-by: agobrech <[email protected]>
Co-authored-by: Omar Ajoue <[email protected]>
Co-authored-by: agobrech <[email protected]>
Co-authored-by: Michael Kret <[email protected]>
  • Loading branch information
5 people authored Apr 22, 2022
1 parent aeb5a12 commit 0448fee
Show file tree
Hide file tree
Showing 408 changed files with 2,588 additions and 2,023 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
packages/nodes-base
packages/editor-ui
packages/design-system
Loading

0 comments on commit 0448fee

Please sign in to comment.