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
Bug: no-dupe-class-members: Duplicate name ''. #15422
Comments
Hi @NinjaCross, thanks for the issue! I can't reproduce this with default parser, here's a lint-free online demo with the same code. I couldn't reproduce this with Can you check which |
@mdjermanovic here is my package.json {
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=17"
},
"scripts": {
"test": "karma start ./resources/js/tests/karma.conf.js"
},
"devDependencies": {
"assemblyscript": "^0.19.21",
"assemblyscript-compile-cli": "^0.2.0",
"chai": "^4.3.4",
"fs": "^0.0.2",
"glob": "^7.2.0",
"gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"karma": "^6.3.9",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^9.1.3",
"gulp-clean": "^0.4.0",
"gulp-eslint": "^6.0.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.3"
},
"dependencies": {
}
} |
This seems to be the problem. If you're running ESLint through Can you try running ESLint 8.4.1 directly on the command line and see if the same error will be reported? |
@mdjermanovic I'll try that, and I'll let you know, thanks |
@mdjermanovic i tried with these settings ("eslint": "^8.4.1"), but nothing changed.
|
Which command did you use to run ESLint? Can you try with |
No response, so closing. |
Environment
Node version: 17.2.0
npm version: 7.21.1
Local ESLint version: 8.4.1
Global ESLint version: 8.4.1
Operating System: Windows 10 Pro 64 bit
What parser are you using?
@babel/eslint-parser
What did you do?
Configuration
What did you expect to happen?
No errors at all
What actually happened?
The following error is reported
[17:25:18] J:\MyFolder\MyItemEditDialog .js(126,5): error no-dupe-class-members : Duplicate name ''.
Participation
Additional comments
No response
The text was updated successfully, but these errors were encountered: