refactor: Add rule no-constant-binary-expression (no-changelog) (#7670)

https://eslint.org/docs/latest/rules/no-constant-binary-expression
This commit is contained in:
Iván Ovejero
2023-11-09 17:50:59 +01:00
committed by GitHub
parent 40dc5a0d85
commit f73a0597ba
11 changed files with 23 additions and 11 deletions

View File

@@ -134,6 +134,11 @@ const config = (module.exports = {
*/
indent: 'off',
/**
* https://eslint.org/docs/latest/rules/no-constant-binary-expression
*/
'no-constant-binary-expression': 'error',
/**
* https://eslint.org/docs/latest/rules/sort-imports
*/