From 6f608c2b36485ddfedbee8c38f0edc70598c4cda Mon Sep 17 00:00:00 2001 From: zepumph Date: Thu, 9 Jun 2022 11:14:34 -0600 Subject: [PATCH] lint browser code as browser code, https://github.com/phetsims/aqua/issues/66 --- js/client/.eslintrc.js | 14 ++++++++++++++ js/report/.eslintrc.js | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 js/client/.eslintrc.js create mode 100644 js/report/.eslintrc.js diff --git a/js/client/.eslintrc.js b/js/client/.eslintrc.js new file mode 100644 index 0000000..e43b2b8 --- /dev/null +++ b/js/client/.eslintrc.js @@ -0,0 +1,14 @@ +// Copyright 2022, University of Colorado Boulder +// @author Michael Kauzmann + + +module.exports = { + extends: '../../../chipper/eslint/sim_eslintrc.js', + + rules: { + 'bad-sim-text': 'off' + }, + globals: { + aqua: 'readonly' + } +}; \ No newline at end of file diff --git a/js/report/.eslintrc.js b/js/report/.eslintrc.js new file mode 100644 index 0000000..e43b2b8 --- /dev/null +++ b/js/report/.eslintrc.js @@ -0,0 +1,14 @@ +// Copyright 2022, University of Colorado Boulder +// @author Michael Kauzmann + + +module.exports = { + extends: '../../../chipper/eslint/sim_eslintrc.js', + + rules: { + 'bad-sim-text': 'off' + }, + globals: { + aqua: 'readonly' + } +}; \ No newline at end of file