Skip to content

Commit

Permalink
fix(rules): add Square
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 2, 2023
1 parent 2a24b97 commit 4e1dd64
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rules/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ exports[`all > should match everything 1`] = `
"splunk",
"sqlite",
"sqreen",
"squareup",
"storybook",
"strapi",
"styleci",
Expand Down
1 change: 1 addition & 0 deletions src/rules/saas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import './salesforce.js';
import './sentry.js';
import './shopify.js';
import './slack.js';
import './squareup.js';
import './snyk.js';
import './splunk.js';
import './sqreen.js';
Expand Down
7 changes: 7 additions & 0 deletions src/rules/saas/squareup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'squareup',
name: 'Square',
type: 'saas',
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export type AllowedKeys =
| 'splunk'
| 'sqlite'
| 'sqreen'
| 'squareup'
| 'storybook'
| 'strapi'
| 'styleci'
Expand Down

0 comments on commit 4e1dd64

Please sign in to comment.