Skip to content

Commit

Permalink
refactor: specs and comment (#38)
Browse files Browse the repository at this point in the history
Co-authored-by: Almanov Nikita <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Sep 28, 2024
1 parent 75af72b commit 6eb1080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specs/define-config.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('Prettier Config', async () => {
spec('should return config', async () => {
expectTypeOf(
defineConfig({
...options,
options,
overrides: [
{
excludeFiles: ['path/to/file'],
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { Config } from 'prettier';
*
* @param {object} config Prettier.
*
* @returns Prettier config.
* @return Prettier config.
*/
const defineConfig = (config: Config): Config => config;

Expand Down

0 comments on commit 6eb1080

Please sign in to comment.