|
14 | 14 | "packageManager": "yarn@1.22.22", |
15 | 15 | "scripts": { |
16 | 16 | "build": "bob build", |
17 | | - "ci:lint": "eslint --ext .ts . --output-file eslint_report.json --format json", |
| 17 | + "ci:lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore --output-file eslint_report.json --format json .", |
18 | 18 | "clean": "rimraf node_modules/", |
19 | 19 | "generate:examples": "yarn generate:examples:cjs", |
20 | 20 | "generate:examples:cjs": "graphql-codegen --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env", |
21 | 21 | "generate:examples:esm": "graphql-codegen-esm --require dotenv/config --config ./dev-test/codegen.ts dotenv_config_path=dev-test/.env", |
22 | | - "lint": "eslint --ext .ts .", |
23 | | - "postinstall": "patch-package && husky install", |
| 22 | + "lint": "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --cache --ignore-path .gitignore .", |
| 23 | + "postinstall": "patch-package", |
24 | 24 | "prebuild": "rimraf dist/ .bob/ tsconfig.tsbuildinfo", |
25 | 25 | "prerelease": "yarn build", |
26 | 26 | "prettier": "prettier --write --list-different .", |
|
37 | 37 | "@babel/preset-typescript": "7.26.0", |
38 | 38 | "@changesets/changelog-github": "0.5.0", |
39 | 39 | "@changesets/cli": "2.27.10", |
40 | | - "@theguild/prettier-config": "2.0.7", |
| 40 | + "@theguild/prettier-config": "3.0.0", |
41 | 41 | "@types/jest": "28.1.8", |
42 | 42 | "@types/node": "22.10.2", |
43 | | - "@typescript-eslint/eslint-plugin": "7.18.0", |
44 | | - "@typescript-eslint/parser": "7.18.0", |
| 43 | + "@typescript-eslint/eslint-plugin": "8.18.0", |
| 44 | + "@typescript-eslint/parser": "8.18.0", |
45 | 45 | "babel-jest": "28.1.3", |
46 | 46 | "bob-the-bundler": "7.0.1", |
| 47 | + "cross-env": "7.0.3", |
47 | 48 | "eslint": "9.17.0", |
48 | 49 | "eslint-plugin-import": "2.31.0", |
49 | 50 | "graphql": "16.9.0", |
|
69 | 70 | }, |
70 | 71 | "lint-staged": { |
71 | 72 | "packages/**/src/**/*.{ts,tsx}": [ |
72 | | - "eslint --fix" |
| 73 | + "cross-env \"ESLINT_USE_FLAT_CONFIG=false\" eslint --fix" |
73 | 74 | ], |
74 | 75 | "**/*.{js,jsx,cjs,mjs,ts,tsx,graphql,gql,yml,yaml,json,md}": [ |
75 | 76 | "prettier --write" |
|
0 commit comments