Skip to content

Commit 9ce7e47

Browse files
author
qingmo.xwj
committed
style: format less, add annotation
1 parent da77505 commit 9ce7e47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

__tests__/variable.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
@blue:blue;
2-
@size:10px;
1+
@blue: blue;
2+
@size: 10px;

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ interface Transformer {
1111
/**
1212
* transform less sync
1313
* @param fileContent
14+
* @param filePath
1415
*/
1516
function transformLess(fileContent: string, filePath: string): string {
1617
const data = fileContent.replace(/^\uFEFF/, '');

0 commit comments

Comments
 (0)