mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Enterprise Search] Add eslint warning for unsorted keys (#135070)
* Add eslint warning for unsorted keys * Move rules to main .eslintrc.js file
This commit is contained in:
parent
2c6eb5d6d6
commit
00712763d1
1 changed files with 2 additions and 0 deletions
|
@ -1442,6 +1442,8 @@ module.exports = {
|
|||
'import/newline-after-import': 'error',
|
||||
'react-hooks/exhaustive-deps': 'off',
|
||||
'react/jsx-boolean-value': ['error', 'never'],
|
||||
'sort-keys': 1, // warning
|
||||
'@typescript-eslint/member-ordering': [1, { default: { order: 'alphabetically' } }], // warning
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true, varsIgnorePattern: '^_' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue