n8n/packages/@n8n_io/eslint-config
Iván Ovejero 1732324965
fix(core): amend typing for jsonParse() options (#4423)
* 📘 Amend typing for `jsonParse()` options

* ✏️ Update rule message and description

* 🔀 Cherrypick Adi's work

* 🐛 Account for falsy fallback values

* ♻️ Use `else if`

*  Add explicit error message as type

*  Consolidate utils tests

* ♻️ Use optional chaining

* 🔥 Remove patchy type error

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
2022-10-24 12:48:16 +02:00
..
base.js refactor(core): fix for no-uncaught-json-parse warnings 2022-10-21 21:52:43 +03:00
frontend.js fix(eslint): setup eslint to run on every package - N8N-4553 (#4050) 2022-09-12 11:41:50 +02:00
local-rules.js fix(core): amend typing for jsonParse() options (#4423) 2022-10-24 12:48:16 +02:00
local-rules.test.js refactor: lint for inefficient deep clones (#4378) 2022-10-19 09:36:25 +02:00
node.js fix(eslint): setup eslint to run on every package - N8N-4553 (#4050) 2022-09-12 11:41:50 +02:00
package.json feat(eslint-config): add custom eslint rule 'no-uncaught-json-parse' (#4087) 2022-09-26 11:08:59 +03:00