Skip to content

Commit 6b64fb2

Browse files
build: update project tooling
1 parent eecbaea commit 6b64fb2

15 files changed

+3563
-9630
lines changed

.editorconfig

-11
This file was deleted.

.eslintrc.js

-32
This file was deleted.

.eslintrc.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
parser: '@typescript-eslint/parser'
2+
plugins:
3+
- '@typescript-eslint'
4+
parserOptions:
5+
ecmaVersion: 2018
6+
sourceType: module
7+
project:
8+
- ./tsconfig.json
9+
- ./tsconfig.spec.json
10+
extends:
11+
- 'plugin:@typescript-eslint/recommended'
12+
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
13+
- 'plugin:jest/recommended'
14+
- 'prettier'
15+
- 'prettier/@typescript-eslint'
16+
rules:
17+
'@typescript-eslint/explicit-member-accessibility': off
18+
'@typescript-eslint/no-angle-bracket-type-assertion': off
19+
'@typescript-eslint/no-parameter-properties': off
20+
'@typescript-eslint/explicit-function-return-type': off
21+
'@typescript-eslint/member-delimiter-style': off
22+
'@typescript-eslint/no-inferrable-types': off
23+
'@typescript-eslint/no-explicit-any': off
24+
'@typescript-eslint/member-ordering': 'error'
25+
# TODO: Remove these and fixed issues once we merged all the current PRs.
26+
'@typescript-eslint/ban-types': off
27+
'@typescript-eslint/no-unsafe-return': off
28+
'@typescript-eslint/no-unsafe-assignment': off
29+
'@typescript-eslint/no-unsafe-call': off
30+
'@typescript-eslint/no-unsafe-member-access': off
31+
'@typescript-eslint/explicit-module-boundary-types': off

.gitignore

+37-33
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,52 @@
1-
# Logs
1+
# Log files
22
logs
33
*.log
4+
*.tmp
5+
*.tmp.*
6+
log.txt
47
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
7-
lerna-debug.log*
88

9-
# Diagnostic reports (https://nodejs.org/api/report.html)
10-
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
9+
# Testing output
10+
lib-cov/**
11+
coverage/**
1112

12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
13+
# Environment files
14+
.env
1715

18-
# Yarn Integrity file
19-
.yarn-integrity
20-
21-
# Output of 'npm pack'
22-
*.tgz
16+
# Dependency directories
17+
node_modules
2318

24-
# Optional npm cache directory
25-
.npm
19+
# MacOS related files
20+
*.DS_Store
21+
.AppleDouble
22+
.LSOverride
23+
._*
24+
UserInterfaceState.xcuserstate
2625

27-
# TypeScript v1 declaration files
28-
typings/
26+
# Windows related files
27+
Thumbs.db
28+
Desktop.ini
29+
$RECYCLE.BIN/
2930

30-
# TypeScript cache
31-
*.tsbuildinfo
31+
# IDE - Sublime
32+
*.sublime-project
33+
*.sublime-workspace
3234

33-
# Coverage report dir
34-
coverage/
35+
# IDE - VSCode
36+
.vscode/**
37+
!.vscode/tasks.json
38+
!.vscode/launch.json
3539

36-
# Dependency directories
37-
node_modules/
40+
# IDE - IntelliJ
41+
.idea
3842

39-
# rollup.js build output
43+
# Compilation output folders
4044
dist/
4145
build/
46+
tmp/
47+
out-tsc/
48+
temp
4249

43-
44-
# IDEs
45-
*.iml
46-
.idea/
47-
.vscode/
48-
50+
# Files for playing around locally
51+
playground.ts
52+
playground.js

.prettierrc.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
printWidth: 120
2+
tabWidth: 2
3+
useTabs: false
4+
semi: true
5+
singleQuote: true
6+
trailingComma: es5
7+
bracketSpacing: true
8+
arrowParens: avoid

.travis.yml

-7
This file was deleted.

codecov.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
coverage:
2+
range: 70..100
3+
round: down
4+
precision: 2
5+
status:
6+
default:
7+
threshold: 3
8+
comment: off
9+
ignore:
10+
- testing/**/*.ts
11+
- src/**/*.interface.ts

0 commit comments

Comments
 (0)