Skip to content

Commit

Permalink
Use latest ecmaVersion for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorMcKay committed Sep 3, 2024
1 parent 96d7f4b commit 730eb98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
extends: ['eslint:recommended'],
root: true,
parserOptions: {
ecmaVersion: 12,
ecmaVersion: 'latest',
sourceType: 'module'
},
ignorePatterns: [
Expand Down
8 changes: 1 addition & 7 deletions components/00-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,7 @@ const IMPORTANT_BACKOFFS = [
*/
class SteamUserBase extends EventEmitter {
/** @var {{[name: string]: ExponentialBackoff}} */
_exponentialBackoffs;

constructor() {
super();

this._exponentialBackoffs = {};
}
_exponentialBackoffs = {};

/**
* @param {boolean} [isConnecting=false]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"websocket13": "^4.0.0"
},
"devDependencies": {
"eslint": "^8.23.0",
"eslint": "^8.57.0",
"steamcommunity": "^3.39.0",
"wtfnode": "^0.8.4"
},
Expand Down

0 comments on commit 730eb98

Please sign in to comment.