mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-22 06:06:45 +00:00
Ignore ESLint nested ternary (#23310)
This commit is contained in:
parent
f8bdfa2f19
commit
1032d45644
|
@ -81,7 +81,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
'no-empty': 'off',
|
'no-empty': 'off',
|
||||||
'no-nested-ternary': 'warn',
|
|
||||||
'no-restricted-properties': [
|
'no-restricted-properties': [
|
||||||
'error',
|
'error',
|
||||||
{ property: 'substring', message: 'Use .slice instead of .substring.' },
|
{ property: 'substring', message: 'Use .slice instead of .substring.' },
|
||||||
|
|
Loading…
Reference in a new issue