* fix: address PR #85 package.json review feedback (issue #95)
* fix: add trailing commas to cypress.config.js for comma-dangle rule
ESLint comma-dangle rule (always-multiline) requires trailing commas on
the last property and closing brace of multiline objects. Adding lint:js
coverage of cypress.config.js in package.json exposed these two missing
trailing commas at lines 15 and 16.
* fix: resolve ESLint errors blocking CI on PR #103
- Remove 'cypress/globals' env key from .eslintrc.js; this key requires
eslint-plugin-cypress to be globally installed, which CI tools (Codacy,
CodeFactor) do not have. Cypress globals are already declared explicitly
in the globals block, making the env key redundant.
- Remove trailing commas from cypress.config.js to comply with the
comma-dangle: never ESLint rule defined in .eslintrc.js.
- Update package-lock.json to include stylelint and stylelint-config-standard
which were in devDependencies but missing from the lock file.
Addresses Gemini review feedback from PR #66 (issue #73).
Changes 'comma-dangle' from 'never' to 'always-multiline' to improve
maintainability — cleaner git diffs and easier line reordering.
Updates admin/js files to comply with the new rule.
Closes#73
Add 'comma-dangle': ['error', 'never'] rule to .eslintrc.js to enforce
no trailing commas in JavaScript files. This addresses the Codacy review
findings from PR #15 that flagged trailing commas in object and array
literals as ErrorProne issues. The rule ensures ESLint catches trailing
commas automatically going forward.
Closes#25
Add overrides block in .eslintrc.js to parse cypress.config.js as CommonJS
(sourceType: 'script') rather than ESM. The global sourceType: 'module' caused
ESLint to flag require() as undefined, since require is not available in ESM
scope. The project has no 'type: module' in package.json, so CommonJS is correct.
Closes#31