add eslint

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 483c03cebe
commit 313dee2a26
6 changed files with 55 additions and 19 deletions

13
.eslintrc.json Normal file
View File

@@ -0,0 +1,13 @@
{
"extends": "google",
"parserOptions": {
"ecmaVersion": 7,
"sourceType": "module"
},
"rules": {
"require-jsdoc": "off",
"arrow-parens": "off",
"object-curly-spacing": "off"
},
"plugins": ["html"]
}