From 83f4fc8ab07a7f4cd3bba8042d600d7a4543bcaf Mon Sep 17 00:00:00 2001 From: crupest Date: Sun, 23 Oct 2022 23:53:15 +0800 Subject: It's been a long time not developing this. Still need some time to get it work again. --- FrontEnd/.eslintrc.js | 45 --------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 FrontEnd/.eslintrc.js (limited to 'FrontEnd/.eslintrc.js') diff --git a/FrontEnd/.eslintrc.js b/FrontEnd/.eslintrc.js deleted file mode 100644 index 93b98978..00000000 --- a/FrontEnd/.eslintrc.js +++ /dev/null @@ -1,45 +0,0 @@ -module.exports = { - env: { - browser: true, - es2020: true, - }, - extends: [ - "eslint:recommended", - "plugin:react/recommended", - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/recommended-requiring-type-checking", - "plugin:prettier/recommended", - "plugin:react-hooks/recommended", - ], - globals: { - Atomics: "readonly", - SharedArrayBuffer: "readonly", - }, - parser: "@typescript-eslint/parser", - parserOptions: { - project: ["./tsconfig.json"], - ecmaFeatures: { - jsx: true, - }, - sourceType: "module", - }, - plugins: ["react", "@typescript-eslint", "react-hooks"], - settings: { - react: { - version: "detect", - }, - }, - rules: { - "react/prop-types": "off", - "@typescript-eslint/no-unused-vars": ["warn", { argsIgnorePattern: "^_" }], - "@typescript-eslint/explicit-function-return-type": [ - "warn", - { - allowExpressions: true, - allowTypedFunctionExpressions: true, - allowHigherOrderFunctions: true, - }, - ], - }, -}; -- cgit v1.2.3