Skip to content

Commit b3dfb02

Browse files
refactor: small changes (#71)
Co-authored-by: Almanov Nikita <[email protected]>
1 parent 979099c commit b3dfb02

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@
2121

2222
## Installation
2323

24+
```shell
25+
# bun
26+
bun i -D @archoleat/commitlint-define-config
27+
```
28+
2429
```shell
2530
# pnpm
2631
pnpm i -D @archoleat/commitlint-define-config

rollup.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import typescript from '@rollup/plugin-typescript';
77

88
const sourceFolder = 'src';
99

10-
const fileName = 'index';
1110
const fileFormat = 'es';
11+
const fileName = 'index';
1212

13-
const indexFile = `${fileName}.ts`;
1413
const declarationFile = `${fileName}.d.ts`;
14+
const indexFile = `${fileName}.ts`;
1515
const outputFile = `${fileName}.js`;
1616

1717
export default defineConfig([

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { UserConfig } from '@commitlint/types';
33
/**
44
* Define an Commitlint config.
55
*
6-
* @param {object} config Commitlint config.
6+
* @param {object} config Commitlint.
77
*
88
* @returns Commitlint config.
99
*/

0 commit comments

Comments
 (0)