From 910fc4a88139dd5961fbf7ca28a3bf757a828a1a Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 7 Apr 2022 12:57:53 -0400 Subject: [PATCH] chore(striker-ui): allow param-reassign on object props --- striker-ui/.eslintrc.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/striker-ui/.eslintrc.json b/striker-ui/.eslintrc.json index 78623940..0aaec8da 100644 --- a/striker-ui/.eslintrc.json +++ b/striker-ui/.eslintrc.json @@ -45,6 +45,8 @@ "tsx": "never" } ], + "camelcase": "off", + "no-param-reassign": ["error", { "props": false }], // Allow JSX in files with other extensions "react/jsx-filename-extension": [1, { "extensions": [".tsx"] }], // Use TypeScript's types for component props @@ -52,9 +54,8 @@ // Importing React is not required in Next.js "react/react-in-jsx-scope": "off", "react/jsx-curly-newline": "off", - "camelcase": "off", - "@typescript-eslint/camelcase": "off", - "@next/next/no-img-element": "off" + "@next/next/no-img-element": "off", + "@typescript-eslint/camelcase": "off" }, "settings": { "react": { "version": "detect" }