From 4aabd2d0d6c707eaf0867776482a71f003fd7976 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sat, 14 May 2022 23:37:51 +0200 Subject: test: tests for infrastructure/electron in main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristóf Marussy --- .eslintrc.cjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to '.eslintrc.cjs') diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 289d374..3d944e4 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -85,7 +85,12 @@ module.exports = { files: ['**/stores/**/*.ts'], rules: { // In a mobx-state-tree action, we assign to the properties of `self` to update the store. - 'no-param-reassign': 'off', + 'no-param-reassign': [ + 'error', + { + props: false, + }, + ], // mobx-state-tree uses empty interfaces to speed up typechecking. '@typescript-eslint/no-empty-interface': 'off', }, -- cgit v1.2.3-70-g09d2