Skip to content

Commit

Permalink
update ts and eslint deps to make linter work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
altaywtf committed Feb 11, 2022
1 parent f3b66d3 commit 882ca6c
Show file tree
Hide file tree
Showing 3 changed files with 343 additions and 108 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"husky": "^4.2.5",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
"typescript": "4.5.5"
},
"engines": {
"node": ">=10"
Expand Down Expand Up @@ -56,6 +56,10 @@
"type": "git",
"url": "https://github.com/putdotio/putio.js.git"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "5.10.2",
"**/@typescript-eslint/parser": "5.10.2"
},
"scripts": {
"build": "tsdx build",
"coveralls": "tsdx test --coverage && cat ./coverage/lcov.info | coveralls",
Expand All @@ -67,4 +71,4 @@
},
"typings": "dist/index.d.ts",
"version": "8.26.1"
}
}
29 changes: 14 additions & 15 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
{
"include": ["src"],
"compilerOptions": {
"module": "esnext",
"lib": ["dom", "esnext"],
"importHelpers": true,
"baseUrl": "./",
"declaration": true,
"sourceMap": true,
"rootDir": "./src",
"strict": true,
"esModuleInterop": true,
"importHelpers": true,
"jsx": "react",
"lib": ["dom", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"noFallthroughCasesInSwitch": true,
"noImplicitReturns": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"baseUrl": "./",
"paths": {
"*": ["src/*", "node_modules/*"]
},
"jsx": "react",
"esModuleInterop": true
"paths": { "*": ["src/*", "node_modules/*"] },
"rootDir": "./src",
"sourceMap": true,
"strict": true,
"strictNullChecks": true
}
}
Loading

0 comments on commit 882ca6c

Please sign in to comment.