Skip to content

Commit

Permalink
Merge pull request #401 from jaredwray/fixing-linting-on-parameter-pr…
Browse files Browse the repository at this point in the history
…operties

fixing linting on parameter properties
  • Loading branch information
jaredwray authored Dec 6, 2024
2 parents 936e51b + d1811ea commit ba07da4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"xo": {
"rules": {
"@typescript-eslint/naming-convention": 0,
"@typescript-eslint/parameter-properties": 0,
"@typescript-eslint/no-unsafe-call": 0,
"@typescript-eslint/no-unsafe-assignment": 0,
"@typescript-eslint/no-unsafe-return": 0,
Expand Down
1 change: 1 addition & 0 deletions src/providers/aws-ses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export class AWSSES implements ProviderInterface {
client: SESClient;
name = 'aws-ses';
type = AirhornProviderType.SMTP;
// eslint-disable-next-line @typescript-eslint/parameter-properties
region?: string;

constructor(region?: string) {
Expand Down
1 change: 1 addition & 0 deletions src/providers/aws-sms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export class AWSSMS implements ProviderInterface {
client: SNS;
name = 'aws-sms';
type = AirhornProviderType.SMS;
// eslint-disable-next-line @typescript-eslint/parameter-properties
region?: string;

constructor(region?: string) {
Expand Down
1 change: 1 addition & 0 deletions src/providers/aws-sns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export class AWSSNS implements ProviderInterface {
client: SNS;
name = 'aws-sns';
type = AirhornProviderType.MOBILE_PUSH;
// eslint-disable-next-line @typescript-eslint/parameter-properties
region?: string;

constructor(region?: string) {
Expand Down
3 changes: 2 additions & 1 deletion src/providers/firebase-messaging.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export class FirebaseMessaging implements ProviderInterface {
name = 'firebase-messaging';
type = AirhornProviderType.MOBILE_PUSH;

private readonly cert: string;
// eslint-disable-next-line @typescript-eslint/parameter-properties
cert: string;

constructor(cert: string) {
this.cert = cert;
Expand Down
1 change: 1 addition & 0 deletions test/testing-data.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/parameter-properties */
import {AirhornTemplate, AirhornTemplateText} from '../src/template.js';

export class TestingData {
Expand Down

0 comments on commit ba07da4

Please sign in to comment.