Skip to content

Commit

Permalink
chore: enforce LF line endings for all files
Browse files Browse the repository at this point in the history
  • Loading branch information
woai3c committed Sep 10, 2024
1 parent 973cd6a commit e839e68
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
root = true
[*]
end_of_line = lf

[*.{js,jsx,ts,tsx,vue}]
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 120
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"jsxSingleQuote": false,
"bracketSameLine": false,
"jsxBracketSameLine": false,
"trailingComma": "all"
"trailingComma": "all",
"endOfLine": "lf"
}
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"source.fixAll": "explicit"
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\n"
}

0 comments on commit e839e68

Please sign in to comment.