Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thedevs-network/kutt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2021-03-08 20:48:21 +0300
committerynonp <ynonperek@gmail.com>2021-04-06 10:58:22 +0300
commit97ea40cb4530c6fa7416454daafabf6d2f7d62a1 (patch)
tree098f64904420433efd2d5ca65255c662868847e8 /.eslintrc
parentd0c4fba792500b491ca75c4b724a249c95d67bba (diff)
Add Front End Testing:
1. Added JEST test support 2. Upgraded some dependencies (mainly typescript and eslint-typescript) 3. Replaced mocha with jest (as jest works better with TS) 4. Fixed .eslintrc to match the new eslint-typescript version 5. ADD two sample tests (footer.test.tsx and shortener.test.tsx)
Diffstat (limited to '.eslintrc')
-rw-r--r--.eslintrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc b/.eslintrc
index ecdd233..ec3abc9 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -1,7 +1,7 @@
{
"extends": [
"eslint:recommended",
- "plugin:@typescript-eslint/recommended",
+ "plugin:@typescript-eslint/eslint-recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
@@ -14,6 +14,7 @@
"no-useless-return": "warn",
"no-var": "warn",
"no-console": "warn",
+ "no-unused-vars": "off",
"max-len": ["warn", { "comments": 80 }],
"no-param-reassign": 0,
"require-atomic-updates": 0,