Skip to content

Commit 55cc898

Browse files
author
Noah
committed
feat: add camelcase rule
1 parent f88b0ba commit 55cc898

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages/eslint-config-nest/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ export = {
3535
'no-empty-function': 'off',
3636
'no-empty-pattern': 'warn',
3737
'no-unused-vars': 'off',
38+
camelcase: [
39+
'error',
40+
{
41+
properties: 'never',
42+
},
43+
],
3844
'@typescript-eslint/no-explicit-any': 'off',
3945
},
4046
}

packages/eslint-config-vue/src/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ export = {
3838
'no-unused-vars': 'off',
3939
'no-console': 'off',
4040
'no-undef': 'off',
41+
camelcase: [
42+
'error',
43+
{
44+
properties: 'never',
45+
},
46+
],
4147
'@typescript-eslint/no-unused-vars': 'error',
4248
'@typescript-eslint/no-explicit-any': 'error',
4349
},

0 commit comments

Comments
 (0)