From eb164c35207d4326fdab88d3c2bb86279626aa41 Mon Sep 17 00:00:00 2001 From: Ferdi Koomen Date: Wed, 8 Jan 2020 00:40:18 +0100 Subject: [PATCH] - Added Circle CI --- .circleci/config.yml | 25 +++++++++++++++++++++++++ .eslintrc.json | 6 +----- 2 files changed, 26 insertions(+), 5 deletions(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..9b810fdd --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +version: 2 +jobs: + build: + working_directory: ~/repo + docker: + - image: circleci/node:lts + steps: + - checkout + - restore_cache: + keys: + - v1-dependencies-{{ checksum "package.json" }} + - v1-dependencies- + - run: + name: install + command: yarn install + - save_cache: + key: v1-dependencies-{{ checksum "package.json" }} + paths: + - node_modules + - run: + name: build + command: yarn build + - run: + name: test + command: yarn test diff --git a/.eslintrc.json b/.eslintrc.json index 61304779..e7324f4d 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,11 +19,7 @@ "@typescript-eslint/no-non-null-assertion": 0, "@typescript-eslint/ban-ts-ignore": 0, "@typescript-eslint/explicit-function-return-type": 0, - "sort-imports-es6-autofix/sort-imports-es6": [2, { - "ignoreCase": false, - "ignoreMemberSort": false, - "memberSyntaxSortOrder": ["none", "all", "multiple", "single"] - }], + "sort-imports-es6-autofix/sort-imports-es6": "error", "prettier/prettier": ["error"] } }