Skip to content

Commit

Permalink
Fix conflicting formatting by using prettier for everything (#218)
Browse files Browse the repository at this point in the history
* Make prettier the default formatter for all files

* Run prettier
  • Loading branch information
ejizba authored Feb 7, 2024
1 parent 3822bc3 commit de87cbe
Show file tree
Hide file tree
Showing 17 changed files with 477 additions and 502 deletions.
24 changes: 5 additions & 19 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"header",
"deprecation",
"simple-import-sort",
"import"
],
"plugins": ["@typescript-eslint", "header", "deprecation", "simple-import-sort", "import"],
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
Expand All @@ -21,10 +15,7 @@
"header/header": [
2,
"line",
[
" Copyright (c) .NET Foundation. All rights reserved.",
" Licensed under the MIT License."
],
[" Copyright (c) .NET Foundation. All rights reserved.", " Licensed under the MIT License."],
2
],
"deprecation/deprecation": "error",
Expand All @@ -34,7 +25,8 @@
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"prefer-const": ["error", { "destructuring": "all" }],
"@typescript-eslint/explicit-member-accessibility": [
"error", {
"error",
{
"accessibility": "no-public"
}
],
Expand All @@ -53,11 +45,5 @@
"import/newline-after-import": "error",
"import/no-duplicates": "error"
},
"ignorePatterns": [
"**/*.js",
"**/*.mjs",
"**/*.cjs",
"out",
"dist"
]
"ignorePatterns": ["**/*.js", "**/*.mjs", "**/*.cjs", "out", "dist"]
}
Loading

0 comments on commit de87cbe

Please sign in to comment.