Add eslint rule to disallow spaces inside of curly braces
parent
e9cf25f946
commit
6eedf8b073
|
@ -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 New Issue