Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 6 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,16 @@
"words": [
"coliff",
"dbaeumer",
"esbenp",
"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 .github/workflows/super-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ jobs:
VALIDATE_JSON_PRETTIER: false
VALIDATE_JSCPD: false
VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_TRIVY: false
VALIDATE_YAML_PRETTIER: false
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",
"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