Skip to content

Commit ce4e11c

Browse files
committed
Update Site & Configs
1 parent bf36ece commit ce4e11c

19 files changed

+234
-9704
lines changed

.cspell.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"version": "0.2",
3+
"words": ["Merbivore"],
4+
"allowCompoundWords": true,
5+
"language": "en,en-US",
6+
"ignorePaths": ["*.mjs", ".cspell.json"],
7+
"useGitignore": true
8+
}

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# About CODEOWNERS - https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners
2+
3+
* @coliff
4+
* @thedaviddias

.github/codeql/codeql-config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: 'CodeQL config'
2+
paths-ignore:
3+
- dist
4+
- test

.github/copilot-instructions.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Copilot Instructions
2+
3+
- This projects is for HTMLHint Playround, a tool for testing HTMLHint rules.
4+
- All code and comments should be in US English.
5+
- All code should be formatted with Prettier.
6+
- Use ESLint to check for JavaScript errors.
7+
- Node v20 is used for development.

.github/dependabot.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
versioning-strategy: increase
8+
groups:
9+
dependencies:
10+
applies-to: version-updates
11+
patterns:
12+
- "*"
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
- package-ecosystem: github-actions
17+
directory: "/"
18+
schedule:
19+
interval: weekly

.github/workflows/codeql-analysis.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- "!dependabot/**"
8+
pull_request:
9+
branches:
10+
- main
11+
- "!dependabot/**"
12+
workflow_dispatch:
13+
14+
jobs:
15+
analyze:
16+
name: Analyze
17+
runs-on: ubuntu-latest
18+
permissions:
19+
actions: read
20+
contents: read
21+
security-events: write
22+
23+
steps:
24+
- name: Checkout repository
25+
uses: actions/checkout@v4
26+
27+
- name: Initialize CodeQL
28+
uses: github/codeql-action/init@v3
29+
with:
30+
languages: "javascript"
31+
queries: +security-and-quality
32+
33+
- name: Perform CodeQL Analysis
34+
uses: github/codeql-action/analyze@v3

.github/workflows/spellcheck.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Check spelling'
2+
on:
3+
push:
4+
branches: [main]
5+
pull_request:
6+
branches: [main]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
spellcheck:
13+
runs-on: ubuntu-latest
14+
if: ${{ github.actor != 'dependabot[bot]' }}
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: streetsidesoftware/cspell-action@v7
18+
with:
19+
check_dot_files: false
20+
incremental_files_only: true
21+
inline: warning
22+
suggestions: true

.github/workflows/super-linter.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Lint Code Base
2+
3+
on:
4+
push:
5+
branches-ignore:
6+
- "dependabot/**"
7+
pull_request:
8+
branches-ignore:
9+
- "dependabot/**"
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
build:
16+
name: Lint Code Base
17+
runs-on: ubuntu-latest
18+
if: ${{ github.actor != 'dependabot[bot]' }}
19+
20+
permissions:
21+
contents: read
22+
packages: read
23+
statuses: write
24+
25+
steps:
26+
- name: Checkout Code
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 0
30+
31+
- name: Super-linter
32+
uses: super-linter/super-linter/slim@v7
33+
env:
34+
DEFAULT_BRANCH: main
35+
FILTER_REGEX_EXCLUDE: "/test/"
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
IGNORE_GITIGNORED_FILES: true
38+
LINTER_RULES_PATH: /
39+
LOG_LEVEL: NOTICE
40+
SUPPRESS_POSSUM: true
41+
VALIDATE_ALL_CODEBASE: false
42+
VALIDATE_BASH: false
43+
VALIDATE_CHECKOV: false
44+
VALIDATE_CSS: false
45+
VALIDATE_EDITORCONFIG: false
46+
VALIDATE_GIT_COMMITLINT: false
47+
VALIDATE_HTML_PRETTIER: false
48+
VALIDATE_JAVASCRIPT_ES: false
49+
VALIDATE_JAVASCRIPT_PRETTIER: false
50+
VALIDATE_JAVASCRIPT_STANDARD: false
51+
VALIDATE_JSON_PRETTIER: false
52+
VALIDATE_JSCPD: false
53+
VALIDATE_NATURAL_LANGUAGE: false
54+
VALIDATE_TYPESCRIPT_ES: false
55+
VALIDATE_TYPESCRIPT_PRETTIER: false
56+
VALIDATE_TYPESCRIPT_STANDARD: false

.htmlhintrc

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"alt-require": true,
3+
"attr-lowercase": true,
4+
"attr-no-duplication": true,
5+
"attr-no-unnecessary-whitespace": true,
6+
"attr-sorted": false,
7+
"attr-unsafe-chars": false,
8+
"attr-value-double-quotes": true,
9+
"attr-value-not-empty": false,
10+
"attr-value-single-quotes": false,
11+
"attr-whitespace": false,
12+
"doctype-first": false,
13+
"doctype-html5": true,
14+
"head-script-disabled": false,
15+
"href-abs-or-rel": false,
16+
"html-lang-require": true,
17+
"id-class-ad-disabled": false,
18+
"id-class-value": false,
19+
"id-unique": true,
20+
"inline-script-disabled": false,
21+
"inline-style-disabled": false,
22+
"input-requires-label": false,
23+
"script-disabled": false,
24+
"space-tab-mixed-disabled": true,
25+
"spec-char-escape": false,
26+
"src-not-empty": true,
27+
"style-disabled": false,
28+
"tag-pair": false,
29+
"tag-self-close": false,
30+
"tagname-lowercase": true,
31+
"tagname-specialchars": true,
32+
"title-require": true
33+
}

.vscode/extensions.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"recommendations": [
3+
"dbaeumer.vscode-eslint",
4+
"EditorConfig.EditorConfig",
5+
"streetsidesoftware.code-spell-checker"
6+
]
7+
}

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"[javascript][typescript][json][jsonc][markdown][yaml]": {
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.formatOnSave": true
5+
},
6+
"[javascript][typescript]": {
7+
"editor.codeActionsOnSave": {
8+
"source.fixAll.eslint": "explicit"
9+
}
10+
},
11+
"eslint.validate": ["javascript", "typescript"],
12+
"files.insertFinalNewline": true,
13+
"files.trimTrailingWhitespace": true
14+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# htmllint.github.io
1+
# HTMLHint Playground for testing HTMLHint rules.

0 commit comments

Comments
 (0)