Skip to content

Commit

Permalink
Merge 96a7cd7 into 1989834
Browse files Browse the repository at this point in the history
  • Loading branch information
deadratfink committed Feb 22, 2018
2 parents 1989834 + 96a7cd7 commit 2676f11
Show file tree
Hide file tree
Showing 87 changed files with 8,220 additions and 6,552 deletions.
22 changes: 22 additions & 0 deletions .babelrc
@@ -0,0 +1,22 @@
{
"presets": [
[
"env",
{
"targets": {
"node": "6"
}
}
]
],
"plugins": [
[
"transform-runtime",
{
"helpers": true,
"polyfill": false,
"regenerator": true
}
]
]
}
39 changes: 39 additions & 0 deletions .bithoundrc
@@ -0,0 +1,39 @@
{
"critics": {
"lint": {
"engine": "eslint",
"configLocation": ".eslintrc.js",
"ignoreLocation": ".eslintignore"
},
"wc": {
"limit": 500
}
},
"dependencies": {
"unused-ignores": [
"babel-runtime",
"eslint"
],
"mute": [
"bithound",
"eslint-plugin-json",
"inchjs",
"joi",
"jsdoc-to-markdown",
"package-json-to-readme"
]
},
"ignore": [
"**/bin/**",
"**/coverage/**",
"**/lib/**",
"**/node_modules/**",
"**/readme/**",
"**/test/tmp/**",
"**/test/functional/tmp/**"
],
"test": [
"**/test/unit/**",
"**/test/functional/**"
]
}
35 changes: 35 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,35 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:6
environment:
- NODE_ENV: "test"
branches:
only:
- master
steps:
- checkout
- run:
name: Install modules
command: make install
- run:
name: Running tests
command: make test
- run:
name: Bithound
command: |
npm install bithound --save-dev
bithound check git@github.com:deadratfink/jy-transform.git
- run:
name: Codecov Coverage
command: ./node_modules/codecov/bin/codecov
- run:
name: Coveralls Coverage
command: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js --verbose
- run:
name: Codeclimate Coverage
command: ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info
- run:
name: Codacy Coverage
command: ./node_modules/.bin/codacy-coverage < ./coverage/lcov.info
16 changes: 16 additions & 0 deletions .editorconfig
@@ -0,0 +1,16 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[Makefile]
indent_style = tab

[*.md]
trim_trailing_whitespace = false
14 changes: 13 additions & 1 deletion .eslintignore
@@ -1 +1,13 @@
**/*{.,-}min.js
coverage/**
node_modules/**
api-docs
readme/
.idea
lib/
index.js
test/data
test/tmp
test/functional/tmp

# TODO revert later when test is done
test/unit/test-cli.js
213 changes: 0 additions & 213 deletions .eslintrc

This file was deleted.

0 comments on commit 2676f11

Please sign in to comment.