Initial commit: Korrith website, assessment API, PocketBase schema, Docker/Coolify deployment

This commit is contained in:
Korrith
2026-09-17 20:47:51 +00:00
commit c17f11f591
248 changed files with 39721 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import js from '@eslint/js';
import importPlugin from 'eslint-plugin-import';
import globals from 'globals';
export default [
{ ignores: ['node_modules/**'] },
js.configs.recommended,
{
files: ['**/*.js'],
plugins: { import: importPlugin },
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.node,
}
},
settings: {
'import/resolver': {
node: { extensions: ['.js'] },
},
},
rules: {
...importPlugin.flatConfigs.recommended.rules,
'no-console': 'off',
'no-unused-vars': 'off',
'no-undef': 'error',
'no-empty': ['error', { allowEmptyCatch: true }],
'import/no-named-as-default': 'off',
'import/no-named-as-default-member': 'off',
'import/no-self-import': 'error',
'import/no-cycle': 'off',
},
},
];