diff --git a/.eslintrc.js b/.eslintrc.js index f7a78223ff..425f2d2001 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -42,8 +42,17 @@ module.exports = { // Assert no spacing in JSX curly brackets // + // + // https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/docs/rules/jsx-curly-spacing.md "react/jsx-curly-spacing": ["error", "never"], + // Assert spacing before self-closing JSX tags, and no spacing before or + // after the closing slash, and no spacing after the opening bracket of + // the opening tag or closing tag. + // + // https://github.com/yannickcr/eslint-plugin-react/blob/HEAD/docs/rules/jsx-tag-spacing.md + "react/jsx-tag-spacing": ["error"], + /** flowtype **/ "flowtype/require-parameter-type": ["warn", { "excludeArrowFunctions": true,