Skip to content

Commit

Permalink
core: editor config and gitattributes configured
Browse files Browse the repository at this point in the history
  • Loading branch information
vgseven committed Oct 6, 2024
1 parent 26076ea commit ca82567
Show file tree
Hide file tree
Showing 4 changed files with 436 additions and 383 deletions.
35 changes: 35 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# EditorConfig is awesome: https://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 2
max_line_length = 80

# JavaScript and TypeScript files
[*.{js,jsx,ts,tsx}]
quote_type = double
trim_trailing_whitespace = true

# CSS files
[*.css]
quote_type = double

# JSON files
[*.json]
insert_final_newline = false

# Ignore some folders
[{.env,.changeset,.husky,.turbo,node_modules,build,dist}/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
18 changes: 18 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Set default behavior to automatically normalize line endings
* text=auto eol=lf

# Denote all files that are truly binary and should not be modified
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.ttf binary
*.otf binary
*.woff binary
*.woff2 binary

# Exclude certain directories from Git's default behavior
node_modules/** -text
build/** -text
dist/** -text
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,31 @@
"dependencies": {
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-slot": "^1.1.0",
"@tanstack/react-router": "^1.58.3",
"@tanstack/react-router": "^1.62.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"lucide-react": "^0.445.0",
"lucide-react": "^0.447.0",
"next-themes": "^0.3.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tailwind-merge": "^2.5.2",
"tailwind-merge": "^2.5.3",
"tailwindcss-animate": "^1.0.7",
"unhead": "^1.11.6"
"unhead": "^1.11.7"
},
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@tanstack/router-plugin": "^1.58.4",
"@tanstack/router-vite-plugin": "^1.58.4",
"@types/node": "^22.5.5",
"@types/react": "^18.3.8",
"@biomejs/biome": "^1.9.3",
"@tanstack/router-plugin": "^1.62.0",
"@tanstack/router-vite-plugin": "^1.62.0",
"@types/node": "^22.7.4",
"@types/react": "^18.3.11",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react": "^4.3.2",
"autoprefixer": "^10.4.20",
"husky": "^9.1.6",
"postcss": "^8.4.47",
"tailwindcss": "^3.4.12",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2",
"vite": "^5.4.7"
"vite": "^5.4.8"
},
"packageManager": "pnpm@9.11.0"
"packageManager": "pnpm@9.12.0"
}
Loading

0 comments on commit ca82567

Please sign in to comment.