diff --git a/packages/frontend/.eslintrc b/packages/frontend/.eslintrc index e8619af6..401df73c 100644 --- a/packages/frontend/.eslintrc +++ b/packages/frontend/.eslintrc @@ -29,7 +29,7 @@ }, "rules": { "semi" : [2, "never"], - "max-len": [2, 120, 2], + "max-len": [2, { "code": 120, "tabWidth": 2, "ignoreTemplateLiterals": true }], "generator-star-spacing": 0, "babel/generator-star-spacing": 1, "jsx-quotes": [2, "prefer-single"] diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 963a6c1c..0584653f 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -9,10 +9,9 @@ }, "scripts": { "clean": "rimraf dist", + "lint": "eslint src", "build": "better-npm-run build", "build:dev": "better-npm-run build:dev", - "lint": "eslint src tests server", - "lint:fix": "npm run lint -- --fix", "start": "npm run start:admin", "start:admin": "better-npm-run start admin", "start:status": "better-npm-run start status", @@ -20,8 +19,7 @@ "test:dev": "npm run test -- --watch", "deploy": "better-npm-run deploy", "release": "better-npm-run release", - "release:force": "npm run release -- --force", - "codecov": "cat coverage/*/lcov.info | codecov" + "release:force": "npm run release -- --force" }, "betterScripts": { "build": { diff --git a/packages/frontend/src/components/CloudWatchMetricsSelector/CloudWatchMetricsSelector.js b/packages/frontend/src/components/CloudWatchMetricsSelector/CloudWatchMetricsSelector.js index ecf9b4a6..54082e24 100644 --- a/packages/frontend/src/components/CloudWatchMetricsSelector/CloudWatchMetricsSelector.js +++ b/packages/frontend/src/components/CloudWatchMetricsSelector/CloudWatchMetricsSelector.js @@ -1,5 +1,4 @@ import React, { PropTypes } from 'react' -import classnames from 'classnames' import DropdownList from 'components/DropdownList' import classes from './CloudWatchMetricsSelector.scss' diff --git a/packages/frontend/src/components/ComponentDialog/ComponentDialog.js b/packages/frontend/src/components/ComponentDialog/ComponentDialog.js index 2ba2f192..34139337 100644 --- a/packages/frontend/src/components/ComponentDialog/ComponentDialog.js +++ b/packages/frontend/src/components/ComponentDialog/ComponentDialog.js @@ -118,7 +118,8 @@ class ComponentDialog extends React.Component {