Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
.env
.env*
!.env.example
.venv
*.pyc
db
__pycache__
.env.local
node_modules
16 changes: 16 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
".env*": () => [
'echo "Error: Environment variable files (.env*) cannot be committed."',
"exit 1",
],
"{frontend,nextjs-backend}/**/*.{js,jsx,ts,tsx}": () => [
"pnpm run build:staged",
],
"frontend/**/*.{js,jsx,ts,tsx}": [
"pnpm --dir frontend run next:lint",
"pnpm --dir frontend run format",
],
"nextjs-backend/**/*.{js,jsx,ts,tsx}": [
"pnpm --dir nextjs-backend run format",
],
};
2 changes: 1 addition & 1 deletion nextjs-backend/src/components/revamp/hover-highlights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const highlights: Highlight[] = [
},
{
text: 'System Tray',
description: 'Lives quietly in your system tray. Always accessible, never in the way.',
description: 'Lives quietly in your system tray. Always accessible, never gets in the way.',
image: '/landing/tabby-interview-copilot.png',
},
]
Expand Down
12 changes: 0 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,5 @@
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.4.3"
},
"lint-staged": {
"{frontend,nextjs-backend}/**/*.{js,jsx,ts,tsx}": [
"pnpm run build:staged"
],
"frontend/**/*.{js,jsx,ts,tsx}": [
"pnpm --dir frontend run next:lint",
"pnpm --dir frontend run format"
],
"nextjs-backend/**/*.{js,jsx,ts,tsx}": [
"pnpm --dir nextjs-backend run format"
]
}
}