ESLint error: ES6 static methods not allowed
Open
Nobody has claimed this yet.
Phaser 4
- Dominant language
- JavaScript
- Stars
- 40.3k
- Forks
- 7.2k
- PR merge metrics
- No merged PRs in 30d
Description
Version
- Phaser Version: 3.87.0
Description
phaser/src/cameras/2d/Camera.js
504:62 error ES6 static methods not allowed: Number.isInteger es5/no-es6-static-methods
504:89 error ES6 static methods not allowed: Number.isInteger es5/no-es6-static-methods
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at phaser/src/cameras/2d/Camera.js around line 504 and inspect the two Number.isInteger usages reported by ESLint. Run the relevant ESLint check after the change; done means both es5/no-es6-static-methods errors are resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- eslint, javascript
- Domain
- game-dev, tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100