We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
lint-staged
1 parent 7226765 commit cc7d0dbCopy full SHA for cc7d0db
1 file changed
package.json
@@ -42,9 +42,18 @@
42
"automated": "git fetch origin main && git reset --hard origin/main && git pull && npm i && npm run all && python3 scripts/upload.py"
43
},
44
"lint-staged": {
45
- "*.js": "eslint --cache --fix",
46
- "*.css": "stylelint **/docs/*.css --ignore-pattern **/docs/fonts/ --fix",
47
- "*": "prettier --ignore-unknown --write"
+ "!(*.css|*.md)": [
+ "eslint --fix",
+ "prettier --write --ignore-unknown"
48
+ ],
49
+ "*.css": [
50
+ "stylelint **/docs/*.css --ignore-pattern **/docs/fonts/ --fix",
51
+ "prettier --write"
52
53
+ "*.md": [
54
+ "markdownlint --ignore node_modules --fix",
55
56
+ ]
57
58
"dependencies": {
59
"marked": "^15.0.8",
0 commit comments