File tree Expand file tree Collapse file tree 7 files changed +27
-34
lines changed
website/src/content/docs/rules Expand file tree Collapse file tree 7 files changed +27
-34
lines changed Original file line number Diff line number Diff line change 56
56
" styfle" ,
57
57
" stylelint" ,
58
58
" svgr" ,
59
+ " syncer" ,
59
60
" tagend" ,
60
61
" tagname" ,
61
62
" tagstart" ,
65
66
" ufff" ,
66
67
" uffff" ,
67
68
" unmin" ,
69
+ " unstale" ,
68
70
" webp" ,
69
71
" withastro" ,
70
72
" xiang" ,
Original file line number Diff line number Diff line change
1
+ ---
2
+ description:
3
+ globs:
4
+ alwaysApply: true
5
+ ---
6
+ - When adding a new rule to website ensure that it has the frontmatter: `pagefind: false sidebar: badge: New hidden: true`
7
+ - Always run `npm run lint` before declaring that a task is complete (if you've changed any files)
8
+
Original file line number Diff line number Diff line change @@ -3,35 +3,16 @@ name: Bug report
3
3
about : Create a report to help us improve
4
4
---
5
5
6
- ** Describe the bug**
7
- A clear and concise description of what the bug is.
6
+ ## Describe the bug
8
7
9
- ** To Reproduce **
10
- Steps to reproduce the behavior:
8
+ <!-- A clear and concise description of what the bug is. -->
9
+ <!-- Add any other context about the problem here. -->
11
10
12
- 1 . Go to '...'
13
- 2 . Click on '....'
14
- 3 . Scroll down to '....'
15
- 4 . See error
11
+ ## To Reproduce
16
12
17
- ** Expected behavior**
18
- A clear and concise description of what you expected to happen.
13
+ <!-- Steps to reproduce the behavior: -->
14
+ <!-- If applicable, add screenshots to help explain your problem. -->
19
15
20
- ** Screenshots**
21
- If applicable, add screenshots to help explain your problem.
16
+ ## Expected behavior
22
17
23
- ** Desktop (please complete the following information):**
24
-
25
- - OS: [ e.g. iOS]
26
- - Browser [ e.g. chrome, safari]
27
- - Version [ e.g. 22]
28
-
29
- ** Smartphone (please complete the following information):**
30
-
31
- - Device: [ e.g. iPhone6]
32
- - OS: [ e.g. iOS8.1]
33
- - Browser [ e.g. stock browser, safari]
34
- - Version [ e.g. 22]
35
-
36
- ** Additional context**
37
- Add any other context about the problem here.
18
+ <!-- A clear and concise description of what you expected to happen. -->
Original file line number Diff line number Diff line change 7
7
- Use ESLint to check for JavaScript errors.
8
8
- Rollup is used for building the project.
9
9
- Node v20 is used for development.
10
- - Core code is in TypeScript v4 .
10
+ - Core code is in TypeScript v5.4.5 .
11
11
- All new rules for HTMLHint should be placed in the rules directory.
12
12
- Tests for new rules should be added in rules and follow the naming pattern <rule-name >.spec.js.
13
13
- Do not use deprecated Node.js or TypeScript features.
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ report.html
28
28
# Miscellaneous
29
29
CODEOWNERS
30
30
* .txt
31
+ .cspell.json
31
32
32
33
# # Website
33
34
/website /.astro
Original file line number Diff line number Diff line change 1
1
{
2
- "semi" : false ,
3
- "singleQuote" : true ,
4
2
"bracketSpacing" : true ,
5
3
"embeddedLanguageFormatting" : " off" ,
6
- "trailingComma" : " es5" ,
7
- "useTabs" : false ,
4
+ "printWidth" : 80 ,
5
+ "semi" : false ,
6
+ "singleQuote" : true ,
8
7
"tabWidth" : 2 ,
9
- "printWidth" : 80
8
+ "trailingComma" : " es5" ,
9
+ "useTabs" : false
10
10
}
Original file line number Diff line number Diff line change 2
2
id : tag-no-obsolete
3
3
title : tag-no-obsolete
4
4
description : Disallows the use of obsolete HTML5 tags that are no longer supported in modern browsers.
5
+ pagefind : false
5
6
sidebar :
6
7
badge : New
7
- hidden : true
8
+ hidden : true
8
9
---
9
10
10
11
import { Badge } from ' @astrojs/starlight/components' ;
You can’t perform that action at this time.
0 commit comments