Skip to content

Commit a02eb37

Browse files
committed
fix(lint): update ESLint ignores and refine Prettier format command
1 parent 422baff commit a02eb37

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

eslint.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import globals from "globals";
55
import tseslint from "typescript-eslint";
66

77
export default defineConfig([
8+
{
9+
ignores: ["**/build/**", "**/dist/**", "**/node_modules/**"]
10+
},
811
{
912
files: ["**/*.{js,mjs,cjs,ts}"],
1013
plugins: { js },

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": "tsc && chmod u+x build/index.js",
1818
"start": "node build/index.js",
1919
"dev": "tsc-watch --onSuccess \"node build/index.js\"",
20-
"format": "prettier --write . --ignore-path .gitignore",
20+
"format": "prettier --write .",
2121
"prepare": "husky"
2222
},
2323
"bin": {

0 commit comments

Comments
 (0)