Commit graph

6 commits

Author SHA1 Message Date
nocci
b85c326211 chore(config): update ESLint environment to support browser globals
Added `browser: true` environment and declared `window` and `navigator` as
readonly globals to support epic-games.js which uses browser APIs.
2026-03-07 12:49:45 +00:00
nocci
96df8cb3d4 refactor: migrate ESLint configuration to flat config and remove redundant rule files
- replace legacy .eslintrc files with flat eslint.config.js
- consolidate eslint globals for improved code clarity
- enable prefer-const and no-unused-vars off in *.js for flexibility
- remove unused import statements and redundant eslint directives from epic-games.js and aliexpress.js
- standardize function parameter syntax to arrow with parentheses omitted where safe
- add comments marking unused but retained functions for reference
2026-03-06 15:38:58 +00:00
Ralf Vogler
110b2ea4c6 eslint: migrate to new flat config (.eslintrc.cjs -> eslint.config.js)
https://eslint.org/docs/latest/use/configure/configuration-files-new
https://eslint.org/docs/latest/use/configure/migration-guide
2023-11-08 02:28:34 +01:00
Ralf Vogler
011eddf97a eslint: enable most stylistic rules
https://eslint.style/packages/js
2023-11-08 01:02:43 +01:00
Ralf Vogler
2eaf6f0598 .eslintignore -> .gitignore, no-unused-vars: ignore args starting with _
https://eslint.org/docs/latest/rules/no-unused-vars#argsignorepattern
https://eslint.org/docs/latest/rules/no-undef
2023-11-07 17:57:10 +01:00
4n4n4s
0040d9d96c Sonarqube support with ESLint 2023-09-26 19:12:09 +00:00