Skip to content

Commit

Permalink
chore: Linted code.
Browse files Browse the repository at this point in the history
  • Loading branch information
ShogunPanda committed Mar 13, 2023
1 parent 60c2594 commit 357a09a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"test:smoke": "tap --rcfile=tests/config/tap.yml tests/smoke/*.test.ts",
"ci": "npm run build && npm run test:ci && npm run test:smoke",
"prepare": "husky install && npm run build",
"commit": "pnpm lint-staged && cz",
"commit": "pnpm run format && pnpm lint-staged && cz",
"benchmark": "node --no-warnings benchmarks/src/typo-tolerant-search.js"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ export const SPLITTERS: Record<Language, RegExp> = {

export const SUPPORTED_LANGUAGES = Object.keys(STEMMERS);

export type Language = typeof SUPPORTED_LANGUAGES[number];
export type Language = (typeof SUPPORTED_LANGUAGES)[number];
2 changes: 1 addition & 1 deletion tests/snapshots/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,4 @@
}
]
}
}
}

0 comments on commit 357a09a

Please sign in to comment.