Skip to content

Commit

Permalink
fix(rules): add Twitter/X
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 3, 2023
1 parent 4ba1229 commit 82dcde7
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 @@ -178,6 +178,7 @@ exports[`all > should match everything 1`] = `
"terragrunt",
"travisci",
"twilio",
"twitter",
"typescript",
"vercel",
"vercel.ai",
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 @@ -42,6 +42,7 @@ import './squarespace.js';
import './squareup.js';
import './stripe.js';
import './twilio.js';
import './twitter.js';
import './webflow.js';
import './wiz.js';
import './zapier.js';
Expand Down
7 changes: 7 additions & 0 deletions src/rules/saas/twitter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'twitter',
name: 'X',
type: 'saas',
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ export type AllowedKeys =
| 'traefik'
| 'travisci'
| 'twilio'
| 'twitter'
| 'typescript'
| 'vercel.ai'
| 'vercel.analytics'
Expand Down

0 comments on commit 82dcde7

Please sign in to comment.