mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Update eslint rule
This commit is contained in:
1 parent
094332da53
commit
ae61bfc768
1 file changed
+1
@@ -20,5 +20,6 @@ module.exports = {
|
|||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||||
'import/extensions': 'off',
|
'import/extensions': 'off',
|
||||||
camelcase: ['error', { properties: 'never', ignoreDestructuring: true }],
|
camelcase: ['error', { properties: 'never', ignoreDestructuring: true }],
|
||||||
|
'no-param-reassign': ['error', { props: false }],
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user