mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Add eslint rule to disallow spaces inside of curly braces
This commit is contained in:
parent
1f66baca4b
commit
c7728bd9ad
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,10 @@ module.exports = {
|
|||
}],
|
||||
"react/jsx-key": ["error"],
|
||||
|
||||
// Assert no spacing in JSX curly brackets
|
||||
// <Element prop={ consideredError} prop={notConsideredError} />
|
||||
"react/jsx-curly-spacing": ["error", "never"],
|
||||
|
||||
/** flowtype **/
|
||||
"flowtype/require-parameter-type": ["warn", {
|
||||
"excludeArrowFunctions": true,
|
||||
|
|
Loading…
Reference in a new issue