CI / test (pull_request) Successful in 18s
- Handle string entries in createPanel (e.g. 'https://...mp4') instead of dropping them as null — restores legacy string URL support. - Add console.log for HLS detection so integration tests can verify HLS playback paths are exercised.
25 lines
479 B
JavaScript
25 lines
479 B
JavaScript
// ESLint flat config — v9+
|
|
import globals from 'globals';
|
|
|
|
export default [
|
|
{
|
|
ignores: ['dist/', 'node_modules/'],
|
|
},
|
|
{
|
|
files: ['**/*.js', '**/*.mjs'],
|
|
languageOptions: {
|
|
ecmaVersion: 2024,
|
|
sourceType: 'module',
|
|
globals: {
|
|
...globals.browser,
|
|
...globals.es2024,
|
|
chrome: 'readonly',
|
|
},
|
|
},
|
|
rules: {
|
|
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
|
|
'no-console': 'off',
|
|
},
|
|
},
|
|
];
|