refactor: Lint for no interpolation in regular string (#5060) (no-changelog)
* ✨ Create rule `no-interpolation-in-regular-string` * 👕 Enable rule * ⚡ Run rule (no issues) and add exception * ⚡ Simplify regex To account for expressions and to make it less expensive
This commit is contained in:
@@ -341,6 +341,8 @@ const config = (module.exports = {
|
||||
|
||||
'n8n-local-rules/no-unneeded-backticks': 'error',
|
||||
|
||||
'n8n-local-rules/no-interpolation-in-regular-string': 'error',
|
||||
|
||||
// ******************************************************************
|
||||
// overrides to base ruleset
|
||||
// ******************************************************************
|
||||
|
||||
Reference in New Issue
Block a user