diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-03-08 20:48:21 +0300 |
---|---|---|
committer | ynonp <ynonperek@gmail.com> | 2021-04-06 10:58:22 +0300 |
commit | 97ea40cb4530c6fa7416454daafabf6d2f7d62a1 (patch) | |
tree | 098f64904420433efd2d5ca65255c662868847e8 /.eslintrc | |
parent | d0c4fba792500b491ca75c4b724a249c95d67bba (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-- | .eslintrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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, |