Hi I'm trying to find an eslint rule for empty lines before closing bracket: I'm using react, here there is the example:
const test = () => (
<div>
Hello
</div>
// This should show an error
)
eslint config: package.json
"eslint": "^4.19.1",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-react": "^7.11.1",
.eslintrc
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"max-len": ["error", { "code": 80, "ignoreUrls": true }],
"no-console": [2]
},
"env": {
"browser": true
}
}