Skip to content
Closed
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
56 changes: 56 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# EditorConfig is awesome: https://EditorConfig.org
# BJH OS - Editor Configuration
# This file helps maintain consistent coding styles across different editors and IDEs
# Note: The existing codebase primarily uses 4-space indentation, which is reflected here

# Top-most EditorConfig file
root = true

# Apply to all files
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

# HTML Files
[*.html]
indent_style = space
indent_size = 4

# CSS Files
[*.css]
indent_style = space
indent_size = 4

# JavaScript Files
[*.js]
indent_style = space
indent_size = 4

# JSON Files
[*.json]
indent_style = space
indent_size = 2

# YAML Files (for GitHub workflows)
[*.{yml,yaml}]
indent_style = space
indent_size = 2

# Markdown Files
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
max_line_length = off

# Text Files
[*.txt]
indent_style = space
indent_size = 4
insert_final_newline = false

# Makefiles (if added in future)
[Makefile]
indent_style = tab
139 changes: 139 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# BJH OS - .gitignore
# Prevents unwanted files from being committed to the repository

# ===========================
# OS Generated Files
# ===========================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ethumbs.db
Thumbs.db
Desktop.ini
$RECYCLE.BIN/

# ===========================
# Editor & IDE Files
# ===========================
# Visual Studio Code
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json

# JetBrains IDEs (WebStorm, IntelliJ, etc.)
.idea/
*.iml
*.iws
*.ipr

# Sublime Text
*.sublime-workspace
*.sublime-project

# Vim
*.swp
*.swo
*~
.*.sw[a-p]

# Emacs
*~
\#*\#
/.emacs.desktop
/.emacs.desktop.lock
*.elc

# Notepad++
*.bak

# ===========================
# Temporary Files
# ===========================
*.tmp
*.temp
*.log
*.cache
tmp/
temp/

# ===========================
# Build Artifacts
# ===========================
dist/
build/
out/
*.min.js
*.min.css
*.map

# ===========================
# Dependencies
# ===========================
node_modules/
bower_components/
jspm_packages/
vendor/

# ===========================
# Environment & Config Files
# ===========================
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.*.local

# ===========================
# Testing & Coverage
# ===========================
coverage/
*.coveragerc
.nyc_output/
.coverage
htmlcov/
*.lcov

# ===========================
# Package Manager Files
# ===========================
# Note: package-lock.json is ignored for this project as it's a pure client-side
# web app with no production dependencies. If dependencies are added in the future,
# consider removing this line to ensure reproducible builds.
package-lock.json
yarn.lock
pnpm-lock.yaml
.pnpm-debug.log*

# ===========================
# Cache Directories
# ===========================
.cache/
.parcel-cache/
.next/
.nuxt/
.vuepress/dist/
.serverless/

# ===========================
# PWA & Service Worker Cache
# ===========================
# Uncomment if you want to ignore service worker cache
# sw-cache/
# workbox-*.js

# ===========================
# Misc
# ===========================
*.pid
*.seed
*.pid.lock
.npm
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
Loading
Loading