Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
"coliff",
"dbaeumer",
"fediverse",
"fullhuman",
"htmlhint",
"Merbivore",
"Monokai",
"SARIF",
"specialchars",
"tagname",
"valuearea",
"withastro",
"ZIZMOR"
],
Expand Down
15 changes: 0 additions & 15 deletions .eslintrc.cjs

This file was deleted.

1 change: 1 addition & 0 deletions .htmlhintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"doctype-first": false,
"doctype-html5": true,
"form-method-require": true,
"frame-title-require": true,
"head-script-disabled": false,
"h1-require": true,
"html-lang-require": true,
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"[javascript][typescript][json][jsonc][markdown][yaml]": {
"editor.defaultFormatter": "prettier.prettier-vscode",
"editor.defaultFormatter": "esbenp.prettier-vscode",

Check warning on line 3 in .vscode/settings.json

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (esbenp) Suggestions: (eben, essen, essene, Eben, Essen)
"editor.formatOnSave": true
},
"[javascript][typescript]": {
Expand Down
13 changes: 5 additions & 8 deletions .cursor/rules/general.mdc → AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
---
alwaysApply: true
---
# Agents

# General Rules
## General Rules

- All code and comments should be in US English.
- All code should be formatted with Prettier.
- Use ESLint v8.57.1 to check for JavaScript errors.
- Node v22 is used for development.
- Use Bootstrap v5.3.7 for styling.
- Use ESLint v10.2.0 to check for JavaScript errors.
- Node v22.22.2 is used for development.
- Use Bootstrap v5.3.8 for styling.
- Use latest Astro for building the website.
- Locally host JS/CSS - don't use third-party CDNs.
- All HTML must be accessible.
- Use Bootstrap utility CSS classes for styling rather than custom CSS.
44 changes: 44 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import js from '@eslint/js';
import tseslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import astro from 'eslint-plugin-astro';
import globals from 'globals';

export default [
{
ignores: ['**/*.d.ts', '.astro/**', 'dist/**']
},
{
...js.configs.recommended,
files: ['**/*.{js,mjs,cjs}'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
ace: 'readonly',
...globals.browser,
...globals.node
}
}
},
{
files: ['**/*.{ts,mts,cts}'],
ignores: ['**/*.d.ts'],
languageOptions: {
parser: tsParser,
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.browser,
...globals.node
}
},
plugins: {
'@typescript-eslint': tseslint
},
rules: {
...tseslint.configs.recommended.rules
}
},
...astro.configs.recommended
];
Loading
Loading