Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
nickuraltsev committed Nov 12, 2017
1 parent 5aba147 commit f6f0bdd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"react/forbid-prop-types": "off",
"react/require-default-props": "off",
"react/no-did-mount-set-state": "off"
"react/no-did-mount-set-state": "off",
}
}
1 change: 1 addition & 0 deletions src/ResizeDetector.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable jsx-a11y/alt-text */
import React, { Component } from 'react';
import PropTypes from 'prop-types';

Expand Down

0 comments on commit f6f0bdd

Please sign in to comment.