Skip to content

Commit

Permalink
Add example test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
ptb committed Aug 16, 2024
1 parent d5c059e commit 34be110
Show file tree
Hide file tree
Showing 14 changed files with 607 additions and 249 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"source.fixAll": "explicit",
"source.sortImports": "explicit"
},
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.formatOnType": false
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package.json",
"devDependencies": {
"@ptb/eslint-config": "2024.8.16",
"@ptb/eslint-config": "2024.8.16-1",
"@ptb/prettier-config": "2024.8.16",
"@ptb/typescript-config": "2024.8.16",
"lefthook": "1.7.13",
Expand All @@ -14,8 +14,7 @@
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"@typescript-eslint/parser": "8",
"eslint": "9"
"@typescript-eslint/parser": "8"
}
}
},
Expand Down
1 change: 0 additions & 1 deletion pkg/eslint-config/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export const config = [
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-redundant-type-constituents": "error",
"@typescript-eslint/no-this-alias": "error",
"@typescript-eslint/no-throw-literal": "error",
"@typescript-eslint/no-unnecessary-boolean-literal-compare":
"error",
"@typescript-eslint/no-unnecessary-condition": "error",
Expand Down
4 changes: 2 additions & 2 deletions pkg/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"@tanstack/eslint-plugin-query": "5.51.15",
"@typescript-eslint/eslint-plugin": "8.1.0",
"@typescript-eslint/parser": "8.1.0",
"eslint": "9.9.0",
"eslint": "8.57.0",
"eslint-config-next": "14.2.5",
"eslint-plugin-fp": "2.3.0",
"eslint-plugin-import-x": "3.1.0",
Expand Down Expand Up @@ -40,5 +40,5 @@
"name": "@ptb/eslint-config",
"type": "module",
"types": "./types.d.ts",
"version": "2024.8.16"
"version": "2024.8.16-1"
}
4 changes: 2 additions & 2 deletions pkg/vite-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"vitest-monocart-coverage": "2.1.1"
},
"devDependencies": {
"@ptb/eslint-config": "2024.8.16",
"@ptb/eslint-config": "2024.8.16-1",
"@ptb/prettier-config": "2024.8.16",
"@types/node": "20.14.15",
"@types/react": "18.3.3",
Expand All @@ -28,5 +28,5 @@
"name": "@ptb/vite-config",
"type": "module",
"types": "./types.d.ts",
"version": "2024.8.16"
"version": "2024.8.16-1"
}
Loading

0 comments on commit 34be110

Please sign in to comment.