forked from APIDevTools/json-schema-ref-parser
-
Notifications
You must be signed in to change notification settings - Fork 4
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 (#126)
- Loading branch information
Showing
114 changed files
with
6,167 additions
and
16,730 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,56 @@ | ||
{ | ||
"root": true, | ||
"extends": [ | ||
"@readme/eslint-config", | ||
"@readme/eslint-config/typescript" | ||
], | ||
"parserOptions": { | ||
"ecmaVersion": 2020 | ||
}, | ||
"env": { | ||
"node": true, | ||
"browser": true | ||
}, | ||
"rules": { | ||
"consistent-return": "off", | ||
"no-plusplus": "off", | ||
"no-restricted-syntax": "off", | ||
"no-underscore-dangle": "off", | ||
"no-unused-vars": "off", | ||
"no-use-before-define": "off", | ||
"node/no-deprecated-api": "off", // `url.parse` has been deprecated but `url.URL` isn't a good replacement yet. | ||
"prefer-rest-params": "off" | ||
}, | ||
"overrides": [ | ||
{ | ||
// The typings in this file are pretty bad right now, when we have native types we can | ||
// remove this. | ||
"files": ["lib/index.d.ts"], | ||
"rules": { | ||
"@typescript-eslint/array-type": "off", | ||
"@typescript-eslint/consistent-indexed-object-style": "off", | ||
"@typescript-eslint/consistent-type-imports": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/sort-type-constituents": "off", | ||
"eslint-comments/no-unused-disable": "off", | ||
"lines-between-class-members": "off", | ||
"max-classes-per-file": "off", | ||
"typescript-sort-keys/interface": "off", | ||
"unicorn/custom-error-definition": "off" | ||
} | ||
}, | ||
{ | ||
// These can all get removed when the library is moved over to native TS. | ||
"files": ["*.js"], | ||
"rules": { | ||
"@typescript-eslint/no-shadow": "off", | ||
"@typescript-eslint/no-this-alias": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-use-before-define": "off", | ||
"@typescript-eslint/no-var-requires": "off", | ||
"func-names": "off", | ||
"no-unused-expressions": "off" | ||
} | ||
} | ||
], | ||
} |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -13,7 +13,6 @@ nbproject | |
# IDEs & Text Editors | ||
.idea | ||
.sublime-* | ||
.vscode/settings.json | ||
.netbeans | ||
nbproject | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 +1 @@ | ||
coverage/ | ||
test/specs/invalid/invalid.json |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.