Skip to content

Commit

Permalink
build(deps-dev): Bump grunt-eslint from 24.3.0 to 25.0.0 (#1137)
Browse files Browse the repository at this point in the history
* build(deps-dev): Bump grunt-eslint from 24.3.0 to 25.0.0

Bumps [grunt-eslint](https://github.com/sindresorhus/grunt-eslint) from 24.3.0 to 25.0.0.
- [Release notes](https://github.com/sindresorhus/grunt-eslint/releases)
- [Commits](sindresorhus/grunt-eslint@v24.3.0...v25.0.0)

---
updated-dependencies:
- dependency-name: grunt-eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Adjusting for eslint 9.x.x breaking changes

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pierre Lupien <pierre.lupien@hrsdc-rhdcc.gc.ca>
  • Loading branch information
dependabot[bot] and plup2 committed May 3, 2024
1 parent 6cea5a5 commit 73e0e77
Show file tree
Hide file tree
Showing 9 changed files with 371 additions and 1,052 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

284 changes: 0 additions & 284 deletions .eslintrc.js

This file was deleted.

6 changes: 3 additions & 3 deletions EJSModuleGenerator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-await-in-loop,no-inner-declarations */
/* eslint-disable no-await-in-loop */
/**
This module contains functions to process a group of "ejs" template files into a single js file that can be used in the browser.
(bascially creating an output similar to what the old SOY closure compiler used to produce).
Expand Down Expand Up @@ -131,7 +131,7 @@ module.exports.compileEJSModule = async function compileEJSModule(srcDirPath, tr
//---[ Get header if file exists
const headerFilename = `${srcDirPath}/wet-header.js`;
if (await fileExists(headerFilename)) {
output += await fs.promises.readFile(headerFilename, 'utf8'); // eslint-disable-line require-atomic-updates
output += await fs.promises.readFile(headerFilename, 'utf8');
}

//---[ Compile/add each ejs file found
Expand Down Expand Up @@ -165,7 +165,7 @@ module.exports.compileEJSModule = async function compileEJSModule(srcDirPath, tr
.replace(_MATCH_HTML, encode_char);
};
/*eslint-enable*/
/* eslint-disable no-await-in-loop,no-inner-declarations */
/* eslint-disable no-await-in-loop */

//---[ Lint EJS input
const lintingResult = await ejsLint(localizedTemplate, { delimiter: '%' });
Expand Down
2 changes: 1 addition & 1 deletion ExternalResGatherer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* eslint-disable no-await-in-loop,no-inner-declarations */
/* eslint-disable no-await-in-loop */
/*
External Resource Gatherer
Expand Down
2 changes: 0 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,7 @@ module.exports = function run(grunt) {
eslint: {
target: ['*.js', 'src', 'public'],
options: {
extensions: ['.js'],
overrideConfig: {
ignorePatterns: ['public/wet'],
},
},
},
Expand Down

0 comments on commit 73e0e77

Please sign in to comment.