Skip to content

Commit 18fd547

Browse files
committed
Fix build problem
1 parent e24c631 commit 18fd547

File tree

3 files changed

+27
-2
lines changed

3 files changed

+27
-2
lines changed

.gitattributes

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Ensure all text files use LF line endings
2+
* text=auto eol=lf
3+
4+
# Explicitly declare text files
5+
*.ts text eol=lf
6+
*.js text eol=lf
7+
*.mjs text eol=lf
8+
*.json text eol=lf
9+
*.md text eol=lf
10+
*.yml text eol=lf
11+
*.yaml text eol=lf
12+
*.toml text eol=lf
13+
14+
# Declare files that will always have CRLF line endings on checkout (if any)
15+
# *.bat text eol=crlf
16+
17+
# Binary files
18+
*.wasm binary
19+
*.png binary
20+
*.jpg binary
21+
*.jpeg binary
22+
*.gif binary

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"trailingComma": "all",
44
"singleQuote": false,
55
"printWidth": 100,
6-
"tabWidth": 2
6+
"tabWidth": 2,
7+
"endOfLine": "lf"
78
}

eslint.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ export default [
3535
'@typescript-eslint/explicit-module-boundary-types': 'off',
3636
'@typescript-eslint/no-explicit-any': 'warn',
3737
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
38-
'prettier/prettier': 'error',
38+
'prettier/prettier': ['error', {
39+
endOfLine: 'lf'
40+
}],
3941
},
4042
},
4143
{

0 commit comments

Comments
 (0)