aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Zelent <marcin@zelent.net>2022-11-16 15:16:38 +0100
committerMarcin Zelent <marcin@zelent.net>2022-11-16 15:16:38 +0100
commitf2ecc1803f3ea294a0c6b7915b61348ed0395b26 (patch)
treee8c6fb1350ae4f659b3f9ef8d17157158b974b16 /.eslintrc.json
parentefb64f24d6200a39870c0e8966ab4f87e07c93a9 (diff)
Remade and extended the app using React
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json72
1 files changed, 21 insertions, 51 deletions
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"
+ ]
+}