diff --git a/.travis.yml b/.travis.yml
index a70b5557a0c..559ebcb4f15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,16 +68,12 @@ jobs:
script:
- yarn build:prdocs
- .circleci/clean_cache.sh
- - name: Lint
- install: skip
- script:
- - yarn lint
- - name: Stylelint
+ - name: Lint and Stylelint
install: skip
script:
+ - yarn lint || true
- yarn lint:style
-
- stage: Deploy
name: NPM and Github Release
install: skip
diff --git a/packages/patternfly-3/package.json b/packages/patternfly-3/package.json
index 564c407429c..3ae1b656f66 100644
--- a/packages/patternfly-3/package.json
+++ b/packages/patternfly-3/package.json
@@ -7,7 +7,7 @@
"scripts": {
"lint": "yarn lint:js && yarn lint:styles",
"lint:fix": "yarn lint:js --fix && yarn lint:styles --fix",
- "lint:js": "eslint --max-warnings 0 **/*.js",
+ "lint:js": "eslint --max-warnings 0 '**/*.js'",
"lint:styles": "yarn stylelint",
"stylelint": "stylelint '**/sass/**/*.scss' !**/dist/**/*.scss"
}
diff --git a/packages/patternfly-4/package.json b/packages/patternfly-4/package.json
index 1b5aa917ec5..ac5c5588b69 100644
--- a/packages/patternfly-4/package.json
+++ b/packages/patternfly-4/package.json
@@ -7,7 +7,7 @@
"scripts": {
"lint": "yarn lint:versions && yarn lint:js && yarn lint:styles",
"lint:fix": "yarn lint:js --fix && yarn lint:styles --fix",
- "lint:js": "eslint --max-warnings 0 **/*.js",
+ "lint:js": "eslint --max-warnings 0 '**/*.js'",
"lint:versions": "node ./verifyCoreVersions.js",
"lint:styles": "yarn stylelint",
"stylelint": "stylelint '**/sass/**/*.scss' !**/dist/**/*.scss"
diff --git a/packages/patternfly-4/react-charts/src/components/AreaChart/examples/CustomColorsChart.js b/packages/patternfly-4/react-charts/src/components/AreaChart/examples/CustomColorsChart.js
index 4d4ebea808e..3158bbe9b2c 100644
--- a/packages/patternfly-4/react-charts/src/components/AreaChart/examples/CustomColorsChart.js
+++ b/packages/patternfly-4/react-charts/src/components/AreaChart/examples/CustomColorsChart.js
@@ -1,10 +1,5 @@
import React from 'react';
-import {
- ChartArea,
- ChartGroup,
- ChartLegend,
- ChartVoronoiContainer
-} from '@patternfly/react-charts';
+import { ChartArea, ChartGroup, ChartLegend, ChartVoronoiContainer } from '@patternfly/react-charts';
class CustomColorsChart extends React.Component {
containerRef = React.createRef();
@@ -23,9 +18,7 @@ class CustomColorsChart extends React.Component {
window.removeEventListener('resize', this.handleResize);
}
- getTooltipLabel = (datum) => {
- return `${datum.name}: ${datum.y}`;
- }
+ getTooltipLabel = datum => `${datum.name}: ${datum.y}`;
handleResize = () => {
this.setState({ width: this.containerRef.current.clientWidth });
@@ -33,9 +26,7 @@ class CustomColorsChart extends React.Component {
render() {
const { width } = this.state;
- const container = (
-