Add Jest Eslint plugin

- This plugin will help Eslint not mark Jest keywords (describe, it, etc.) as errors.
- Added jest: true to eslintrc
- Added eslint-plugin-jest to npm install seciton in Dockerfile
This commit is contained in:
Froilan Irizarry 2019-12-05 15:12:52 -05:00
parent 2e20924143
commit de91a0aeb2
No known key found for this signature in database
GPG key ID: 14AA0081C76B6259
2 changed files with 2 additions and 0 deletions

View file

@ -46,6 +46,7 @@ RUN npm -g --no-cache install \
babel-eslint \
@typescript-eslint/eslint-plugin \
@typescript-eslint/parser \
eslint-plugin-jest \
&& npm --no-cache install \
markdownlint-cli \
jsonlint prettyjson \

View file

@ -12,6 +12,7 @@
env:
browser: true
es6: true
jest: true
###############
# Global Vars #