aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-09-19 12:48:23 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-09-19 12:48:23 +0800
commitc2de5f11c1f47b528e346bc75ef6c60c355258fe (patch)
treec362197f5a5a9db7f8ab3100ebea53976596e7b0
parentdf2ea92b415f28a7279643e230b6138f1e2961e2 (diff)
test: add style lint
-rw-r--r--.stylelintrc.json6
-rw-r--r--package.json4
2 files changed, 9 insertions, 1 deletions
diff --git a/.stylelintrc.json b/.stylelintrc.json
new file mode 100644
index 0000000..6094e04
--- /dev/null
+++ b/.stylelintrc.json
@@ -0,0 +1,6 @@
1{
2 "extends": ["stylelint-config-standard"],
3 "rules": {
4 "selector-class-pattern": null
5 }
6}
diff --git a/package.json b/package.json
index 34729d1..4c2911b 100644
--- a/package.json
+++ b/package.json
@@ -39,7 +39,9 @@
39 "eslint-plugin-node": "^11.1.0", 39 "eslint-plugin-node": "^11.1.0",
40 "eslint-plugin-promise": "^7.1.0", 40 "eslint-plugin-promise": "^7.1.0",
41 "globals": "^15.9.0", 41 "globals": "^15.9.0",
42 "rollup": "^4.21.3" 42 "rollup": "^4.21.3",
43 "stylelint": "^16.9.0",
44 "stylelint-config-standard": "^36.0.1"
43 }, 45 },
44 "dependencies": { 46 "dependencies": {
45 "easymde": "^2.18.0", 47 "easymde": "^2.18.0",