glitchcraft/.eslintrc.json
Ole-Morten Duesund 82704caa97 Fix ESLint warning and achieve perfect code quality
JavaScript fixes:
- Fixed 'ZalgoGenerator' defined but never used warning
- Changed ESLint sourceType from 'module' to 'script' to properly handle global exports
- Added eslint-disable comment as backup

Python fixes:
- Fixed pylint warning about method signature in log_message
- Added pylint disable comment for redefined-builtin

Code quality status:
- ESLint: ✓ No errors, no warnings
- Pylint: ✓ 10.00/10 rating
- Black: ✓ All files formatted
- Prettier: ✓ All files formatted

All linting and formatting checks now pass completely.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:14:45 +02:00

20 lines
No EOL
456 B
JSON

{
"env": {
"browser": true,
"es2021": true,
"serviceworker": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "script"
},
"rules": {
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-unused-vars": ["warn"],
"no-console": ["warn", { "allow": ["warn", "error", "log"] }]
}
}