Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["prettier"],
"extends": ["plugin:prettier/recommended"],
"rules": {
"prettier/prettier": "error",
"padding-line-between-statements": [
"error",
{
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
Expand Down
2 changes: 2 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ bracketSpacing: false
bracketSameLine: false
arrowParens: 'avoid'
endOfLine: 'auto'
plugins:
- 'prettier-plugin-organize-imports'
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Options available:
* `token` is an access token
* `timeout` (optional) sets maximum execution time for the function
* `step` (optional) sets timeout between retries to fetch an email
* `all` (optional) says whether to find a single email or all mathing the query criteria
* `all` (optional) says whether to find a single email or all matching the query criteria
* `query` (optional) lets you filter out emails you want to find, you can find more about queries [there](https://support.google.com/mail/answer/7190)
* `logs` (optional) turns on or off polling logs of attempts to get emails

Expand Down
4 changes: 2 additions & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dotenv/config'
import type {Config} from 'jest'
import {pathsToModuleNameMapper} from 'ts-jest'
import {compilerOptions} from './tsconfig.json'
import type {Config} from 'jest'
import 'dotenv/config'

export default async (): Promise<Config> => {
return {
Expand Down
Loading