Skip to content

Commit 0a38792

Browse files
committed
Sync eslintrc
1 parent 1a39eed commit 0a38792

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.eslintrc.cjs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ module.exports = {
129129
},
130130
{
131131
selector: 'parameter',
132-
format: ['strictCamelCase'],
133-
leadingUnderscore: 'allow',
132+
format: ['strictCamelCase', 'UPPER_CASE'],
133+
leadingUnderscore: 'allowSingleOrDouble',
134+
trailingUnderscore: 'allowDouble',
134135
},
135136
{
136137
selector: 'memberLike',
@@ -148,7 +149,12 @@ module.exports = {
148149
match: false,
149150
},
150151
format: ['strictCamelCase', 'UPPER_CASE'],
152+
leadingUnderscore: 'allowDouble',
153+
trailingUnderscore: 'allowDouble',
151154
},
152155
],
156+
'@typescript-eslint/no-unused-vars': ['error', {
157+
argsIgnorePattern: '^_',
158+
}],
153159
},
154160
}

0 commit comments

Comments
 (0)