Skip to content

Commit

Permalink
Update Git ignore and attribute pattern
Browse files Browse the repository at this point in the history
Updated the `.gitattributes` (1) and `.gitignore` (2) configuration
files to use the latest pattern.

References:
  (1) https://git-scm.com/docs/gitattributes
  (2) https://git-scm.com/docs/gitignore

Epic: GH-8
Resolves GH-9
  • Loading branch information
arcticicestudio committed Aug 15, 2019
1 parent 57b8ce0 commit 8e99240
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
17 changes: 14 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
# Automatically perform line feed (LF) normalization for files detected as text and leave all files detected as binary
# untouched.
* text=auto
# Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
# Copyright (C) 2018-present Sven Greb <[email protected]>
#
# Project: Styleguide JavaScript
# Repository: https://github.com/arcticicestudio/styleguide-javascript
# License: MIT
# References:
# https://git-scm.com/docs/gitattributes
# https://git-scm.com/book/en/v2/Customizing-Git-Git-Attributes#Keyword-Expansion

# Automatically perform line feed (LF) normalization for files detected as text and
# leave all files detected as binary untouched.
* text=auto eol=lf

# +--------+
# + Assets +
# +--------+
*.ai binary
*.png binary
16 changes: 13 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
# Copyright (C) 2018-present Arctic Ice Studio <[email protected]>
# Copyright (C) 2018-present Sven Greb <[email protected]>
#
# Project: Styleguide JavaScript
# Repository: https://github.com/arcticicestudio/styleguide-javascript
# License: MIT

# +------+
# + Logs +
# +------+
**/*.log

# +---------+
# + Node.js +
# +---------+
node_modules/
npm-debug.log*
.npm/
**/node_modules/

# +-------------------+
# + Project Structure +
Expand Down

0 comments on commit 8e99240

Please sign in to comment.