Skip to content

Commit 5055345

Browse files
authored
remove eslint-prettier-config (#3320)
1 parent c45a1bc commit 5055345

File tree

5 files changed

+0
-73
lines changed

5 files changed

+0
-73
lines changed

package.json

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"esbuild": "^0.21.5",
2222
"eslint": "^9.10.0",
2323
"eslint-plugin-import": "^2.30.0",
24-
"eslint-plugin-prettier": "^5.2.1",
2524
"expect-type": "^0.20.0",
2625
"typescript-eslint": "^8.4.0"
2726
},

pnpm-lock.yaml

-66
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tools/BUILD.bazel

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ js_library(
66
visibility = ["//visibility:public"],
77
deps = [
88
"//:node_modules/@eslint/js",
9-
"//:node_modules/eslint-plugin-prettier",
109
"//:node_modules/typescript-eslint",
1110
],
1211
)

tools/base.eslint.config.mjs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import eslint from "@eslint/js";
22
import tseslint from "typescript-eslint";
3-
import prettierPlugin from "eslint-plugin-prettier/recommended";
43

54
/**
65
* @param {string} tsconfigRootDir
@@ -25,7 +24,6 @@ export function baseConfig({ tsconfigRootDir }) {
2524
"@typescript-eslint/explicit-module-boundary-types": "error",
2625
"@typescript-eslint/no-require-imports": "error",
2726
"@typescript-eslint/prefer-enum-initializers": "error",
28-
"@typescript-eslint/type-annotation-spacing": "error",
2927
"@typescript-eslint/restrict-template-expressions": "warn",
3028
"@typescript-eslint/no-non-null-assertion": "warn",
3129
"@typescript-eslint/no-extraneous-class": "off",
@@ -44,7 +42,6 @@ export function baseConfig({ tsconfigRootDir }) {
4442
],
4543
},
4644
},
47-
prettierPlugin,
4845
{
4946
files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
5047
...tseslint.configs.disableTypeChecked,

types/eslint.config.mjs

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import eslint from "@eslint/js";
22
import importPlugin from "eslint-plugin-import";
3-
import prettierPlugin from "eslint-plugin-prettier/recommended";
43
import tseslint from "typescript-eslint";
54

65
export default tseslint.config(
@@ -34,5 +33,4 @@ export default tseslint.config(
3433
"sort-imports": ["warn", { ignoreDeclarationSort: true }],
3534
},
3635
},
37-
prettierPlugin
3836
);

0 commit comments

Comments
 (0)