Skip to content
This repository has been archived by the owner on Dec 29, 2017. It is now read-only.

Commit

Permalink
Add missing react import and fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 committed Nov 17, 2015
1 parent 36706d3 commit e6520cd
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ max_line_length = 120
[*.json]
max_line_length = undefined

[package.json]
[{package.json,.eslintrc}]
indent_size = 2
32 changes: 32 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,35 @@
modules: true
env:
es6: true
rules:
react/display-name: 1
react/forbid-prop-types: 1
react/jsx-boolean-value: 1
react/jsx-closing-bracket-location: 1
react/jsx-curly-spacing: 1
react/jsx-indent-props: 1
react/jsx-key: 1
react/jsx-max-props-per-line: 1
react/jsx-no-bind: 1
react/jsx-no-duplicate-props: 1
react/jsx-no-literals: 1
react/jsx-no-undef: 1
jsx-quotes: 1
react/jsx-sort-prop-types: 1
react/jsx-sort-props: 1
react/jsx-uses-react: 1
react/jsx-uses-vars: 1
react/no-danger: 1
react/no-did-mount-set-state: 1
react/no-did-update-set-state: 1
react/no-direct-mutation-state: 1
react/no-multi-comp: 1
react/no-set-state: 1
react/no-unknown-property: 1
react/prefer-es6-class: 1
react/prop-types: 1
react/react-in-jsx-scope: 1
react/require-extension: 1
react/self-closing-comp: 1
react/sort-comp: 1
react/wrap-multilines: 1
1 change: 1 addition & 0 deletions demo/index.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react';
import ReactDOM from 'react-dom';
import {StarterComponent} from '../src';

Expand Down

0 comments on commit e6520cd

Please sign in to comment.