From f2ecc1803f3ea294a0c6b7915b61348ed0395b26 Mon Sep 17 00:00:00 2001 From: Marcin Zelent Date: Wed, 16 Nov 2022 15:16:38 +0100 Subject: Remade and extended the app using React --- .eslintrc.json | 72 +++++++++++++++++----------------------------------------- 1 file changed, 21 insertions(+), 51 deletions(-) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index b8d8c34..f177a00 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,51 +1,21 @@ -{ - "extends": [ - "airbnb", - "plugin:@typescript-eslint/recommended", - "plugin:@typescript-eslint/eslint-recommended", - "prettier/react", - "plugin:prettier/recommended", - "prettier/@typescript-eslint", - "plugin:import/errors", - "plugin:import/warnings", - "plugin:import/typescript" - ], - "plugins": ["@typescript-eslint"], - "parser": "@typescript-eslint/parser", - "env": { "browser": true, "node": true, "es6": true }, - "parserOptions": { - "sourceType": "module" - }, - "rules": { - "prettier/prettier": "error", - "react/prop-types": "off", - "jsx-a11y/anchor-is-valid": "off", - "react/react-in-jsx-scope": "off", - "react/jsx-filename-extension": [ - "error", - { - "extensions": [".js", ".jsx", ".ts", ".tsx"] - } - ], - "import/extensions": [ - "error", - "ignorePackages", - { - "js": "never", - "jsx": "never", - "ts": "never", - "tsx": "never", - "d.ts": "never" - } - ] - }, - "settings": { - "import/extensions": [".js", ".jsx", ".ts", ".tsx", ".d.ts"], - "import/parsers": { - "@typescript-eslint/parser": [".ts", ".tsx", ".d.ts"] - }, - "import/resolver": { - "typescript": {} - } - } -} +{ + "env": { + "browser": true, + "es2021": true + }, + "extends": [ + "plugin:react/recommended", + "standard-with-typescript", + "prettier" + ], + "overrides": [ + ], + "parserOptions": { + "ecmaVersion": "latest", + "sourceType": "module", + "project": ["./tsconfig.json"] + }, + "plugins": [ + "react" + ] +} -- cgit v1.2.3