Skip to content

Commit 31b636e

Browse files
committed
chore: eslint config
1 parent c51f9fd commit 31b636e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ module.exports = {
1111
},
1212
plugins: ['@typescript-eslint'],
1313
rules: {
14-
semi: ['error', 'always']
14+
semi: ['error', 'always'],
15+
'comma-dangle': ['error', 'never'],
16+
'space-before-function-paren': ['error', 'never']
1517
}
1618
};

.prettierrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"singleQuote": true,
3-
"trailingComma": "all"
3+
"trailingComma": "none"
44
}

0 commit comments

Comments
 (0)