-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps!: update to new linting rules (#1164)
Updates all deps to the latest versions. Includes new linting rules from `eslint-config-ipfs` that require return types on all methods to prevent tsc creating verbose derived types when we normally meant to specify that a function returns an interface. - ipfs/eslint-config-ipfs#114 - ipfs/eslint-config-ipfs#110 BREAKING CHANGE: all functions and methods need to declare a return type
- Loading branch information
1 parent
08e46ce
commit cf77bbb
Showing
5 changed files
with
55 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
// project options | ||
"outDir": "dist", | ||
"allowJs": true, | ||
"checkJs": true, | ||
"target": "ES2020", | ||
"module": "ES2020", | ||
"lib": ["ES2021", "ES2021.Promise", "ES2021.String", "ES2020.BigInt", "DOM", "DOM.Iterable"], | ||
"noEmit": false, | ||
"noEmitOnError": true, | ||
"emitDeclarationOnly": false, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"incremental": true, | ||
"composite": true, | ||
"isolatedModules": true, | ||
"removeComments": false, | ||
"sourceMap": true, | ||
// module resolution | ||
"esModuleInterop": true, | ||
"moduleResolution": "node", | ||
// linter checks | ||
"noImplicitReturns": false, | ||
"noFallthroughCasesInSwitch": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": false, | ||
// advanced | ||
"importsNotUsedAsValues": "error", | ||
"forceConsistentCasingInFileNames": true, | ||
"skipLibCheck": true, | ||
"stripInternal": true, | ||
"resolveJsonModule": true | ||
}, | ||
"include": [ | ||
"src", | ||
"test" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters