feat: add linting and formatting setup with configs in .config folder

- Add ESLint configuration with TypeScript support
- Add Prettier configuration for code formatting
- Move all config files to .config/ folder to keep them hidden from Obsidian
- Add lint and format scripts to package.json
- Add .eslintignore and .prettierignore files
- Remove framework-specific configuration
- Configure for general JavaScript/TypeScript development
This commit is contained in:
Noah Brier
2025-09-15 08:31:46 -04:00
parent fa83f75f42
commit 61d14875d5
6 changed files with 61 additions and 6 deletions
+4 -4
View File
@@ -6,10 +6,10 @@
"scripts": {
"setup": "pnpm install && echo '✅ Setup complete! Configure GEMINI_API_KEY for vision features'",
"test-gemini": "GEMINI_API_KEY=${GEMINI_API_KEY} node .claude/mcp-servers/gemini-vision.mjs",
"lint": "eslint . --fix && prettier --write .",
"lint:check": "eslint . && prettier --check .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"lint": "eslint --config .config/eslint.config.js . --fix && prettier --config .config/.prettierrc.js --write .",
"lint:check": "eslint --config .config/eslint.config.js . && prettier --config .config/.prettierrc.js --check .",
"format": "prettier --config .config/.prettierrc.js --write .",
"format:check": "prettier --config .config/.prettierrc.js --check .",
"attachments:list": "ls -1 '05_Attachments/' | grep -v Organized | head -20",
"attachments:count": "ls -1 '05_Attachments/' | grep -v Organized | wc -l",
"attachments:organized": "ls -1 '05_Attachments/Organized' 2>/dev/null | wc -l || echo '0'",