mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
ci: Fix linting issues (no-changelog) (#6788)
* ci: Fix linting (no-changelog) * lintfix for nodes-base as well
This commit is contained in:
committed by
GitHub
parent
4e491b754f
commit
6fb8a9ee39
@@ -9,6 +9,12 @@ module.exports = {
|
||||
...sharedOptions(__dirname),
|
||||
|
||||
rules: {
|
||||
'import/order': 'off', // TODO: remove this
|
||||
// TODO: remove these
|
||||
'import/order': 'off',
|
||||
'@typescript-eslint/no-base-to-string': 'warn',
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
'@typescript-eslint/no-redundant-type-constituents': 'warn',
|
||||
'@typescript-eslint/prefer-nullish-coalescing': 'warn',
|
||||
'@typescript-eslint/prefer-optional-chain': 'warn',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -1199,9 +1199,10 @@ export interface INodePropertyValueExtractorRegex extends INodePropertyValueExtr
|
||||
}
|
||||
|
||||
export interface INodePropertyValueExtractorFunction {
|
||||
(this: IExecuteSingleFunctions, value: string | NodeParameterValue):
|
||||
| Promise<string | NodeParameterValue>
|
||||
| (string | NodeParameterValue);
|
||||
(
|
||||
this: IExecuteSingleFunctions,
|
||||
value: string | NodeParameterValue,
|
||||
): Promise<string | NodeParameterValue> | (string | NodeParameterValue);
|
||||
}
|
||||
|
||||
export type INodePropertyValueExtractor = INodePropertyValueExtractorRegex;
|
||||
|
||||
Reference in New Issue
Block a user