Skip to content

Commit

Permalink
build: simplify configs
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuanchen committed Aug 19, 2017
1 parent 7276d7b commit ed396c0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 78 deletions.
13 changes: 5 additions & 8 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
{
"presets": [
[
"es2015",
{
"modules": false
["env", {
"modules": false,
"targets": {
"browsers": ["last 2 versions", "ie >= 9"]
}
]
],
"plugins": [
"external-helpers"
}]
]
}
5 changes: 1 addition & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
},
"rules": {
"arrow-body-style": 0,
"comma-dangle": 0,
"default-case": 0,
"no-param-reassign": 0,
"no-plusplus": 0
"no-param-reassign": 0
}
}
17 changes: 1 addition & 16 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
# Automatically normalize line endings for all text-based files
# http://git-scm.com/docs/gitattributes#_end_of_line_conversion
# Auto detect text files and perform LF normalization
* text=auto

# For the following file types, normalize line endings to LF on
# checkin and prevent conversion to CRLF when they are checked out
# (this is required in order to prevent newline related issues like,
# for example, after the build script is run)
.* text eol=lf
*.css text eol=lf
*.html text eol=lf
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf
50 changes: 2 additions & 48 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,49 +1,3 @@
# Project
/_*
*.map
bower_components
node_modules

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
*.map
_*
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
/_*
/.*
*.map
bower_components
build
docs
examples
node_modules
test
bower.json
postcss.config.json
postcss.config.js
rollup.config.js
CONTRIBUTING.md
ISSUE_TEMPLATE.md

0 comments on commit ed396c0

Please sign in to comment.