Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade globals v15 #241

Merged
merged 2 commits into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"enhanced-resolve": "^5.15.0",
"eslint-plugin-es-x": "^7.5.0",
"get-tsconfig": "^4.7.0",
"globals": "^14.0.0",
"globals": "^15.0.0",
"ignore": "^5.2.4",
"minimatch": "^9.0.0",
"semver": "^7.5.3"
Expand Down
4 changes: 3 additions & 1 deletion tests/eslint-rule-tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ const defaultConfig = {
languageOptions: {
ecmaVersion: 6,
sourceType: "commonjs",
globals: globals.node,
// TODO: remove global.es2105 when dropping eslint v8 -- it has been fixed in eslint v9
// see: https://github.com/eslint/eslint/commit/0db676f9c64d2622ada86b653136d2bda4f0eee0
globals: { ...globals.es2015, ...globals.node },
scagood marked this conversation as resolved.
Show resolved Hide resolved
},
}
exports.RuleTester = function (config = defaultConfig) {
Expand Down