update configs

This commit is contained in:
2026-04-29 21:34:09 +00:00
parent 4f9d19eb39
commit 0692c1b96c
5 changed files with 7 additions and 15 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"extends": [
"html-validate:recommended"
],
"rules": {
"no-inline-style": "off"
},
"elements": [
"html5",
{
"head": {
"requiredContent": []
}
}
]
}
+6
View File
@@ -0,0 +1,6 @@
{
"extends": [
"stylelint-config-standard"
],
"rules": {}
}
+28
View File
@@ -0,0 +1,28 @@
import { defineConfig } from "eslint/config";
import globals from "globals";
import js from "@eslint/js";
export default defineConfig([js.configs.recommended,{
languageOptions: {
globals: {
...globals.browser,
},
ecmaVersion: "latest",
sourceType: "module",
},
rules: {
"no-tabs": ["error", {
allowIndentationTabs: true,
}],
indent: ["error", "tab"],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
"brace-style": ["error", "stroustrup", { allowSingleLine: false }],
"no-unused-vars": ["warn", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}]
},
}]);