Skip to content

Commit

Permalink
Merge pull request #16 from nextsms/develop
Browse files Browse the repository at this point in the history
style: 💄 fix lint issues
  • Loading branch information
alphaolomi authored Nov 24, 2021
2 parents 0ea267d + e4efa62 commit cb9ac12
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test",
"lint": "tsdx lint src tests",
"fix": "tsdx lint --fix src tests",
"prepare": "tsdx build",
"lint": "tsdx lint",
"fix": "tsdx lint --fix",
"size": "size-limit",
"analyze": "size-limit --why",
"docs:api": "typedoc --out docs src/index.ts --readme README.md --name 'NextSMS Nodejs API Docs'"
Expand All @@ -46,7 +45,7 @@
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
"pre-commit": "tsdx fix"
}
},
"size-limit": [
Expand All @@ -59,5 +58,4 @@
"limit": "10 KB"
}
]

}
13 changes: 6 additions & 7 deletions src/modules/NextSMS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ import {
/**
* NextSMS
* {@link https://documenter.getpostman.com/view/4680389/SW7dX7JL#intro}
*
*
*
*
* ```typescript
* import NextSMS from '@nextsms/js-client';
*
*
* let nextsms = new NextSMS({
* username: 'username',
* username: 'username',
* password: 'password',
* environment: 'testing'
* environment: 'testing'
* });
* ```
*
Expand Down Expand Up @@ -51,10 +51,9 @@ class NextSMS {
*/
private ROOT_URL = 'https://messaging-service.co.tz/';


/**
*
* @param username Options['username']
* @param username Options['username']
* @param password Options['password']
* @param environment Options['environment']
*/
Expand Down

0 comments on commit cb9ac12

Please sign in to comment.