mirror of
https://github.com/scratchfoundation/eslint-config-scratch.git
synced 2025-08-28 22:40:13 -04:00
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.
This commit is contained in:
parent
3309002c03
commit
394896edfe
1 changed files with 3 additions and 1 deletions
4
index.js
4
index.js
|
@ -70,7 +70,9 @@ module.exports = {
|
|||
'array-bracket-spacing': [2, 'never'],
|
||||
'block-spacing': [2, 'always'],
|
||||
'brace-style': [2],
|
||||
'camelcase': [2],
|
||||
'camelcase': [2, {
|
||||
properties: 'never'
|
||||
}],
|
||||
'comma-dangle': [2, 'never'],
|
||||
'comma-spacing': [2],
|
||||
'comma-style': [2],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue