mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-16 10:34:42 -04:00
fix: upgrade ESLint config to v9 flat config format
Complete the migration from .eslintrc.js to eslint.config.js flat config format for ESLint 9 compatibility. Add valid-jsdoc: off (removed in ESLint 9 but enabled by eslint-config-google) and the missing operator-linebreak: off override. Update the HLS ignore path to match current version. Update CI workflow to install ESLint 9 and its flat config dependencies. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
.github/workflows/ci-eslint.yml
vendored
2
.github/workflows/ci-eslint.yml
vendored
@@ -19,6 +19,6 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Install ESLint
|
||||
run: npm install eslint@8.7.0 eslint-config-google@0.14.0 eslint-plugin-html@6.2.0 eslint-plugin-php-markup@6.0.0
|
||||
run: npm install eslint@9 @eslint/eslintrc @eslint/js globals eslint-config-google@0.14.0 eslint-plugin-html eslint-plugin-php-markup@6.0.0
|
||||
- name: Run ESLint
|
||||
run: npx eslint --ext .js.php,.js .
|
||||
|
||||
Reference in New Issue
Block a user