From a17944544eb964c2ce012bd96d80af93aedfa590 Mon Sep 17 00:00:00 2001 From: Will Piers Date: Tue, 8 Nov 2016 15:23:42 -0800 Subject: [PATCH] Fix eslint issues again --- .../components/RoleClusterAccounts.js | 4 ++-- .../database_manager/components/DatabaseManager.js | 5 +++-- ui/package.json | 10 +++++----- ui/src/chronograf/components/FieldListItem.js | 2 +- ui/src/tasks/containers/TasksPage.js | 13 +++++++------ 5 files changed, 18 insertions(+), 16 deletions(-) diff --git a/archive/access_control/components/RoleClusterAccounts.js b/archive/access_control/components/RoleClusterAccounts.js index a2fd73ef4c..910ca77410 100644 --- a/archive/access_control/components/RoleClusterAccounts.js +++ b/archive/access_control/components/RoleClusterAccounts.js @@ -43,12 +43,12 @@ const RoleClusterAccounts = React.createClass({ clusterID={this.props.clusterID} onRemoveClusterAccount={this.handleRemoveClusterAccount} /> - ) : ( + ) : (

No Cluster Accounts found

- )} + )} ); diff --git a/archive/database_manager/components/DatabaseManager.js b/archive/database_manager/components/DatabaseManager.js index 229f27a7c0..52a4b89479 100644 --- a/archive/database_manager/components/DatabaseManager.js +++ b/archive/database_manager/components/DatabaseManager.js @@ -119,12 +119,13 @@ const DatabaseManager = React.createClass({
{ - queries.length ? queries.map((query, i) =>
{query}
) : ( + queries.length ? queries.map((query, i) =>
{query}
) : + (

No queries to display

- ) + ) }
diff --git a/ui/package.json b/ui/package.json index 931c6121e9..99b317fe86 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,18 +1,18 @@ { "name": "chronograf-ui", - "version": "0.0.1", - "private": true, - "license": "proprietary", + "version": "1.1.0", + "private": false, + "license": "AGPL", "description": "", "repository": { "type": "git", - "url": "github:influxdata/enterprise" + "url": "github:influxdata/chronograf" }, "scripts": { "build": "npm run clean && env NODE_ENV=production node_modules/webpack/bin/webpack.js -p --config ./webpack/prodConfig.js", "build:dev": "node_modules/webpack/bin/webpack.js --config ./webpack/devConfig.js", "start": "node_modules/webpack/bin/webpack.js -w --config ./webpack/devConfig.js", - "lint": "eslint src/", + "lint": "node_modules/eslint/bin/eslint.js src/", "test": "karma start", "clean": "rm -rf build" }, diff --git a/ui/src/chronograf/components/FieldListItem.js b/ui/src/chronograf/components/FieldListItem.js index 935c2ca9df..e5cef7fcc4 100644 --- a/ui/src/chronograf/components/FieldListItem.js +++ b/ui/src/chronograf/components/FieldListItem.js @@ -45,7 +45,7 @@ const FieldListItem = React.createClass({ { isKapacitorRule ? : - + } diff --git a/ui/src/tasks/containers/TasksPage.js b/ui/src/tasks/containers/TasksPage.js index d0bb166a10..f925d78bb5 100644 --- a/ui/src/tasks/containers/TasksPage.js +++ b/ui/src/tasks/containers/TasksPage.js @@ -165,12 +165,13 @@ const Tasks = React.createClass({ : -
-
- -

No tasks running

-
-
} +
+
+ +

No tasks running

+
+
+ }