Skip to content

Commit

Permalink
use a real linting rule instead of hacks 😢
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Sep 11, 2015
1 parent 0e85e23 commit b833d55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"parser": "babel-eslint",
"rules": {
"strict": 0,
"react/prop-types": 2
"react/prop-types": 2,
"react/jsx-uses-react": 1
},
"plugins": [
"react"
Expand Down
2 changes: 0 additions & 2 deletions modules/__tests__/matchRoutes-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import { createLocation } from 'history';
import { createRoutes } from '../RouteUtils';
import matchRoutes from '../matchRoutes';

React.shutupESLint;

describe('matchRoutes', function () {
var routes, RootRoute, UsersRoute, UsersIndexRoute, UserRoute, PostRoute, FilesRoute, AboutRoute, TeamRoute, ProfileRoute, CatchAllRoute;
beforeEach(function () {
Expand Down

0 comments on commit b833d55

Please sign in to comment.