Skip to content
This repository was archived by the owner on Jul 5, 2022. It is now read-only.

Commit c4b8dce

Browse files
committed
chore: add dotfiles
1 parent ce1aa13 commit c4b8dce

10 files changed

+114
-0
lines changed

.babelrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"presets": [
3+
"es2015-node5"
4+
]
5+
}

.codeclimate.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
engines:
2+
eslint:
3+
enabled: true

.editorconfig

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true
11+
max_line_length = 120
12+
13+
[*.js]
14+
quote_type = single

.eslintignore

Whitespace-only changes.

.eslintrc

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"ecmaFeatures": {
3+
"modules": true
4+
},
5+
"rules": {
6+
"quotes": [
7+
2,
8+
"single"
9+
],
10+
"semi": [
11+
2,
12+
"never"
13+
],
14+
"camelcase": 0,
15+
"consistent-return": 2,
16+
"no-underscore-dangle": 0,
17+
"no-use-before-define": 0,
18+
"no-shadow": 0
19+
},
20+
"env": {
21+
"node": true,
22+
"mocha": true,
23+
"es6": true
24+
},
25+
"parser": "babel-eslint"
26+
}

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# System
2+
.DS_Store
3+
4+
# IDE
5+
.idea
6+
7+
# node.js
8+
npm-debug.log
9+
node_modules/
10+
11+
# lib
12+
coverage/
13+
lib/

.npmignore

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# dotiles
2+
.babelrc
3+
.codeclimate.yml
4+
.editorconfig
5+
.eslintignore
6+
.eslintrc
7+
.gitattributes
8+
.gitignore
9+
.npmignore
10+
.nvmrc
11+
.travis.yml
12+
13+
# dirs
14+
bin/
15+
coverage/
16+
docs/
17+
test/
18+
src/

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5

.travis.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
sudo: false
2+
language: node_js
3+
env:
4+
- CXX=g++-4.8
5+
addons:
6+
apt:
7+
sources:
8+
- ubuntu-toolchain-r-test
9+
packages:
10+
- g++-4.8
11+
cache:
12+
directories:
13+
- node_modules
14+
env:
15+
- CXX=g++-4.8
16+
addons:
17+
apt:
18+
sources:
19+
- ubuntu-toolchain-r-test
20+
packages:
21+
- g++-4.8
22+
notifications:
23+
email: false
24+
node_js:
25+
- "5"
26+
before_script:
27+
- npm prune
28+
script:
29+
- npm run build
30+
- npm run test:coverage
31+
after_success:
32+
- codeclimate-test-reporter < coverage/lcov.info
33+
- npm run semantic-release

0 commit comments

Comments
 (0)