Skip to content

Commit

Permalink
chore: update dependencies and configuration (#42)
Browse files Browse the repository at this point in the history
* chore: update dependencies and configuration

* chore: update eslint to match typescript files

* chore: reconfigure jest for 27 defaults

* chore: switch to yarn instead of npm

* chore: add node 14 to circle ci
  • Loading branch information
byCedric authored May 8, 2020
1 parent 4aaf05f commit 32b5f9c
Show file tree
Hide file tree
Showing 8 changed files with 33,244 additions and 40,275 deletions.
13 changes: 9 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ version: 2
scripts: &scripts
steps:
- checkout
- run: npm ci
- run: npm test
- run: npm run lint
- run: npm run build
- run: yarn
- run: yarn test
- run: yarn lint
- run: yarn build

jobs:
node-10:
Expand All @@ -22,6 +22,10 @@ jobs:
<<: *scripts
docker:
- image: circleci/node:13
node-14:
<<: *scripts
docker:
- image: circleci/node:14

workflows:
version: 2
Expand All @@ -30,3 +34,4 @@ workflows:
- node-10
- node-12
- node-13
- node-14
25 changes: 25 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
'jest',
],
env: {
es6: true,
'jest/globals': true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-member-accessibility': [
'error', { 'accessibility': 'no-public' },
],
'@typescript-eslint/indent': ['error', 'tab'],
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-use-before-define': 'off',
},
};
28 changes: 0 additions & 28 deletions .eslintrc.json

This file was deleted.

Loading

0 comments on commit 32b5f9c

Please sign in to comment.