Skip to content

Commit 32b5f9c

Browse files
authored
chore: update dependencies and configuration (#42)
* 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
1 parent 4aaf05f commit 32b5f9c

8 files changed

Lines changed: 33244 additions & 40275 deletions

File tree

.circleci/config.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ version: 2
44
scripts: &scripts
55
steps:
66
- checkout
7-
- run: npm ci
8-
- run: npm test
9-
- run: npm run lint
10-
- run: npm run build
7+
- run: yarn
8+
- run: yarn test
9+
- run: yarn lint
10+
- run: yarn build
1111

1212
jobs:
1313
node-10:
@@ -22,6 +22,10 @@ jobs:
2222
<<: *scripts
2323
docker:
2424
- image: circleci/node:13
25+
node-14:
26+
<<: *scripts
27+
docker:
28+
- image: circleci/node:14
2529

2630
workflows:
2731
version: 2
@@ -30,3 +34,4 @@ workflows:
3034
- node-10
3135
- node-12
3236
- node-13
37+
- node-14

.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: [
4+
'@typescript-eslint',
5+
'jest',
6+
],
7+
env: {
8+
es6: true,
9+
'jest/globals': true,
10+
node: true,
11+
},
12+
extends: [
13+
'eslint:recommended',
14+
'plugin:@typescript-eslint/recommended',
15+
],
16+
rules: {
17+
'@typescript-eslint/explicit-function-return-type': 'off',
18+
'@typescript-eslint/explicit-member-accessibility': [
19+
'error', { 'accessibility': 'no-public' },
20+
],
21+
'@typescript-eslint/indent': ['error', 'tab'],
22+
'@typescript-eslint/no-non-null-assertion': 'off',
23+
'@typescript-eslint/no-use-before-define': 'off',
24+
},
25+
};

.eslintrc.json

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)