Skip to content

Commit

Permalink
Eslint Airbnb ^9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanPerryRMA committed Jul 20, 2016
1 parent afffe66 commit 269d53d
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 24 deletions.
11 changes: 4 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": [
"./node_modules/eslint-config-airbnb/.eslintrc"
],
"env": {},
"ecmaFeatures": {},
"globals": {},
"rules": {}
"extends": "airbnb",
"rules": {
"comma-dangle": 0
}
}
8 changes: 0 additions & 8 deletions modules/area-chart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,6 @@ export default class AreaChart extends React.Component {
createCircularTicks(ref);
}

createSvgNode({ m, w, h }) {
const node = createElement('svg');
select(node)
.attr('width', w + m.left + m.right)
.attr('height', h + m.top + m.bottom);
return node;
}

createSvgNode({ m, w, h }) {
const node = createElement('svg');
node.setAttribute('width', w + m.left + m.right);
Expand Down
2 changes: 1 addition & 1 deletion modules/bar-chart/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ export default class BarChart extends React.Component {
createSvgNode({ m, w, h }) {
const node = createElement('svg');
node.setAttribute('width', w + m.left + m.right);
node.setAttribute('height', h + m.top + m.bottom)
node.setAttribute('height', h + m.top + m.bottom);
return node;
}

Expand Down
2 changes: 1 addition & 1 deletion modules/pie-chart/hybrid/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default class PieChart extends React.Component {
createSvgNode({ size }) {
const node = createElement('svg');
node.setAttribute('width', size);
node.setAttribute('height', size)
node.setAttribute('height', size);
return node;
}

Expand Down
2 changes: 1 addition & 1 deletion modules/pie-chart/static/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export default class PieChart extends React.Component {
createSvgNode({ size }) {
const node = createElement('svg');
node.setAttribute('width', size);
node.setAttribute('height', size)
node.setAttribute('height', size);
return node;
}

Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"homepage": "https://github.com/rma-consulting/react-easy-chart#readme",
"devDependencies": {
"babel-cli": "^6.10.1",
"babel-core": "^6.10.4",
"babel-cli": "^6.11.4",
"babel-core": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.4",
"babel-plugin-add-module-exports": "^0.2.1",
Expand All @@ -41,11 +41,11 @@
"chai-spies": "^0.7.1",
"es5-shim": "^4.5.9",
"es6-shim": "^0.35.1",
"eslint": "^2.9.0",
"eslint": "^2.13.1",
"eslint-config-airbnb": "^9.0.1",
"eslint-loader": "^1.4.1",
"eslint-plugin-import": "^1.10.2",
"eslint-plugin-jsx-a11y": "^1.5.5",
"eslint-plugin-import": "^1.11.1",
"eslint-plugin-jsx-a11y": "^2.0.1",
"eslint-plugin-react": "^5.2.2",
"isparta": "^4.0.0",
"isparta-loader": "^2.0.0",
Expand Down Expand Up @@ -81,7 +81,7 @@
"d3-shape": "^0.7.1",
"d3-time-format": "^0.4.0",
"lodash.merge": "^4.0.1",
"radium": "^0.17.1",
"radium": "^0.18.1",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"react-faux-dom": "^2.5.0"
Expand Down

0 comments on commit 269d53d

Please sign in to comment.