-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐕 Feature/husky implementation (#2851)
* husky added * additional rule added * new rule * additional rule * html added * test lint * new rules added * Optimize tsconfig * Run eslint first * Fix the typescript config Co-authored-by: tomekstepien <tomasz.stepien@elliptic.co> Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
- Loading branch information
1 parent
9b39641
commit 5a1776d
Showing
8 changed files
with
251 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
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
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 |
---|---|---|
@@ -1,23 +1,12 @@ | ||
{ | ||
"ts-node": { | ||
"files": false | ||
}, | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"module": "commonjs", | ||
"sourceMap": true, | ||
"strict": true, | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"jsx": "react", | ||
"lib": ["DOM", "ES2020"], | ||
"types": ["jest"], | ||
"baseUrl": ".", | ||
"paths": { | ||
"@/*": ["src/*"], | ||
"@polkadot/api/augment": ["../types/augment/augment-api.ts"], | ||
"@polkadot/types/augment": ["../types/augment/augment-types.ts"] | ||
}, | ||
"baseUrl": "." | ||
} | ||
}, | ||
"include": ["dev", "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"ts-node": { | ||
"files": false | ||
}, | ||
"compilerOptions": { | ||
"target": "es2020", | ||
"module": "commonjs", | ||
"sourceMap": true, | ||
"strict": true, | ||
"esModuleInterop": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"jsx": "react", | ||
"lib": ["DOM", "ES2020"], | ||
"types": ["jest"], | ||
"baseUrl": "." | ||
}, | ||
"exclude": ["**/node_modules"] | ||
} |
Oops, something went wrong.
5a1776d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
pioneer-2 – ./
pioneer-2-git-dev-joystream.vercel.app
pioneer-2.vercel.app
pioneer-2-joystream.vercel.app