Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from BiteBit/2.0.0
Browse files Browse the repository at this point in the history
2.x
  • Loading branch information
amazing-gao committed Apr 21, 2018
2 parents dc5602e + 3221de7 commit 575486e
Show file tree
Hide file tree
Showing 147 changed files with 3,884 additions and 35,612 deletions.
16 changes: 14 additions & 2 deletions .babelrc
@@ -1,3 +1,15 @@
{
"plugins": ["transform-async-to-generator", "transform-async-generator-functions", "transform-es2015-modules-commonjs", "transform-es2015-arrow-functions", "transform-es2015-classes", "transform-es2015-parameters", "transform-es2015-destructuring", "transform-es2015-block-scoping", "transform-es2015-block-scoped-functions"]
}
"plugins": [
"transform-async-to-generator",
"transform-async-generator-functions",
"transform-decorators-legacy",
"transform-es2015-modules-commonjs",
"transform-es2015-arrow-functions",
"transform-object-rest-spread",
"transform-es2015-classes",
"transform-es2015-parameters",
"transform-es2015-destructuring",
"transform-es2015-block-scoping",
"transform-es2015-block-scoped-functions"
]
}
4 changes: 1 addition & 3 deletions .eslintignore
@@ -1,5 +1,3 @@
.nyc_output
lib
coverage
dist
node_modules
lib/swagger-ui
36 changes: 34 additions & 2 deletions .eslintrc
@@ -1,3 +1,35 @@
{
"extends": "crocodile"
}
"extends": "airbnb-base",
"rules": {
"arrow-body-style": [
"error",
"always"
],
"class-methods-use-this": 0,
"guard-for-in": 0,
"import/no-dynamic-require": 1,
"import/no-mutable-exports": 1,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/test/**"
]
}
],
"no-console": 0,
"no-param-reassign": [
2,
{
"props": false
}
],
"no-restricted-syntax": 1,
"no-unused-vars": 1,
"no-empty": "warn",
"object-curly-spacing": 0,
"key-spacing": "warn",
"max-len": "warn"
}
}
11 changes: 7 additions & 4 deletions .gitignore
@@ -1,11 +1,14 @@
.idea
.DS_Store
.nyc_output
coverage
dist
dist-test
node_modules
.vscode

*.log
*.map
*.lcov

lib
coverage
dist
dist-test
node_modules
5 changes: 3 additions & 2 deletions .npmignore
@@ -1,4 +1,5 @@
.idea
test
dist-test

example
src
test
8 changes: 4 additions & 4 deletions .travis.yml
@@ -1,8 +1,8 @@
language: node_js
node_js:
- "4"
- "5"
- "6"
- "7"
script: "npm run test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
- "8"
- "9"
script: "npm run ci"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

0 comments on commit 575486e

Please sign in to comment.