mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 04:32:16 -05:00
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:
parent
2e20924143
commit
de91a0aeb2
2 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
env:
|
||||
browser: true
|
||||
es6: true
|
||||
jest: true
|
||||
|
||||
###############
|
||||
# Global Vars #
|
||||
|
|
Loading…
Reference in a new issue