Skip to content

Commit 69e6ccb

Browse files
committed
🚧 chore: fix eslint and prettier conflig
1 parent 90da611 commit 69e6ccb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.eslintrc.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
*/
44
module.exports = {
55
parser: '@typescript-eslint/parser',
6-
76
parserOptions: {
87
ecmaVersion: 2020,
98
sourceType: 'module',
109
},
1110
extends: [
1211
'plugin:@typescript-eslint/recommended',
13-
1412
'prettier',
1513
'plugin:prettier/recommended',
1614
],
17-
rules: {},
15+
rules: {
16+
'@typescript-eslint/no-unused-vars': 'error',
17+
'prettier/prettier': ['none', { trailingComma: 'es5' }],
18+
},
1819
}

.prettierrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"trailingComma": "none"
2+
"trailingComma": "none",
3+
"endOfLine": "auto"
34
}

0 commit comments

Comments
 (0)