Commit 9eee2af5 authored by Will Cory's avatar Will Cory

chore(contracts-bedrock): pnpm up --latest

parent 5a214f72
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
"lint": "pnpm lint:fix && pnpm lint:check" "lint": "pnpm lint:fix && pnpm lint:check"
}, },
"devDependencies": { "devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.60.1", "@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^5.60.1", "@typescript-eslint/parser": "^6.4.0",
"tsx": "^3.12.7", "tsx": "^3.12.7",
"typescript": "^5.1.6" "typescript": "^5.1.6"
} }
......
...@@ -2,13 +2,16 @@ import fs from 'fs' ...@@ -2,13 +2,16 @@ import fs from 'fs'
import path from 'path' import path from 'path'
import { execSync } from 'child_process' import { execSync } from 'child_process'
type Check = (parts: string[]) => boolean
type Checks = Array<{
check: Check
error: string
}>
/** /**
* Series of function name checks. * Series of function name checks.
*/ */
const checks: Array<{ const checks: Checks = [
check: (parts: string[]) => boolean
error: string
}> = [
{ {
error: 'test name parts should be in camelCase', error: 'test name parts should be in camelCase',
check: (parts: string[]): boolean => { check: (parts: string[]): boolean => {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment