Skip to content

Commit

Permalink
Refactor: configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Jul 27, 2017
1 parent ba8d19b commit 7d795e0
Show file tree
Hide file tree
Showing 8 changed files with 269 additions and 56 deletions.
4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,3 @@ end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_size = 2
trim_trailing_whitespace = false
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

189 changes: 166 additions & 23 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,41 +1,184 @@
# Autodetect text files
* text=auto
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################

# ...Unless the name matches the following overriding patterns
## AUTO-DETECT - Handle line endings automatically for files detected
## as text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto

# Definitively text files
.* text eol=lf
*.php text eol=lf
## Source code
*.bat text eol=lf
*.coffee text eol=lf
*.css text eol=lf
*.js text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.inc text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.less text eol=lf
*.scss text eol=lf
*.manifest text eol=lf
*.php text eol=lf
*.pl text eol=lf
*.py text eol=lf
*.rb text eol=lf
*.sass text eol=lf
*.txt text eol=lf
*.md text eol=lf
*.xml text eol=lf
*.json text eol=lf
*.bat text eol=lf
*.svg text eol=lf
*.scm text eol=lf
*.scss text eol=lf
*.sh text eolf=lf
*.sql text eol=lf
*.styl text eol=lf
*.ts text eol=lf
*.xml text eol=lf
*.xhtml text eol=lf

## Documentation
*.markdown text eol=lf
*.md text eol=lf
*.mdwn text eol=lf
*.mdown text eol=lf
*.mkd text eol=lf
*.mkdn text eol=lf
*.mdtxt text eol=lf
*.mdtext text eol=lf
*.txt text eol=lf
AUTHORS text eol=lf
CHANGELOG text eol=lf
CHANGES text eol=lf
CONTRIBUTING text eol=lf
COPYING text eol=lf
INSTALL text eol=lf
license text eol=lf
LICENSE text eol=lf
NEWS text eol=lf
readme text eol=lf
*README* text eol=lf
TODO text eol=lf

## Templates
*.dot text eol=lf
*.ejs text eol=lf
*.haml text eol=lf
*.handlebars text eol=lf
*.hbs text eol=lf
*.hbt text eol=lf
*.jade text eol=lf
*.latte text eol=lf
*.mustache text eol=lf
*.njk text eol=lf
*.phtml text eol=lf
*.tmpl text eol=lf

## Linters
.csslintrc text eol=lf
.eslintrc text eol=lf
.jscsrc text eol=lf
.jshintrc text eol=lf
.jshintignore text eol=lf
.stylelintrc text eol=lf

## Configs
*.bowerrc text eol=lf
browserslist text eol=lf
*.cnf text eol=lf
*.conf text eol=lf
*.config text eol=lf
.editorconfig text eol=lf
.gitattributes text eol=lf
.gitconfig text eol=lf
.gitignore text eol=lf
.htaccess text eol=lf
*.npmignore text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
Makefile text eol=lf
makefile text eol=lf

## Docker
Dockerfile text eol=lf

# Ensure those won't be messed up with
## Heroku
Procfile text eol=lf
.slugignore text eol=lf

## Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.png binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text eol=lf
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary
*.gif binary
*.eot binary

## Audio
*.kar binary
*.m4a binary
*.m4p binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.swc binary
*.swf binary
*.webm binary

## Archives
*.7z binary
*.gz binary
*.rar binary
*.tar binary
*.zip binary

## Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary
*.mp3 binary
*.m4a binary
*.mp4 binary
*.m4p binary
*.acc binary

## Executables
*.exe binary
*.pyc binary

## Lock files
package-lock.json -diff
yarn.lock -diff
composer.lock -diff
116 changes: 98 additions & 18 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,32 +1,104 @@
# Logs
logs
*.log*
# Include your project-specific ignores in this file
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
# Useful .gitignore templates: https://github.com/github/gitignore

# Git files
*.diff
*.orig
*.rej

# Runtime data
# Numerous always-ignore extensions
pids
*.pid
*.seed
*.lock
*.err
*.tmp
*.log*

# Vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

# Text Editors
.swo
*.swp
*.vi

# Numerous always-ignore directories
logs
tmp

# Windows files and directories
Thumbs.db
ehthumbs.db
ehthumbs_vista.db
Image.db
Video.db
TVThumb.db
musicThumbs.db
thumbcache_*.db

# Mac files and directories
.DS_Store
.AppleDouble
.LSOverride
.Spotlight-V100
.Trashes
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Thumbnails
._*

# IntelliJ IDEA and other products
*.iml
.idea
release

# VSCode metadata
.vscode

# Directory for instrumented libs generated by jscoverage/JSCover
# Sublime
*.sublime-project
*.sublime-workspace
.sublimelinterrc

# Eclipse
.project
.classpath
.settings

# gitkeep
!.gitkeep

# Directory for instrumented libs generated by `jscoverage/JSCover`
lib-cov

# Coverage directory used by tools like istanbul
# Coverage directory used by tools like `istanbul`, `phpunit/php-code-coverage` and etc.
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
bower_components
.bower-cache
.bower-registry
.bower-tmp
node_modules
jspm_packages

Expand All @@ -36,15 +108,23 @@ jspm_packages
# Optional REPL history
.node_repl_history

# gitkeep
!.gitkeep
# Ignore minified files
*.min.*

# IDE
.idea
*.iml
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

#VSCode metadata
.vscode
# Caches
.cache
.cache-loader
.eslintcache
.eclintercache
.stylelintcache
.sass-cache

# Mac files
.DS_Store
# npm
npm-shrinkwrap.json
!package-lock.json

# Yarn
!yarn.lock
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 itgalaxy inc.
Copyright (c) 2017 itgalaxy inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 7d795e0

Please sign in to comment.