Skip to content

Commit a384d9d

Browse files
committed
typed fetch initial
0 parents  commit a384d9d

File tree

17 files changed

+33102
-0
lines changed

17 files changed

+33102
-0
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
test/examples/*.ts

.eslintrc.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
extends: [
4+
'plugin:@typescript-eslint/recommended',
5+
'plugin:prettier/recommended',
6+
],
7+
parserOptions: {
8+
ecmaVersion: 2018,
9+
sourceType: 'module',
10+
},
11+
rules: {
12+
'@typescript-eslint/explicit-function-return-type': 'off',
13+
'@typescript-eslint/explicit-module-boundary-types': 'off',
14+
'@typescript-eslint/no-explicit-any': 'off',
15+
},
16+
env: {
17+
jest: true,
18+
},
19+
}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.cache
2+
.DS_Store
3+
coverage
4+
dist
5+
node_modules

.vscode/settings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"editor.formatOnSave": false,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.eslint": true
5+
},
6+
"typescript.tsdk": "node_modules/typescript/lib",
7+
"files.exclude": {
8+
"**/.git": true,
9+
"**/.svn": true,
10+
"**/.hg": true,
11+
"**/CVS": true,
12+
"**/.DS_Store": true,
13+
"**/lib": true,
14+
"**/node_modules": true,
15+
"**/coverage": true,
16+
"**/dist": true,
17+
"**/tsconfig.tsbuildinfo": true,
18+
"**/yarn-error.log": true
19+
}
20+
}

jest.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'jsdom',
4+
modulePathIgnorePatterns: ['dist'],
5+
transform: {
6+
'^.+\\.(ts|tsx)$': 'ts-jest',
7+
},
8+
}

0 commit comments

Comments
 (0)