mirror of
https://github.com/peakoss/anti-slop
synced 2026-11-28 13:37:41 +08:00
chore(tooling): switch indentation from spaces to tabs
This commit is contained in:
2 files changed
+8
-3
No files matched your search
+6
-1
@@ -3,9 +3,14 @@ root = true
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{yml,yaml,md}]
|
||||
[*.{yml,yaml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.md]
|
||||
indent_size = 2
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
import { type Config } from "prettier";
|
||||
|
||||
const config: Config = {
|
||||
printWidth: 100,
|
||||
useTabs: false,
|
||||
printWidth: 100, // Matches Rust default and looks the best
|
||||
useTabs: true, // Preferred for accessibility (screen readers, variable fonts) and tab width is easily adjustable per user
|
||||
plugins: ["@ianvs/prettier-plugin-sort-imports"],
|
||||
importOrderTypeScriptVersion: "5.0.0",
|
||||
importOrder: [
|
||||
|
||||
Reference in new issue
Block a user