-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(test): moving unit testing over to vitest (#789)
* feat: moving unit testing over to vitest * fix: bringing back a test and making it work * feat: upgrading eslint and movin us to prettier 3 * fix: remove unused jest config * Update package.json Co-authored-by: Kanad Gupta <[email protected]> * chore: bump eslint-config pkg --------- Co-authored-by: Kanad Gupta <[email protected]>
- Loading branch information
1 parent
68b248e
commit 190a6c7
Showing
51 changed files
with
6,795 additions
and
9,617 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 |
---|---|---|
@@ -1,39 +1,20 @@ | ||
{ | ||
"extends": [ | ||
"@readme/eslint-config", | ||
"@readme/eslint-config/docs", | ||
"@readme/eslint-config/typescript" | ||
], | ||
"root": true, | ||
"plugins": ["jsdoc"], | ||
"rules": { | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-use-before-define": ["error", { "classes": false }], | ||
|
||
"camelcase": "off", | ||
|
||
// Though we aren't requiring JSDoc blocks to be present, if they are they should be properly | ||
// formatted. | ||
"jsdoc/require-jsdoc": "off", | ||
"jsdoc/tag-lines": "off", | ||
|
||
"max-classes-per-file": "off", | ||
"no-param-reassign": "off", | ||
|
||
"no-underscore-dangle": ["error", { | ||
"allow": ["_key"] | ||
}] | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": "*.ts", | ||
"rules": { | ||
// TypeScript types are better suited for these cases instead. | ||
"jsdoc/require-param": "off", | ||
"jsdoc/require-param-type": "off", | ||
"jsdoc/require-returns": "off", | ||
"jsdoc/require-returns-type": "off" | ||
} | ||
} | ||
] | ||
} | ||
} |
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 |
---|---|---|
|
@@ -4,4 +4,3 @@ __tests__/ | |
coverage/ | ||
.eslint* | ||
.prettier* | ||
jest.*.js |
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,6 +1,3 @@ | ||
{ | ||
"extends": "@readme/eslint-config/testing", | ||
"rules": { | ||
"testing-library/prefer-presence-queries": "off" | ||
} | ||
"extends": "@readme/eslint-config/testing/vitest" | ||
} |
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
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
Oops, something went wrong.