Skip to content

Commit

Permalink
👕 Apply cred-class-field-name-missing-oauth2 (#3627)
Browse files Browse the repository at this point in the history
* Rule working as intended

* Removed comments

* Move cred rule to different rule set
  • Loading branch information
agobrech authored Jul 1, 2022
1 parent 72f8a0f commit 925500f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ module.exports = {
plugins: ['eslint-plugin-n8n-nodes-base'],
rules: {
'n8n-nodes-base/cred-filename-against-convention': 'error',
'n8n-nodes-base/cred-class-field-name-missing-oauth2': 'error',
},
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const scopes = [
];

export class HubspotDeveloperApi implements ICredentialType {
// eslint-disable-next-line n8n-nodes-base/cred-class-field-name-missing-oauth2
name = 'hubspotDeveloperApi';
displayName = 'HubSpot Developer API';
documentationUrl = 'hubspot';
Expand Down

0 comments on commit 925500f

Please sign in to comment.