forked from funcodingdev/n8n-nodes-wecom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.mjs
More file actions
30 lines (29 loc) · 1.34 KB
/
Copy patheslint.config.mjs
File metadata and controls
30 lines (29 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { config } from '@n8n/node-cli/eslint';
export default [
...config,
{
ignores: ['scripts/**'],
},
{
rules: {
// Disable sorting rule for Chinese characters
'n8n-nodes-base/node-param-options-type-unsorted-items': 'off',
// Disable boolean description rule for Chinese content
'n8n-nodes-base/node-param-description-boolean-without-whether': 'off',
'n8n-nodes-base/node-param-description-wrong-for-limit': 'off',
'n8n-nodes-base/node-param-description-excess-final-period': 'off',
'n8n-nodes-base/node-param-description-wrong-for-dynamic-multi-options': 'off',
'n8n-nodes-base/node-param-description-wrong-for-dynamic-options': 'off',
'n8n-nodes-base/node-param-fixed-collection-type-unsorted-items': 'off',
// Allow Chinese trigger suffix instead of '-Trigger'
'n8n-nodes-base/node-class-description-display-name-unsuffixed-trigger-node': 'off',
'n8n-nodes-base/node-param-placeholder-miscased-id': 'off',
'n8n-nodes-base/node-param-option-description-identical-to-name': 'off',
'n8n-nodes-base/node-param-collection-type-unsorted-items': 'off',
'n8n-nodes-base/node-param-operation-option-action-miscased': 'off',
'n8n-nodes-base/node-param-display-name-miscased': 'off',
'n8n-nodes-base/node-param-default-wrong-for-limit': 'off',
'n8n-nodes-base/node-param-min-value-wrong-for-limit': 'off',
},
},
];