From 488e11eddc669d99ce5ed5e9cc001c8b66be0dbc Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 16 Nov 2024 12:59:42 +0100 Subject: [PATCH] eslint: add extra rules --- eslint.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eslint.config.js b/eslint.config.js index d25ca6a..17323e8 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -26,8 +26,11 @@ export default [ "eqeqeq": "error", "no-invalid-this": "error", "prefer-arrow-callback": "error", + "require-atomic-updates": "error", "no-implicit-coercion": "warn", "object-shorthand": "warn", + //"sort-imports": ["warn", { ignoreMemberSort: true, allowSeparatedGroups: true }], + //"func-style": ["warn", "declaration"], "@stylistic/js/indent": ["warn", "tab"], "@stylistic/js/quotes": ["warn", "double"], "@stylistic/js/semi": "warn",