Skip to content

Commit 6002e17

Browse files
authored
Merge pull request #58 from comphy-lab/aug-updates
JavaScript optimization: eliminate redundancy and improve performance
2 parents 2464e7e + f2d80b6 commit 6002e17

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2507
-1467
lines changed

.cursor/rules/css-style.mdc

Lines changed: 0 additions & 62 deletions
This file was deleted.

.cursor/rules/general-code-style.mdc

Lines changed: 0 additions & 45 deletions
This file was deleted.

.cursor/rules/html-markdown-style.mdc

Lines changed: 0 additions & 44 deletions
This file was deleted.

.cursor/rules/image-guidelines.mdc

Lines changed: 0 additions & 53 deletions
This file was deleted.

.cursor/rules/javascript-style.mdc

Lines changed: 0 additions & 58 deletions
This file was deleted.

.cursor/rules/project-structure.mdc

Lines changed: 0 additions & 29 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@ coverage/
3636
.Spotlight-V100
3737
.Trashes
3838
ehthumbs.db
39-
Thumbs.db
39+
Thumbs.db
40+
# Cursor AI agent configuration
41+
**/.cursor

.jekyllignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.cursor/
2+
.claude/
3+
CLAUDE.md
4+
.gitignore

.markdownlint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"default": true,
3+
"MD001": false,
34
"MD013": false,
45
"MD033": false,
56
"MD041": false,

.stylelintrc.json

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"extends": "stylelint-config-standard",
3+
"ignoreFiles": [
4+
"assets/css/fontello/**/*.css",
5+
"assets/css/academicons.min.css",
6+
"assets/css/academicons-1.7.0/**/*.css"
7+
],
38
"rules": {
4-
"indentation": 2,
5-
"string-quotes": "double",
6-
"color-hex-case": "lower",
7-
"max-empty-lines": 2,
89
"selector-class-pattern": null,
910
"selector-id-pattern": null,
1011
"custom-property-pattern": null,
@@ -17,11 +18,38 @@
1718
"Libre Baskerville",
1819
"Open Sans",
1920
"FontAwesome",
20-
"Academicons"
21+
"Academicons",
22+
"fontello"
2123
]
2224
}
2325
],
2426
"no-descending-specificity": null,
25-
"function-url-quotes": "always"
27+
"function-url-quotes": "always",
28+
"color-function-notation": "legacy",
29+
"alpha-value-notation": "number",
30+
"media-feature-range-notation": "prefix",
31+
"selector-pseudo-element-colon-notation": "single",
32+
"color-hex-length": "short",
33+
"number-max-precision": 8,
34+
"declaration-block-single-line-max-declarations": 10,
35+
"rule-empty-line-before": [
36+
"always",
37+
{
38+
"except": ["after-single-line-comment", "first-nested"],
39+
"ignore": ["after-comment"]
40+
}
41+
],
42+
"comment-empty-line-before": null,
43+
"property-no-vendor-prefix": null,
44+
"keyframes-name-pattern": null,
45+
"selector-type-no-unknown": [
46+
true,
47+
{
48+
"ignoreTypes": ["tags", "bsky-embed"]
49+
}
50+
],
51+
"shorthand-property-no-redundant-values": null,
52+
"no-duplicate-selectors": null,
53+
"font-family-name-quotes": null
2654
}
2755
}

0 commit comments

Comments
 (0)