Skip to content

Commit e64dff3

Browse files
OmriBarZikMichalPorag
authored andcommitted
build: align editorconfig & prettier configs
1 parent 8323017 commit e64dff3

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.editorconfig

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@ root = true
22

33
[*]
44
indent_style = space
5-
indent_size = 2
5+
indent_size = 2
6+
charset = utf-8
7+
tab_width = 2
8+
end_of_line = lf
9+
insert_final_newline = true
10+
trim_trailing_whitespace = true

prettier.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
/** @type {import('prettier').Config} */
12
module.exports = {
23
arrowParens: 'always',
34
printWidth: 100,
45
singleQuote: true,
56
tabWidth: 2,
6-
endOfLine: 'auto',
7+
endOfLine: 'lf',
8+
useTabs: false,
79
overrides: [
810
{
911
files: '*.scss',

0 commit comments

Comments
 (0)