mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Add eslint rule "no-lonely-if"
This commit is contained in:
parent
7092d42c04
commit
64ac29bc1a
@ -84,5 +84,6 @@ module.exports = {
|
|||||||
"no-implicit-globals": "error",
|
"no-implicit-globals": "error",
|
||||||
"no-implied-eval": "error",
|
"no-implied-eval": "error",
|
||||||
"no-label-var": "error",
|
"no-label-var": "error",
|
||||||
|
"no-lonely-if": "error",
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user