Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 0 additions & 35 deletions .eslintrc.cjs

This file was deleted.

1 change: 0 additions & 1 deletion babel.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line no-undef
module.exports = {
presets: [
["@babel/preset-env", { targets: { node: "current" } }],
Expand Down
42 changes: 42 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import js from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import typescriptPlugin from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

export default [
{
ignores: ["**/dist", "examples", "packages/e2e", "coverage"],
},
js.configs.recommended,
{
plugins: {
"@typescript-eslint": typescriptPlugin,
},
languageOptions: {
parser: tsParser,
},
rules: {
...typescriptPlugin.configs.recommended.rules,
},
},
{
files: ["*.ts"],
parser: "@typescript-eslint/parser",
parserOptions: {
// eslint-disable-next-line no-undef
tsconfigRootDir: process.cwd(),
project: [
"./tsconfig.json",
"./packages/*/tsconfig.json",
"./examples/*/tsconfig.json",
],
},
rules: {
...typescriptPlugin.configs["recommended-requiring-type-checking"].rules,
"@typescript-eslint/prefer-nullish-coalescing": "error",
"@typescript-eslint/no-unnecessary-condition": "error",
"@typescript-eslint/prefer-optional-chain": "error",
},
},
eslintConfigPrettier,
];
1 change: 0 additions & 1 deletion jest.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line no-undef
module.exports = {
clearMocks: true,
coverageDirectory: "coverage",
Expand Down
31 changes: 16 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,27 @@
"typecheck": "pnpm --recursive run typecheck"
},
"dependencies": {
"google-protobuf": "^3.21.2"
"google-protobuf": "^3.21.4"
},
"devDependencies": {
"@babel/preset-env": "^7.23.2",
"@babel/preset-typescript": "^7.23.2",
"@types/google-protobuf": "^3.15.9",
"@types/jest": "^29.5.6",
"@types/node": "^20.8.8",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"babel-loader": "^9.1.3",
"@babel/preset-env": "^7.26.9",
"@babel/preset-typescript": "^7.26.0",
"@eslint/js": "^9.21.0",
"@types/google-protobuf": "^3.15.12",
"@types/jest": "^29.5.14",
"@types/node": "^22.13.5",
"@typescript-eslint/eslint-plugin": "^8.24.1",
"@typescript-eslint/parser": "^8.24.1",
"babel-loader": "^9.2.1",
"codecov": "^3.8.3",
"esbuild": "^0.19.5",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"husky": "^8.0.3",
"esbuild": "^0.25.0",
"eslint": "^9.21.0",
"eslint-config-prettier": "^10.0.1",
"husky": "^9.1.7",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"prettier": "^3.5.2",
"prettier-package-json": "^2.8.0",
"typescript": "^5.2.2"
"typescript": "^5.7.3"
},
"packageManager": "pnpm@10.4.1+sha512.c753b6c3ad7afa13af388fa6d808035a008e30ea9993f58c6663e2bc5ff21679aa834db094987129aa4d488b86df57f7b634981b2f827cdcacc698cc0cfb88af"
}
1 change: 0 additions & 1 deletion packages/well-known-types/well_known_types.pb.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// Source: well_known_types.proto
/* eslint-disable */
Loading
Loading