Skip to content

Commit 394896e

Browse files
author
Ray Schamp
committed
fix(base): Relax camelcase for object properties
Because of the addition of quote-props, the linter picked up non-camelcase object props. Object properties shouldn't be linted for camelcase.
1 parent 3309002 commit 394896e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ module.exports = {
7070
'array-bracket-spacing': [2, 'never'],
7171
'block-spacing': [2, 'always'],
7272
'brace-style': [2],
73-
'camelcase': [2],
73+
'camelcase': [2, {
74+
properties: 'never'
75+
}],
7476
'comma-dangle': [2, 'never'],
7577
'comma-spacing': [2],
7678
'comma-style': [2],

0 commit comments

Comments
 (0)