mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
refactor: Add lint rule node-class-description-name-miscased
(no-changelog) (#5065)
* 📦 Update `eslint-plugin-n8n-nodes-base` version * 📦 Update `pnpm-lock` * 👕 Enable rule * 👕 Exempt pre-existing nodes with miscased names
This commit is contained in:
parent
99e3eb634b
commit
7e3f3c5097
|
@ -67,6 +67,7 @@ module.exports = {
|
|||
'n8n-nodes-base/node-class-description-inputs-wrong-trigger-node': 'error',
|
||||
'n8n-nodes-base/node-class-description-missing-subtitle': 'error',
|
||||
'n8n-nodes-base/node-class-description-non-core-color-present': 'error',
|
||||
'n8n-nodes-base/node-class-description-name-miscased': 'error',
|
||||
'n8n-nodes-base/node-class-description-name-unsuffixed-trigger-node': 'error',
|
||||
'n8n-nodes-base/node-class-description-outputs-wrong': 'error',
|
||||
'n8n-nodes-base/node-dirname-against-convention': 'error',
|
||||
|
|
|
@ -7,6 +7,7 @@ import { brandfetchApiRequest } from './GenericFunctions';
|
|||
export class Brandfetch implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Brandfetch',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-name-miscased
|
||||
name: 'Brandfetch',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-icon-not-svg
|
||||
icon: 'file:brandfetch.png',
|
||||
|
|
|
@ -37,6 +37,7 @@ import {
|
|||
export class HaloPSA implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'HaloPSA',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-name-miscased
|
||||
name: 'haloPSA',
|
||||
icon: 'file:halopsa.svg',
|
||||
group: ['input'],
|
||||
|
|
|
@ -7,6 +7,7 @@ const pdf = require('pdf-parse');
|
|||
export class ReadPDF implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Read PDF',
|
||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-name-miscased
|
||||
name: 'readPDF',
|
||||
icon: 'fa:file-pdf',
|
||||
group: ['input'],
|
||||
|
|
|
@ -751,7 +751,7 @@
|
|||
"@types/tmp": "^0.2.0",
|
||||
"@types/uuid": "^8.3.2",
|
||||
"@types/xml2js": "^0.4.3",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.11.1",
|
||||
"eslint-plugin-n8n-nodes-base": "^1.12.0",
|
||||
"gulp": "^4.0.0",
|
||||
"n8n-workflow": "~0.131.2"
|
||||
},
|
||||
|
|
|
@ -707,7 +707,7 @@ importers:
|
|||
chokidar: 3.5.2
|
||||
cron: ~1.7.2
|
||||
currency-codes: ^2.1.0
|
||||
eslint-plugin-n8n-nodes-base: ^1.11.1
|
||||
eslint-plugin-n8n-nodes-base: ^1.12.0
|
||||
eventsource: ^2.0.2
|
||||
fast-glob: ^3.2.5
|
||||
fflate: ^0.7.0
|
||||
|
@ -844,7 +844,7 @@ importers:
|
|||
'@types/tmp': 0.2.3
|
||||
'@types/uuid': 8.3.4
|
||||
'@types/xml2js': 0.4.11
|
||||
eslint-plugin-n8n-nodes-base: 1.11.1_zksrc6ykdxhogxjbhb5axiabwi
|
||||
eslint-plugin-n8n-nodes-base: 1.12.0_zksrc6ykdxhogxjbhb5axiabwi
|
||||
gulp: 4.0.2
|
||||
n8n-workflow: link:../workflow
|
||||
|
||||
|
@ -10994,8 +10994,8 @@ packages:
|
|||
resolution: {integrity: sha512-qe6sVFDP1Vj5eXlqZxYZpIjwYvhuqXlI0P8OfPyhiPOhMkFtr0TpFphD8/6WCzkm7LJCvG1eJEzURCtMIsFTAg==}
|
||||
dev: true
|
||||
|
||||
/eslint-plugin-n8n-nodes-base/1.11.1_zksrc6ykdxhogxjbhb5axiabwi:
|
||||
resolution: {integrity: sha512-m1MIvB47rxVFI7xb0brw4K9CPywbz0pHhv6kpvZiV2nppvKrg+S+bP0Dqofz/ZzAcC35sRbfrC1il3xx9Wno6A==}
|
||||
/eslint-plugin-n8n-nodes-base/1.12.0_zksrc6ykdxhogxjbhb5axiabwi:
|
||||
resolution: {integrity: sha512-AotXR6IsxLNnxp4OxhD33xcmRFwVq7ZImBd0mTgpirV3VX8pCJDdiDlI2zCAICcICZxtOdbVtHOMhhnMjTh71A==}
|
||||
dependencies:
|
||||
'@typescript-eslint/utils': 5.45.0_zksrc6ykdxhogxjbhb5axiabwi
|
||||
camel-case: 4.1.2
|
||||
|
|
Loading…
Reference in a new issue