Skip to content

Commit b0aaa78

Browse files
Bump eslint from 8.57.0 to 9.1.1 (#121)
* Bump eslint from 8.57.0 to 9.1.1 Bumps [eslint](https://github.com/eslint/eslint) from 8.57.0 to 9.1.1. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.0...v9.1.1) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Use flat config. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marc Görtz <mail@marcgoertz.de>
1 parent 9fa8606 commit b0aaa78

File tree

5 files changed

+231
-231
lines changed

5 files changed

+231
-231
lines changed

.eslintrc.cjs

Lines changed: 0 additions & 12 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import js from "@eslint/js";
2+
import globals from "globals";
3+
import jQueryConfig from "eslint-config-jquery";
4+
5+
/** @type {import('eslint').Linter.Config} */
6+
export default {
7+
...js.configs.recommended,
8+
...jQueryConfig,
9+
languageOptions: {
10+
globals: {
11+
...globals.browser,
12+
...globals.jquery
13+
}
14+
}
15+
};

jquery.externalize.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* eslint-env node */
1+
/* global require, global -- Globals defined by Node */
22
var test = require( "ava" );
33
var JSDOM = require( "jsdom" ).JSDOM;
44

0 commit comments

Comments
 (0)