-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Mollweide
committed
Jul 22, 2016
1 parent
bdcc7f5
commit f4132e9
Showing
44 changed files
with
1,598 additions
and
76 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
|
||
// DESCRIPTION = Prevent missing displayName in a React component definition | ||
// STATUS = 0 | ||
// STATUS = 2 | ||
|
||
/* eslint require-jsdoc: 0*/ | ||
/* eslint no-use-before-define: 0*/ | ||
/* eslint no-undef: 0*/ | ||
/* eslint no-unused-vars: 0*/ | ||
/* eslint no-unreachable: 0*/ | ||
/* eslint no-empty: 0*/ | ||
/* eslint no-empty-function: 0*/ | ||
/* eslint no-shadow: 0*/ | ||
/* eslint no-redeclare: 0*/ | ||
/* eslint react/react-in-jsx-scope: 0*/ | ||
/* eslint react/prefer-stateless-function: 0*/ | ||
/* eslint react/prefer-es6-class: 0*/ | ||
/* eslint react/prop-types: 0*/ | ||
/* eslint object-shorthand: 0*/ | ||
// <!START | ||
|
||
// Bad | ||
/* | ||
const Hello = React.createClass({ | ||
render: function () { | ||
return (<div>Hello {this.props.name}</div>); | ||
} | ||
}); | ||
*/ | ||
// END!> | ||
document.window.append('', null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
|
||
// DESCRIPTION = Enforce event handler naming conventions in JSX | ||
// STATUS = 0 | ||
// STATUS = 2 | ||
|
||
/* eslint require-jsdoc: 0*/ | ||
/* eslint no-use-before-define: 0*/ | ||
/* eslint no-undef: 0*/ | ||
/* eslint no-unused-vars: 0*/ | ||
/* eslint no-unreachable: 0*/ | ||
/* eslint no-empty: 0*/ | ||
/* eslint no-empty-function: 0*/ | ||
/* eslint no-shadow: 0*/ | ||
/* eslint no-redeclare: 0*/ | ||
/* eslint react/react-in-jsx-scope: 0*/ | ||
/* eslint react/prefer-stateless-function: 0*/ | ||
/* eslint react/prefer-es6-class: 0*/ | ||
/* eslint react/prop-types: 0*/ | ||
/* eslint react/jsx-no-undef: 0*/ | ||
/* eslint object-shorthand: 0*/ | ||
/* eslint no-unused-expressions: 0*/ | ||
// <!START | ||
// Bad | ||
/* | ||
<MyComponent handleChange={this.handleChange} />; | ||
<MyComponent onChange={this.componentChanged} />; | ||
*/ | ||
|
||
// Good | ||
<MyComponent onChange={this.handleChange} />; | ||
<MyComponent onChange={this.props.onFoo} />; | ||
// END!> | ||
document.window.append('', null); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.