File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 22 "extends": "airbnb",
33 "parser": "babel-eslint",
44 "rules": {
5+ "class-methods-use-this": 0,
56 "indent": [2, "tab"],
67 "jsx-a11y/label-has-for": 0,
8+ "jsx-a11y/no-static-element-interactions": 0,
9+ "no-tabs": 0,
710 "react/jsx-indent": [2, "tab"],
811 "react/jsx-indent-props" : [2, "tab"],
9- "react/jsx-filename-extension": 0
12+ "react/jsx-filename-extension": 0,
13+ "react/forbid-prop-types": 0
1014 }
1115}
Original file line number Diff line number Diff line change 2323 },
2424 "devDependencies" : {
2525 "babel-core" : " ^6.13.2" ,
26- "babel-eslint" : " ^6.1.2 " ,
26+ "babel-eslint" : " ^7.0.0 " ,
2727 "babel-loader" : " ^6.2.4" ,
2828 "babel-preset-es2015" : " ^6.13.2" ,
2929 "babel-preset-react" : " ^6.11.1" ,
3030 "babel-preset-stage-0" : " ^6.5.0" ,
3131 "chai" : " ^3.5.0" ,
3232 "eslint" : " ^3.2.2" ,
33- "eslint-config-airbnb" : " ^10 .0.0" ,
33+ "eslint-config-airbnb" : " ^12 .0.0" ,
3434 "eslint-plugin-import" : " ^1.13.0" ,
3535 "eslint-plugin-jsx-a11y" : " ^2.1.0" ,
3636 "eslint-plugin-react" : " ^6.0.0" ,
Original file line number Diff line number Diff line change 11import React from 'react' ;
22
3- import TreeNode from './TreeNode.js ' ;
3+ import TreeNode from './TreeNode' ;
44
55class Tree extends React . Component {
66 static propTypes = {
You can’t perform that action at this time.
0 commit comments