mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-01 00:08:27 +01:00
Update to Eslint@3
This commit is contained in:
parent
8b283a9a3c
commit
8422d24b74
@ -34,9 +34,10 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "^2.13.1",
|
"eslint": "^3.4.0",
|
||||||
"eslint-config-finn": "1.0.0-alpha.8",
|
"eslint-config-finn": "1.0.0-alpha.9",
|
||||||
"eslint-plugin-react": "^4.3.0",
|
"eslint-config-finn-react": "^1.0.0-alpha.2",
|
||||||
|
"eslint-plugin-react": "^6.2.0",
|
||||||
"lerna": "2.0.0-beta.20",
|
"lerna": "2.0.0-beta.20",
|
||||||
"nsp": "^2.3.2"
|
"nsp": "^2.3.2"
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"extends": [
|
"extends": [
|
||||||
"finn",
|
"finn",
|
||||||
"finn/es6",
|
"finn/es6",
|
||||||
"finn/react"
|
"finn-react"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"browser": true,
|
"browser": true,
|
||||||
|
@ -17,8 +17,7 @@ const ErrorMessages = React.createClass({
|
|||||||
<div className="media centerify">
|
<div className="media centerify">
|
||||||
<div className="imgExt">
|
<div className="imgExt">
|
||||||
<a onClick={this.props.onClearErrors}
|
<a onClick={this.props.onClearErrors}
|
||||||
className="icon-kryss1 linkblock sharp">
|
className="icon-kryss1 linkblock sharp" />
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="bd">
|
<div className="bd">
|
||||||
<ul>{errorNodes}</ul>
|
<ul>{errorNodes}</ul>
|
||||||
|
@ -17,7 +17,7 @@ const ArchiveFeatureComponent = React.createClass({
|
|||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th></th>
|
<th />
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -37,7 +37,7 @@ const ArchiveFeatureComponent = React.createClass({
|
|||||||
</td>
|
</td>
|
||||||
<td className="rightify" width="150">
|
<td className="rightify" width="150">
|
||||||
<button onClick={this.onRevive.bind(this, f)} title="Revive feature toggle">
|
<button onClick={this.onRevive.bind(this, f)} title="Revive feature toggle">
|
||||||
<span className="icon-svar"></span>
|
<span className="icon-svar" />
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>);
|
</tr>);
|
||||||
|
@ -59,8 +59,7 @@ const Feature = React.createClass({
|
|||||||
<tr className={this.state.editMode ? 'edit bg-lilac-xlt' : ''}>
|
<tr className={this.state.editMode ? 'edit bg-lilac-xlt' : ''}>
|
||||||
<td width="20">
|
<td width="20">
|
||||||
<span className=
|
<span className=
|
||||||
{this.props.feature.enabled ? 'toggle-active' : 'toggle-inactive'} title="Status">
|
{this.props.feature.enabled ? 'toggle-active' : 'toggle-inactive'} title="Status" />
|
||||||
</span>
|
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{this.props.feature.name} <br />
|
{this.props.feature.name} <br />
|
||||||
|
@ -51,10 +51,10 @@ const FeatureList = React.createClass({
|
|||||||
<table className="outerborder man">
|
<table className="outerborder man">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th />
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<th className="hide-lt480">Strategy</th>
|
<th className="hide-lt480">Strategy</th>
|
||||||
<th></th>
|
<th />
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -25,8 +25,7 @@ const LogEntryList = React.createClass({
|
|||||||
type="checkbox"
|
type="checkbox"
|
||||||
className="mlm"
|
className="mlm"
|
||||||
value={this.state.fullEvents}
|
value={this.state.fullEvents}
|
||||||
onChange={this.toggleFullEvents}>
|
onChange={this.toggleFullEvents} />
|
||||||
</input>
|
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<table className="outerborder zebra-striped">
|
<table className="outerborder zebra-striped">
|
||||||
|
Loading…
Reference in New Issue
Block a user