diff --git a/.eslintignore b/.eslintignore index f28e67b54..1e3abd9ff 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,11 +1,6 @@ -apps/animclk/V29.LBM.js -apps/banglerun/rollup.config.js -apps/schoolCalendar/fullcalendar/main.js -apps/authentiwatch/qr_packed.js -apps/qrcode/qr-scanner.umd.min.js -apps/gipy/pkg/gps.js -apps/health/chart.min.js -*.test.js -# typescript/generated files -apps/btadv/*.js +# Needs to be ignored because it uses ESM export/import +apps/gipy/pkg/gps.js + +# Needs to be ignored because it includes broken JS +apps/health/chart.min.js diff --git a/apps/lint_exemptions.js b/apps/lint_exemptions.js index d5d58d95c..5e938ae7e 100644 --- a/apps/lint_exemptions.js +++ b/apps/lint_exemptions.js @@ -1483,5 +1483,35 @@ module.exports = { "rules": [ "no-undef" ] + }, + "animclk/V29.LBM.js": { + "hash": "fe32a40d1c2df6080ffefb2f1b38125eb8f81b903267a08a2865ca7b21d33a27", + "rules": [ + "no-undef" + ] + }, + "authentiwatch/qr_packed.js": { + "hash": "0a7c15fc47973ceb47c1bae99471ef9f208569bfd46b361c7d130cf0ec35dcce", + "rules": [ + "no-undef", + "no-unused-vars", + "no-cond-assign", + "no-useless-catch" + ] + }, + "qrcode/qr-scanner.umd.min.js": { + "hash": "f4c10bc0c41322e7b588619e03a736ff85fad851ac4f104449c743a0f36735a4", + "rules": [ + "no-undef", + "no-cond-assign" + ] + }, + "schoolCalendar/fullcalendar/main.js": { + "hash": "04dcd3cb3025c7aa67631d287b025a897b1cd984b8ea306abae2d722976fb7c5", + "rules": [ + "no-undef", + "no-unused-vars", + "no-cond-assign" + ] } }; diff --git a/apps/schoolCalendar/fullcalendar/main.js b/apps/schoolCalendar/fullcalendar/main.js index 54bf45d3f..95650f472 100644 --- a/apps/schoolCalendar/fullcalendar/main.js +++ b/apps/schoolCalendar/fullcalendar/main.js @@ -20,7 +20,6 @@ var FullCalendar = (function (exports) { OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */ - /* global Reflect, Promise */ var extendStatics = function(d, b) { extendStatics = Object.setPrototypeOf || @@ -7312,7 +7311,6 @@ var FullCalendar = (function (exports) { var _this = _super.call(this, props) || this; _this.handleData = function (data) { if (!_this.dataManager) { // still within initial run, before assignment in constructor - // eslint-disable-next-line react/no-direct-mutation-state _this.state = data; // can't use setState yet } else {