From 07363b0601f108b7154fe371e759b0cc3bc1675d Mon Sep 17 00:00:00 2001 From: alexandermendes Date: Tue, 17 Sep 2024 22:50:05 +0100 Subject: [PATCH] style: update eslint config --- .eslintrc.json | 54 +------------------------------------------------- 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index 4564a47..c0452fb 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,55 +1,3 @@ { - "parser": "@typescript-eslint/parser", - "extends": [ - "airbnb-base", - "plugin:jest-formatting/strict", - "plugin:jest/recommended", - "plugin:jest/style", - "plugin:prettier/recommended" - ], - "plugins": [ - "@typescript-eslint", - "jest", - "jest-formatting", - "json" - ], - "env": { - "node": true, - "jest/globals": true - }, - "globals": { - "PromiseFulfilledResult": "readonly" - }, - "settings": { - "import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] }, - "import/resolver": { "typescript": {} } - }, - "rules": { - "import/prefer-default-export": "off", - "import/no-extraneous-dependencies": "off", - "import/extensions": "off", - "global-require": "off", - "import/no-dynamic-require": "off", - "no-unused-vars": "off", - "@typescript-eslint/no-unused-vars": ["error"], - "@typescript-eslint/no-non-null-assertion": "error", - "class-methods-use-this": "off", - "indent": "off", - "max-classes-per-file": "off", - "no-underscore-dangle": "off", - "no-shadow": "off", - "@typescript-eslint/no-shadow": ["error"], - "no-console": "off", - "no-param-reassign": "off", - "consistent-return": "off", - "padding-line-between-statements": [ - "error", - { "blankLine": "always", "prev": ["*"], "next": ["block-like", "return", "class"] }, - { "blankLine": "always", "prev": ["block-like", "return", "class"], "next": ["*"] } - ], - "jest/consistent-test-it": ["error", { "fn": "it" }], - "jest/prefer-lowercase-title": ["error", { "ignore": ["describe"] }], - "jest/require-top-level-describe": "error", - "jest/no-standalone-expect": "off" - } + "extends": "@aurora-is-near/eslint-config" }