Skip to content

Commit 5c0e9b0

Browse files
ofershapcursoragent
andcommitted
fix: remove unused import and ignore bin/ in eslint config
bin/create.mjs is a standalone Node CLI script — no need to lint it with the project's TypeScript/Next.js eslint config. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4dcc932 commit 5c0e9b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

bin/create.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { execSync } from "node:child_process";
44
import { existsSync, copyFileSync } from "node:fs";
5-
import { resolve, basename } from "node:path";
5+
import { resolve } from "node:path";
66

77
const REPO = "https://github.com/ofershap/cursor-usage-tracker.git";
88
const dirName = process.argv[2] || "cursor-usage-tracker";

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ export default tseslint.config(
1515
},
1616
},
1717
{
18-
ignores: [".next/", "node_modules/", "data/", "coverage/"],
18+
ignores: [".next/", "node_modules/", "data/", "coverage/", "bin/"],
1919
},
2020
);

0 commit comments

Comments
 (0)