mirror of
https://github.com/element-hq/element-web
synced 2024-11-22 09:15:41 +03:00
Add eslint rule keyword-spacing
Because we follow it almost all of the time.
This commit is contained in:
parent
a80935e181
commit
c429b13b05
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ module.exports = {
|
|||
// so we replace it with a version that is class property aware
|
||||
"babel/no-invalid-this": "error",
|
||||
|
||||
// We appear to follow this most of the time, so let's enforce it instead
|
||||
// of occasionally following it (or catching it in review)
|
||||
"keyword-spacing": "error",
|
||||
|
||||
/** react **/
|
||||
// This just uses the react plugin to help eslint known when
|
||||
// variables have been used in JSX
|
||||
|
|
Loading…
Reference in a new issue