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

Commit 575486e

Browse files
authored
Merge pull request #42 from BiteBit/2.0.0
2.x
2 parents dc5602e + 3221de7 commit 575486e

File tree

147 files changed

+3884
-35612
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

147 files changed

+3884
-35612
lines changed

.babelrc

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
{
2-
"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"]
3-
}
2+
"plugins": [
3+
"transform-async-to-generator",
4+
"transform-async-generator-functions",
5+
"transform-decorators-legacy",
6+
"transform-es2015-modules-commonjs",
7+
"transform-es2015-arrow-functions",
8+
"transform-object-rest-spread",
9+
"transform-es2015-classes",
10+
"transform-es2015-parameters",
11+
"transform-es2015-destructuring",
12+
"transform-es2015-block-scoping",
13+
"transform-es2015-block-scoped-functions"
14+
]
15+
}

.eslintignore

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
.nyc_output
1+
lib
22
coverage
3-
dist
43
node_modules
5-
lib/swagger-ui

.eslintrc

+34-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,35 @@
11
{
2-
"extends": "crocodile"
3-
}
2+
"extends": "airbnb-base",
3+
"rules": {
4+
"arrow-body-style": [
5+
"error",
6+
"always"
7+
],
8+
"class-methods-use-this": 0,
9+
"guard-for-in": 0,
10+
"import/no-dynamic-require": 1,
11+
"import/no-mutable-exports": 1,
12+
"import/prefer-default-export": 0,
13+
"import/no-extraneous-dependencies": [
14+
"error",
15+
{
16+
"devDependencies": [
17+
"**/test/**"
18+
]
19+
}
20+
],
21+
"no-console": 0,
22+
"no-param-reassign": [
23+
2,
24+
{
25+
"props": false
26+
}
27+
],
28+
"no-restricted-syntax": 1,
29+
"no-unused-vars": 1,
30+
"no-empty": "warn",
31+
"object-curly-spacing": 0,
32+
"key-spacing": "warn",
33+
"max-len": "warn"
34+
}
35+
}

.gitignore

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
.idea
22
.DS_Store
33
.nyc_output
4-
coverage
5-
dist
6-
dist-test
7-
node_modules
4+
.vscode
85

96
*.log
107
*.map
118
*.lcov
9+
10+
lib
11+
coverage
12+
dist
13+
dist-test
14+
node_modules

.npmignore

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea
2-
test
3-
dist-test
2+
43
example
4+
src
5+
test

.travis.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: node_js
22
node_js:
3-
- "4"
4-
- "5"
53
- "6"
64
- "7"
7-
script: "npm run test-travis"
8-
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
5+
- "8"
6+
- "9"
7+
script: "npm run ci"
8+
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"

0 commit comments

Comments
 (0)