Skip to content

Commit d0ea939

Browse files
authored
Fix conflicting formatting by using prettier for everything (#733)
* Make prettier the default formatter for all files * Run prettier
1 parent 5e39e68 commit d0ea939

26 files changed

+430
-448
lines changed

.eslintrc.json

+6-20
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
22
"parser": "@typescript-eslint/parser",
3-
"plugins": [
4-
"@typescript-eslint",
5-
"header",
6-
"deprecation",
7-
"simple-import-sort",
8-
"import"
9-
],
3+
"plugins": ["@typescript-eslint", "header", "deprecation", "simple-import-sort", "import"],
104
"parserOptions": {
115
"project": "tsconfig.json",
126
"sourceType": "module"
@@ -21,10 +15,7 @@
2115
"header/header": [
2216
2,
2317
"line",
24-
[
25-
" Copyright (c) .NET Foundation. All rights reserved.",
26-
" Licensed under the MIT License."
27-
],
18+
[" Copyright (c) .NET Foundation. All rights reserved.", " Licensed under the MIT License."],
2819
2
2920
],
3021
"deprecation/deprecation": "error",
@@ -49,7 +40,8 @@
4940
"prefer-rest-params": "off",
5041
"prefer-spread": "off",
5142
"@typescript-eslint/explicit-member-accessibility": [
52-
"error", {
43+
"error",
44+
{
5345
"accessibility": "no-public"
5446
}
5547
],
@@ -64,11 +56,5 @@
6456
"import/newline-after-import": "error",
6557
"import/no-duplicates": "error"
6658
},
67-
"ignorePatterns": [
68-
"**/*.js",
69-
"**/*.mjs",
70-
"**/*.cjs",
71-
"dist",
72-
"azure-functions-language-worker-protobuf"
73-
]
74-
}
59+
"ignorePatterns": ["**/*.js", "**/*.mjs", "**/*.cjs", "dist", "azure-functions-language-worker-protobuf"]
60+
}

0 commit comments

Comments
 (0)