mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Add lint rule for unsafe property access with lodash get/set (no-changelog) (#8587)
This commit is contained in:
@@ -39,6 +39,9 @@ const config = (module.exports = {
|
||||
|
||||
/** https://github.com/sindresorhus/eslint-plugin-unicorn */
|
||||
'eslint-plugin-unicorn',
|
||||
|
||||
/** https://github.com/wix-incubator/eslint-plugin-lodash */
|
||||
'eslint-plugin-lodash',
|
||||
],
|
||||
|
||||
extends: [
|
||||
@@ -458,6 +461,8 @@ const config = (module.exports = {
|
||||
|
||||
/** https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-promise-resolve-reject.md */
|
||||
'unicorn/no-useless-promise-resolve-reject': 'error',
|
||||
|
||||
'lodash/path-style': ['error', 'as-needed'],
|
||||
},
|
||||
|
||||
overrides: [
|
||||
|
||||
Reference in New Issue
Block a user