diff --git a/.eslintrc.json b/.eslintrc.json index c01939db2b4..c236fd47b68 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -38,6 +38,13 @@ "quotes": "off", "react/jsx-curly-spacing": "off", "react/jsx-indent-props": "off", + "react/jsx-key": "off", + "react/jsx-handler-names": "off", + "react/jsx-no-target-blank": "off", + "react/jsx-closing-bracket-location": "off", + "react/jsx-closing-tag-location": "off", + "react/jsx-curly-newline": "off", + "react/jsx-first-prop-new-line": "off", "react/prop-types": "off", "space-before-function-paren": "off", "standard/no-callback-literal": "off", diff --git a/package.json b/package.json index dcf5393a375..81ffa587c48 100644 --- a/package.json +++ b/package.json @@ -39,23 +39,23 @@ "@babel/preset-env": "^7.0.0", "@babel/preset-react": "^7.0.0", "axe-core": "^2.6.1", - "babel-eslint": "^10.0.1", + "babel-eslint": "^10.0.3", "babel-loader": "^8.0.4", "chrome-remote-interface": "^0.25.2", "clean-css": "~3.4.20", "copy-webpack-plugin": "^4.5.2", "css-loader": "^0.28.10", - "eslint": "^5.13.0", + "eslint": "^6.2.2", + "eslint-config-standard": "^14.1.0", + "eslint-config-standard-react": "^9.1.0", + "eslint-loader": "^3.0.0", "eslint-plugin-cockpit": "file:eslint-plugin-cockpit", - "eslint-config-standard": "^12.0.0", - "eslint-config-standard-react": "^7.0.2", - "eslint-loader": "^2.1.2", - "eslint-plugin-flowtype": "^3.2.1", - "eslint-plugin-import": "^2.16.0", - "eslint-plugin-node": "^8.0.1", - "eslint-plugin-promise": "^4.0.1", - "eslint-plugin-react": "^7.12.4", - "eslint-plugin-standard": "^4.0.0", + "eslint-plugin-flowtype": "^4.2.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-node": "^9.1.0", + "eslint-plugin-promise": "^4.2.1", + "eslint-plugin-react": "^7.14.3", + "eslint-plugin-standard": "^4.0.1", "extend": "~3.0.0", "extract-text-webpack-plugin": "^4.0.0-beta.0", "html-webpack-plugin": "^3.2.0",