Skip to content

Commit 91b9f49

Browse files
authored
Merge pull request #3 from enkidevs/fix-circle
Add Babel-eslint and migrate from travis to circle
2 parents 260222d + 56b4924 commit 91b9f49

File tree

6 files changed

+2241
-2846
lines changed

6 files changed

+2241
-2846
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
npm run prepare
4141
else
4242
NODE_ENV=development \
43-
npm run build
43+
npm run prepare
4444
fi
4545
- persist_to_workspace:
4646
root: ~/mongoose-cursor-pagination
@@ -61,6 +61,8 @@ jobs:
6161
working_directory: ~/mongoose-cursor-pagination
6262
docker:
6363
- image: circleci/node:8.10.0
64+
- image: circleci/mongo:3.4-jessie-ram
65+
command: [mongod]
6466
steps:
6567
- checkout
6668
- attach_workspace:

.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1+
parser: babel-eslint
12
extends:
23
- '@enkidevs/eslint-config-backend'
4+
rules:
5+
node/no-unsupported-features/es-syntax: off
6+
promise/always-return: off
7+
func-names: off

0 commit comments

Comments
 (0)