Permalink
Browse files

Upgrade ESLint to v5.x (#9694)

  • Loading branch information...
ykzts authored and Gargron committed Jan 2, 2019
1 parent 70be301 commit dc84899fffbee254454e88f3d78848eb6c51beeb
Showing with 175 additions and 195 deletions.
  1. +1 −1 .codeclimate.yml
  2. +2 −0 .eslintrc.yml
  3. +1 −2 app/javascript/mastodon/containers/domain_container.js
  4. +4 −4 package.json
  5. +167 −188 yarn.lock
@@ -27,7 +27,7 @@ plugins:
enabled: true
eslint:
enabled: true
channel: eslint-4
channel: eslint-5
rubocop:
enabled: true
channel: rubocop-0-54
@@ -26,6 +26,8 @@ parserOptions:
ecmaVersion: 2018

settings:
react:
version: detect
import/extensions:
- .js
import/ignore:
@@ -10,8 +10,7 @@ const messages = defineMessages({
});

const makeMapStateToProps = () => {
const mapStateToProps = (state, { }) => ({
});
const mapStateToProps = () => ({});

return mapStateToProps;
};
@@ -139,11 +139,11 @@
"babel-jest": "^23.6.0",
"enzyme": "^3.8.0",
"enzyme-adapter-react-16": "^1.7.1",
"eslint": "^4.19.1",
"eslint-plugin-import": "~2.8.0",
"eslint": "^5.11.1",
"eslint-plugin-import": "~2.14.0",
"eslint-plugin-jsx-a11y": "~6.1.2",
"eslint-plugin-promise": "~3.8.0",
"eslint-plugin-react": "~7.8.2",
"eslint-plugin-promise": "~4.0.1",
"eslint-plugin-react": "~7.12.1",
"jest": "^23.6.0",
"raf": "^3.4.1",
"react-intl-translations-manager": "^5.0.3",
Oops, something went wrong.

0 comments on commit dc84899

Please sign in to comment.