fix == and != to === and !==, add check to eslint
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
}]);
|
||||
|
||||
Reference in New Issue
Block a user