fix == and != to === and !==, add check to eslint

This commit is contained in:
2026-06-10 16:49:47 +00:00
parent 132e25b7f2
commit 13ef5fce09
6 changed files with 16 additions and 15 deletions
+5 -4
View File
@@ -16,16 +16,17 @@ export default defineConfig([{
},
rules: {
"no-tabs": ["error", { allowIndentationTabs: true }],
indent: ["error", "tab"],
"indent": ["error", "tab"],
"linebreak-style": ["error", "unix"],
quotes: ["error", "double"],
semi: ["error", "always"],
"quotes": ["error", "double"],
"semi": ["error", "always"],
"brace-style": ["error", "stroustrup", { allowSingleLine: false }],
"no-unused-vars": ["warn", {
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}],
"prefer-const": ["error"]
"prefer-const": ["error"],
"eqeqeq": ["error"]
}
}]);