Skip to content

Commit f6f0bdd

Browse files
committed
Fix lint errors
1 parent 5aba147 commit f6f0bdd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.eslintrc

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
"extends": "airbnb",
33
"parser": "babel-eslint",
44
"rules": {
5+
"comma-dangle": ["error", {
6+
"arrays": "always-multiline",
7+
"objects": "always-multiline",
8+
"imports": "always-multiline",
9+
"exports": "always-multiline",
10+
"functions": "never"
11+
}],
512
"react/forbid-prop-types": "off",
613
"react/require-default-props": "off",
7-
"react/no-did-mount-set-state": "off"
14+
"react/no-did-mount-set-state": "off",
815
}
916
}

src/ResizeDetector.jsx

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable jsx-a11y/alt-text */
12
import React, { Component } from 'react';
23
import PropTypes from 'prop-types';
34

0 commit comments

Comments
 (0)