Skip to content

Commit

Permalink
fix(rules): add OnlineOrNot
Browse files Browse the repository at this point in the history
  • Loading branch information
bodinsamuel committed Sep 18, 2023
1 parent c7242b3 commit ba63413
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 @@ -192,6 +192,7 @@ exports[`all > should match everything 1`] = `
"notion",
"nuxtjs",
"okta",
"onlineornot",
"openai",
"oraclecloud",
"ovh",
Expand Down
1 change: 1 addition & 0 deletions src/rules/monitoring/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import './aws.cloudwatch.js';
import './datadog.js';
import './newrelic.js';
import './onlineornot.js';
import './pingdom.js';
7 changes: 7 additions & 0 deletions src/rules/monitoring/onlineornot.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { register } from '../../register.js';

register({
tech: 'onlineornot',
name: 'OnlineOrNot',
type: 'monitoring',
});
1 change: 1 addition & 0 deletions src/types/techs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export type AllowedKeys =
| 'notion'
| 'nuxtjs'
| 'okta'
| 'onlineornot'
| 'openai'
| 'oraclecloud'
| 'ovh'
Expand Down

0 comments on commit ba63413

Please sign in to comment.