mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-09-30 05:23:13 +00:00
* fix(auth): require Google authentication in cloud mode Remove the public shared-key mechanism and fail closed on Google auth while adding submit-route throttling. * chore(form): lint template JavaScript in CI * docs(form): record frontend delivery decisions * fix: resolve remaining merge conflicts
20 lines
416 B
JavaScript
20 lines
416 B
JavaScript
import eslint from '@eslint/js';
|
|
import globals from 'globals';
|
|
|
|
export default [
|
|
{
|
|
files: ['src/server/templates/*.js'],
|
|
...eslint.configs.recommended,
|
|
languageOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'script',
|
|
globals: {
|
|
...globals.browser,
|
|
google: 'readonly',
|
|
},
|
|
},
|
|
rules: {
|
|
'no-empty': ['error', { allowEmptyCatch: true }],
|
|
},
|
|
},
|
|
];
|