From 6b19f043d19c4fa2d9342024d437286f142f3f4a Mon Sep 17 00:00:00 2001 From: samreid Date: Tue, 29 Jun 2021 15:05:47 -0600 Subject: [PATCH] Enable lint rule strict and autofix all occurrences, see https://github.com/phetsims/chipper/issues/814 --- js/.eslintrc.js | 1 - js/createHTMLString.js | 1 - js/generate.js | 1 - js/getFromSimInMaster.js | 1 - js/getMarkdownFileAsHTML.js | 1 - js/serverTest.js | 1 - 6 files changed, 6 deletions(-) diff --git a/js/.eslintrc.js b/js/.eslintrc.js index 106c76b..283d75c 100644 --- a/js/.eslintrc.js +++ b/js/.eslintrc.js @@ -1,7 +1,6 @@ // Copyright 2019-2021, University of Colorado Boulder // @author Chris Klusendorf -'use strict'; module.exports = { diff --git a/js/createHTMLString.js b/js/createHTMLString.js index 7fba92a..d41f25a 100644 --- a/js/createHTMLString.js +++ b/js/createHTMLString.js @@ -5,7 +5,6 @@ * @author Sam Reid (PhET Interactive Simulations) */ -'use strict'; // const getMarkdownFileAsHTML = require( './getMarkdownFileAsHTML' ); const fs = require( 'fs' ); diff --git a/js/generate.js b/js/generate.js index 5df81f7..9934dca 100644 --- a/js/generate.js +++ b/js/generate.js @@ -6,7 +6,6 @@ * @author Michael Kauzmann (PhET Interactive Simulations) */ -'use strict'; const createHTMLString = require( './createHTMLString' ); const fs = require( 'fs' ); diff --git a/js/getFromSimInMaster.js b/js/getFromSimInMaster.js index a18a48e..6c79f95 100644 --- a/js/getFromSimInMaster.js +++ b/js/getFromSimInMaster.js @@ -17,7 +17,6 @@ * @author Michael Kauzmann (PhET Interactive Simulations) */ -'use strict'; // modules const _ = require( 'lodash' ); // eslint-disable-line diff --git a/js/getMarkdownFileAsHTML.js b/js/getMarkdownFileAsHTML.js index 8a4a3fe..1beee0b 100644 --- a/js/getMarkdownFileAsHTML.js +++ b/js/getMarkdownFileAsHTML.js @@ -5,7 +5,6 @@ * @author Michael Kauzmann (PhET Interactive Simulations) */ -'use strict'; // modules const fs = require( 'fs' ); diff --git a/js/serverTest.js b/js/serverTest.js index 5818fa8..8b265fe 100644 --- a/js/serverTest.js +++ b/js/serverTest.js @@ -1,6 +1,5 @@ // Copyright 2018-2021, University of Colorado Boulder -'use strict'; const assert = require( 'assert' ); const buildLocal = require( '../../perennial/js/common/buildLocal' );